TBossFullEvent Class Reference

#include <TBossFullEvent.h>

List of all members.

Public Member Functions

 TBossFullEvent ()
virtual ~TBossFullEvent ()
void Print (Option_t *option="") const
void copy (TBossFullEvent *obj)
void reset ()
void setEvtHeader (TEvtHeader *obj)
void setDigiEvent (TDigiEvent *obj)
void setDstEvent (TDstEvent *obj)
void setMcEvent (TMcEvent *obj)
void setTrigEvent (TTrigEvent *obj)
void setHltEvent (THltEvent *obj)
void setRecTrackEvent (TRecTrackEvent *obj)
void setEvtRecObject (TEvtRecObject *obj)
TEvtHeadergetEvtHeader ()
TDigiEventgetDigiEvent ()
TDstEventgetDstEvent ()
TMcEventgetMcEvent ()
TTrigEventgetTrigEvent ()
THltEventgetHltEvent ()
TRecTrackEventgetRecTrackEvent ()
TEvtRecObjectgetEvtRecObject ()

Public Attributes

TEvtHeaderm_EvtHeader
TDigiEventm_digiEvt
TDstEventm_dstEvt
TMcEventm_mcEvt
TTrigEventm_trigEvt
THltEventm_hltEvt
TRecTrackEventm_rectrackEvt
TEvtRecObjectm_evtRecObject

Private Types

 hasEvtHeader = 1<<0
 hasDigiEvent = 1<<1
 hasDstEvent = 1<<2
 hasMcEvent = 1<<3
 hasTrigEvent = 1<<4
 hasHltEvent = 1<<5
 hasRecTrackEvent = 1<<6
 hasEvtRecObject = 1<<7
enum  {
  hasEvtHeader = 1<<0, hasDigiEvent = 1<<1, hasDstEvent = 1<<2, hasMcEvent = 1<<3,
  hasTrigEvent = 1<<4, hasHltEvent = 1<<5, hasRecTrackEvent = 1<<6, hasEvtRecObject = 1<<7
}

Private Attributes

UInt_t m_mask


Detailed Description

Definition at line 14 of file TBossFullEvent.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
hasEvtHeader 
hasDigiEvent 
hasDstEvent 
hasMcEvent 
hasTrigEvent 
hasHltEvent 
hasRecTrackEvent 
hasEvtRecObject 

Definition at line 96 of file TBossFullEvent.h.

00096            {
00097          hasEvtHeader     = 1<<0,
00098          hasDigiEvent     = 1<<1,
00099          hasDstEvent      = 1<<2,
00100          hasMcEvent       = 1<<3,
00101          hasTrigEvent     = 1<<4,
00102          hasHltEvent      = 1<<5,
00103          hasRecTrackEvent = 1<<6,
00104          hasEvtRecObject  = 1<<7
00105       };


Constructor & Destructor Documentation

TBossFullEvent::TBossFullEvent (  ) 

Referenced by G__RootEventData_rootcint_563_0_33().

TBossFullEvent::~TBossFullEvent (  )  [virtual]

Definition at line 25 of file TBossFullEvent.cxx.

References m_digiEvt, m_dstEvt, m_EvtHeader, m_evtRecObject, m_hltEvt, m_mcEvt, m_rectrackEvt, m_trigEvt, and SafeDeleteObject.


Member Function Documentation

void TBossFullEvent::copy ( TBossFullEvent obj  ) 

Definition at line 60 of file TBossFullEvent.cxx.

References m_digiEvt, m_dstEvt, m_EvtHeader, m_evtRecObject, m_hltEvt, m_mask, m_mcEvt, m_rectrackEvt, and m_trigEvt.

Referenced by G__RootEventData_rootcint_563_0_3(), and RootFileWriter::writeEvent().

00061 {
00062    m_mask          = obj->m_mask;
00063    m_EvtHeader     = obj->m_EvtHeader;
00064    m_digiEvt       = obj->m_digiEvt;
00065    m_dstEvt        = obj->m_dstEvt;
00066    m_mcEvt         = obj->m_mcEvt;
00067    m_trigEvt       = obj->m_trigEvt;
00068    m_hltEvt        = obj->m_hltEvt;
00069    m_rectrackEvt   = obj->m_rectrackEvt;
00070    m_evtRecObject  = obj->m_evtRecObject;
00071 }

TDigiEvent* TBossFullEvent::getDigiEvent (  )  [inline]

Definition at line 85 of file TBossFullEvent.h.

References m_digiEvt.

Referenced by G__RootEventData_rootcint_563_0_14().

00085 { return m_digiEvt; }

TDstEvent* TBossFullEvent::getDstEvent (  )  [inline]

Definition at line 86 of file TBossFullEvent.h.

References m_dstEvt.

Referenced by G__RootEventData_rootcint_563_0_15().

00086 { return m_dstEvt; }

TEvtHeader* TBossFullEvent::getEvtHeader (  )  [inline]

Definition at line 84 of file TBossFullEvent.h.

References m_EvtHeader.

Referenced by G__RootEventData_rootcint_563_0_13().

00084 { return m_EvtHeader; }

TEvtRecObject* TBossFullEvent::getEvtRecObject (  )  [inline]

Definition at line 91 of file TBossFullEvent.h.

References m_evtRecObject.

Referenced by G__RootEventData_rootcint_563_0_20().

00091 { return m_evtRecObject; }

THltEvent* TBossFullEvent::getHltEvent (  )  [inline]

Definition at line 89 of file TBossFullEvent.h.

References m_hltEvt.

Referenced by G__RootEventData_rootcint_563_0_18().

00089 { return m_hltEvt; }

TMcEvent* TBossFullEvent::getMcEvent (  )  [inline]

Definition at line 87 of file TBossFullEvent.h.

References m_mcEvt.

Referenced by G__RootEventData_rootcint_563_0_16().

00087 { return m_mcEvt; }

TRecTrackEvent* TBossFullEvent::getRecTrackEvent (  )  [inline]

Definition at line 90 of file TBossFullEvent.h.

References m_rectrackEvt.

Referenced by G__RootEventData_rootcint_563_0_19().

00090 { return m_rectrackEvt; }

TTrigEvent* TBossFullEvent::getTrigEvent (  )  [inline]

Definition at line 88 of file TBossFullEvent.h.

References m_trigEvt.

Referenced by G__RootEventData_rootcint_563_0_17().

00088 { return m_trigEvt; }

void TBossFullEvent::Print ( Option_t *  option = ""  )  const

Definition at line 42 of file TBossFullEvent.cxx.

References m_digiEvt, m_dstEvt, m_EvtHeader, m_evtRecObject, m_hltEvt, m_mask, m_mcEvt, m_rectrackEvt, m_trigEvt, and SafePrintObject.

00043 {
00044    std::cout << "=============================================" << std::endl
00045              << "TBossFullEvent mask: 0x" << std::hex << m_mask << std::dec << std::endl
00046              << "---------------------------------------------" << std::endl;
00047 
00048    SafePrintObject(EvtHeader,     m_EvtHeader);
00049    SafePrintObject(DigiEvent,     m_digiEvt);
00050    SafePrintObject(DstEvent,      m_dstEvt);
00051    SafePrintObject(McEvent,       m_mcEvt);
00052    SafePrintObject(TrigEvent,     m_trigEvt);
00053    SafePrintObject(HltEvent,      m_hltEvt);
00054    SafePrintObject(RecTrackEvent, m_rectrackEvt);
00055    SafePrintObject(EvtRecObject,  m_evtRecObject);
00056 
00057    std::cout << "=============================================" << std::endl;
00058 }

void TBossFullEvent::reset (  )  [inline]

Definition at line 25 of file TBossFullEvent.h.

References m_mask.

Referenced by EventWriter::execute(), G__RootEventData_rootcint_563_0_4(), and RootFileWriter::writeEvent().

00025 { m_mask = 0; }

void TBossFullEvent::setDigiEvent ( TDigiEvent obj  )  [inline]

Definition at line 34 of file TBossFullEvent.h.

References hasDigiEvent, m_digiEvt, and m_mask.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_6().

00034                                          {
00035          if ( obj != 0 ) {
00036             m_mask |= hasDigiEvent;
00037             m_digiEvt = obj;
00038          }
00039       }

void TBossFullEvent::setDstEvent ( TDstEvent obj  )  [inline]

Definition at line 41 of file TBossFullEvent.h.

References hasDstEvent, m_dstEvt, and m_mask.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_7().

00041                                        {
00042          if ( obj != 0 ) {
00043             m_mask |= hasDstEvent;
00044             m_dstEvt = obj;
00045          }
00046       }

void TBossFullEvent::setEvtHeader ( TEvtHeader obj  )  [inline]

Definition at line 27 of file TBossFullEvent.h.

References hasEvtHeader, m_EvtHeader, and m_mask.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_5().

00027                                          {
00028          if ( obj != 0 ) {
00029             m_mask |= hasEvtHeader;
00030             m_EvtHeader = obj;
00031          }
00032       }

void TBossFullEvent::setEvtRecObject ( TEvtRecObject obj  )  [inline]

Definition at line 76 of file TBossFullEvent.h.

References hasEvtRecObject, m_evtRecObject, and m_mask.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_12().

00076                                                {
00077          if ( obj != 0 ) {
00078             m_mask |= hasEvtRecObject;
00079             m_evtRecObject = obj;
00080          }
00081       }

void TBossFullEvent::setHltEvent ( THltEvent obj  )  [inline]

Definition at line 62 of file TBossFullEvent.h.

References hasHltEvent, m_hltEvt, and m_mask.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_10().

00062                                        {
00063          if ( obj != 0 ) {
00064             m_mask |= hasHltEvent;
00065             m_hltEvt = obj;
00066          }
00067       }

void TBossFullEvent::setMcEvent ( TMcEvent obj  )  [inline]

Definition at line 48 of file TBossFullEvent.h.

References hasMcEvent, m_mask, and m_mcEvt.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_8().

00048                                      {
00049          if ( obj != 0 ) {
00050             m_mask |= hasMcEvent;
00051             m_mcEvt = obj;
00052          }
00053       }

void TBossFullEvent::setRecTrackEvent ( TRecTrackEvent obj  )  [inline]

Definition at line 69 of file TBossFullEvent.h.

References hasRecTrackEvent, m_mask, and m_rectrackEvt.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_11().

00069                                                  {
00070          if ( obj != 0 ) {
00071             m_mask |= hasRecTrackEvent;
00072             m_rectrackEvt = obj;
00073          }
00074       }

void TBossFullEvent::setTrigEvent ( TTrigEvent obj  )  [inline]

Definition at line 55 of file TBossFullEvent.h.

References hasTrigEvent, m_mask, and m_trigEvt.

Referenced by EventWriter::execute(), and G__RootEventData_rootcint_563_0_9().

00055                                          {
00056          if ( obj != 0 ) {
00057             m_mask |= hasTrigEvent;
00058             m_trigEvt = obj;
00059          }
00060       }


Member Data Documentation

TDigiEvent* TBossFullEvent::m_digiEvt

Definition at line 113 of file TBossFullEvent.h.

Referenced by copy(), getDigiEvent(), Print(), setDigiEvent(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

TDstEvent* TBossFullEvent::m_dstEvt

Definition at line 114 of file TBossFullEvent.h.

Referenced by copy(), getDstEvent(), Print(), setDstEvent(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

TEvtHeader* TBossFullEvent::m_EvtHeader

Definition at line 112 of file TBossFullEvent.h.

Referenced by copy(), getEvtHeader(), Print(), setEvtHeader(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

TEvtRecObject* TBossFullEvent::m_evtRecObject

Definition at line 119 of file TBossFullEvent.h.

Referenced by copy(), getEvtRecObject(), Print(), setEvtRecObject(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

THltEvent* TBossFullEvent::m_hltEvt

Definition at line 117 of file TBossFullEvent.h.

Referenced by copy(), getHltEvent(), Print(), setHltEvent(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

UInt_t TBossFullEvent::m_mask [private]

Definition at line 107 of file TBossFullEvent.h.

Referenced by copy(), Print(), reset(), setDigiEvent(), setDstEvent(), setEvtHeader(), setEvtRecObject(), setHltEvent(), setMcEvent(), setRecTrackEvent(), and setTrigEvent().

TMcEvent* TBossFullEvent::m_mcEvt

Definition at line 115 of file TBossFullEvent.h.

Referenced by copy(), getMcEvent(), Print(), setMcEvent(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

TRecTrackEvent* TBossFullEvent::m_rectrackEvt

Definition at line 118 of file TBossFullEvent.h.

Referenced by copy(), getRecTrackEvent(), Print(), setRecTrackEvent(), RootFileWriter::writeEvent(), and ~TBossFullEvent().

TTrigEvent* TBossFullEvent::m_trigEvt

Definition at line 116 of file TBossFullEvent.h.

Referenced by copy(), getTrigEvent(), Print(), setTrigEvent(), RootFileWriter::writeEvent(), and ~TBossFullEvent().


Generated on Tue Nov 29 23:35:57 2016 for BOSS_7.0.2 by  doxygen 1.4.7