CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::EventHeader Class Reference

#include <EventHeader.h>

+ Inheritance diagram for Event::EventHeader:

Public Member Functions

 EventHeader ()
 
virtual ~EventHeader ()
 
virtual const CLID & clID () const
 Retrieve reference to class definition structure.
 
int eventNumber () const
 Retrieve event number.
 
void setEventNumber (int value)
 Update event number.
 
int runNumber () const
 Retrieve run number.
 
void setRunNumber (int value)
 Update run number.
 
unsigned int time () const
 
void setTime (int value)
 
unsigned int eventTag ()
 Retrieve EventTag.
 
void setEventTag (unsigned int value)
 Update EventTag.
 
unsigned int flag1 ()
 Retrieve flags.
 
unsigned int flag2 ()
 
void setFlag1 (unsigned int value)
 Update flags.
 
void setFlag2 (unsigned int value)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 23 of file EventHeader.h.

Constructor & Destructor Documentation

◆ EventHeader()

Event::EventHeader::EventHeader ( )
inline

Definition at line 27 of file EventHeader.h.

28 : DataObject(), m_event(-1), m_run(-1) {}

◆ ~EventHeader()

virtual Event::EventHeader::~EventHeader ( )
inlinevirtual

Definition at line 30 of file EventHeader.h.

30{}

Member Function Documentation

◆ classID()

static const CLID & Event::EventHeader::classID ( )
inlinestatic

Definition at line 34 of file EventHeader.h.

34{ return CLID_EventHeader; }
const CLID & CLID_EventHeader

Referenced by clID().

◆ clID()

virtual const CLID & Event::EventHeader::clID ( ) const
inlinevirtual

Retrieve reference to class definition structure.

Definition at line 33 of file EventHeader.h.

33{ return EventHeader::classID(); }
static const CLID & classID()
Definition EventHeader.h:34

◆ eventNumber()

◆ eventTag()

unsigned int Event::EventHeader::eventTag ( )
inline

Retrieve EventTag.

Definition at line 51 of file EventHeader.h.

51{return m_EventTag; }

Referenced by EvtHeaderCnv::DataObjectToTObject().

◆ flag1()

unsigned int Event::EventHeader::flag1 ( )
inline

Retrieve flags.

Definition at line 56 of file EventHeader.h.

56{ return m_flag1; };

Referenced by EvtHeaderCnv::DataObjectToTObject().

◆ flag2()

unsigned int Event::EventHeader::flag2 ( )
inline

Definition at line 57 of file EventHeader.h.

57{ return m_flag2; };

Referenced by EvtHeaderCnv::DataObjectToTObject().

◆ runNumber()

◆ setEventNumber()

void Event::EventHeader::setEventNumber ( int value)
inline

Update event number.

Definition at line 39 of file EventHeader.h.

39{ m_event = value; }

Referenced by McEventCnv::createObj(), RawDataEvtHeaderCnv::createObj(), and EvtHeaderCnv::TObjectToDataObject().

◆ setEventTag()

void Event::EventHeader::setEventTag ( unsigned int value)
inline

Update EventTag.

Definition at line 53 of file EventHeader.h.

53{ m_EventTag=value;}

Referenced by EvtHeaderCnv::TObjectToDataObject().

◆ setFlag1()

void Event::EventHeader::setFlag1 ( unsigned int value)
inline

Update flags.

Definition at line 59 of file EventHeader.h.

59{ m_flag1 = value; }

Referenced by RawDataEvtHeaderCnv::createObj(), and EvtHeaderCnv::TObjectToDataObject().

◆ setFlag2()

void Event::EventHeader::setFlag2 ( unsigned int value)
inline

Definition at line 60 of file EventHeader.h.

60{ m_flag2 = value; }

Referenced by EvtHeaderCnv::TObjectToDataObject().

◆ setRunNumber()

void Event::EventHeader::setRunNumber ( int value)
inline

Update run number.

Definition at line 44 of file EventHeader.h.

44{ m_run = value; }

Referenced by McEventCnv::createObj(), RawDataEvtHeaderCnv::createObj(), and EvtHeaderCnv::TObjectToDataObject().

◆ setTime()

void Event::EventHeader::setTime ( int value)
inline

Definition at line 48 of file EventHeader.h.

48{ m_time = value; }

Referenced by RawDataEvtHeaderCnv::createObj(), and EvtHeaderCnv::TObjectToDataObject().

◆ time()

unsigned int Event::EventHeader::time ( ) const
inline

Definition at line 46 of file EventHeader.h.

46{ return m_time; }

Referenced by EvtHeaderCnv::DataObjectToTObject().


The documentation for this class was generated from the following file: