BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EventInfo Class Reference

This class provides general information about an event. It extends EventInfo with a list of sub-evts (the original and the bkg ones). More...

#include <EventInfo.h>

Public Member Functions

structors
 EventInfo ()
 EventInfo (EventID *id, EventType *type)
 EventInfo (EventID *id, EventType *type, TriggerInfo *trig_info)
 EventInfo (const EventInfo &e)
virtual ~EventInfo ()

Event information accessors

class MixingEventSelector
EventIDevent_ID () const
 the unique identification of the event.
EventTypeevent_type () const
 the type of the event, e.g. simulation, testbeam, etc
TriggerInfotrigger_info () const
 trigger information (ptr may be NULL)
void setTriggerInfo (TriggerInfo *)
void setEventID (EventID *pid)

DataObject-like clid accessors

const CLID & clID () const
static const CLID & classID ()

Detailed Description

This class provides general information about an event. It extends EventInfo with a list of sub-evts (the original and the bkg ones).

Author
ATLAS Collaboration
Id
EventInfo.h,v 1.1.1.1 2007/04/25 11:46:57 zoujh Exp

Definition at line 33 of file EventInfo.h.

Constructor & Destructor Documentation

◆ EventInfo() [1/4]

EventInfo::EventInfo ( )

Definition at line 24 of file EventInfo.cxx.

25 : m_event_ID( new EventID( 0, 0 ) )
26 , m_event_type( new EventType() )
27 , m_trigger_info( new TriggerInfo() ) {}

Referenced by EventInfo().

◆ EventInfo() [2/4]

EventInfo::EventInfo ( EventID * id,
EventType * type )

Definition at line 29 of file EventInfo.cxx.

30 : m_event_ID( id ), m_event_type( type ), m_trigger_info( 0 ) {}

◆ EventInfo() [3/4]

EventInfo::EventInfo ( EventID * id,
EventType * type,
TriggerInfo * trig_info )

Definition at line 32 of file EventInfo.cxx.

33 : m_event_ID( id ), m_event_type( type ), m_trigger_info( trig_info ) {}

◆ EventInfo() [4/4]

EventInfo::EventInfo ( const EventInfo & e)

Definition at line 35 of file EventInfo.cxx.

36 : m_event_ID( e.m_event_ID ? new EventID( *( e.m_event_ID ) ) : new EventID( 0, 0 ) )
37 , m_event_type( e.m_event_type ? new EventType( *( e.m_event_type ) ) : new EventType() )
38 , m_trigger_info( e.m_trigger_info ? new TriggerInfo( *( e.m_trigger_info ) )
39 : new TriggerInfo() ) {}

◆ ~EventInfo()

EventInfo::~EventInfo ( )
virtual

Definition at line 41 of file EventInfo.cxx.

41 {
42 delete m_event_ID;
43 delete m_event_type;
44 delete m_trigger_info;
45}

Member Function Documentation

◆ classID()

const CLID & EventInfo::classID ( )
inlinestatic

Definition at line 89 of file EventInfo.h.

89 {
90 return CLID_EventInfo; // hxt ClassID_traits<EventInfo>::ID();
91}
const CLID & CLID_EventInfo

Referenced by clID().

◆ clID()

const CLID & EventInfo::clID ( ) const
inline

Definition at line 80 of file EventInfo.h.

80{ return classID(); }
static const CLID & classID()
Definition EventInfo.h:89

◆ event_ID()

EventID * EventInfo::event_ID ( ) const
inline

the unique identification of the event.

Definition at line 74 of file EventInfo.h.

74{ return ( m_event_ID ); }

◆ event_type()

EventType * EventInfo::event_type ( ) const
inline

the type of the event, e.g. simulation, testbeam, etc

Definition at line 76 of file EventInfo.h.

76{ return ( m_event_type ); }

◆ setEventID()

void EventInfo::setEventID ( EventID * pid)
protected

Definition at line 47 of file EventInfo.cxx.

47 {
48 delete m_event_ID;
49 m_event_ID = pid;
50}

◆ setTriggerInfo()

void EventInfo::setTriggerInfo ( TriggerInfo * pTrig)

Definition at line 52 of file EventInfo.cxx.

52 {
53 delete m_trigger_info;
54 m_trigger_info = pTrig;
55}

◆ trigger_info()

TriggerInfo * EventInfo::trigger_info ( ) const
inline

trigger information (ptr may be NULL)

Definition at line 78 of file EventInfo.h.

78{ return ( m_trigger_info ); }

◆ MixingEventSelector

friend class MixingEventSelector
friend

Definition at line 62 of file EventInfo.h.

Referenced by MixingEventSelector.


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