class THaEventHeader


 THaEvent

 This is the base class for "event" objects, which define the
 structure of the event data to be written to the output DST
 via ROOT object I/O.

 Any derived class must implement at least the following:

  - Define all member variables that are to appear in the output
    for each event (a la ntuple).
  - Set up the fDataMap array to link these member variables to
    global analyzer variables.

 Data members can be simple types (Double_t etc.) and any ROOT objects
 capable of object I/O (i.e. with a valid Streamer() class).
 For any data members other than simple types defined in fDataMap,
 the Fill() method has to be extended accordingly.


Function Members (Methods)

public:
THaEventHeader()
THaEventHeader(const THaEventHeader&)
virtual~THaEventHeader()
static TClass*Class()
Int_tGetEvtLen() const
UInt_tGetEvtNum() const
ULong64_tGetEvtTime() const
Int_tGetEvtType() const
Int_tGetHelicity() const
Int_tGetRun() const
Int_tGetTargetPol() const
virtual TClass*IsA() const
THaEventHeader&operator=(const THaEventHeader&)
voidSet(UInt_t num, Int_t type, Int_t len, Double_t time, Int_t hel, Int_t run)
voidSet(UInt_t num, Int_t type, Int_t len, ULong64_t time, Int_t hel, Int_t pol, Int_t run)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
Int_tfEvtLenEvent length
UInt_tfEvtNumEvent number
ULong64_tfEvtTimeEvent time stamp
Int_tfEvtTypeEvent type
Int_tfHelicityBeam helicity
Int_tfRunRun number
Int_tfTargetPolTarget polarization

Class Charts

Inheritance Chart:
THaEventHeader

Function documentation

THaEventHeader(const THaEventHeader& )
{}
virtual ~THaEventHeader()
{}
void Set(UInt_t num, Int_t type, Int_t len, ULong64_t time, Int_t hel, Int_t pol, Int_t run)
void Set(UInt_t num, Int_t type, Int_t len, Double_t time, Int_t hel, Int_t run)
 Old Set() for backwards compatibility
UInt_t GetEvtNum()
{ return fEvtNum; }
Int_t GetEvtType()
{ return fEvtType; }
Int_t GetEvtLen()
{ return fEvtLen; }
ULong64_t GetEvtTime()
{ return fEvtTime; }
Int_t GetHelicity()
{ return fHelicity; }
Int_t GetTargetPol()
{ return fTargetPol; }
Int_t GetRun()
{ return fRun; }

Last change: Sat Nov 7 21:26:46 2009
Last generated: 2009-11-07 21:26

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.