BOSS 7.0.5
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 ()
 
 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 *)
 
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)
 
void setEventID (EventID *pid)
 

DataObject-like clid accessors

const CLID & clID () const
 
const CLID & clID () const
 
static const CLID & classID ()
 
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 34 of file EventFilter/HltUtilities/HltDataTypes/HltDataTypes-01-01-03/HltDataTypes/EventInfo.h.

Constructor & Destructor Documentation

◆ EventInfo() [1/8]

◆ EventInfo() [2/8]

EventInfo::EventInfo ( EventID id,
EventType type 
)

Definition at line 32 of file EventInfo.cxx.

33 :
34 m_event_ID (id),
35 m_event_type(type),
36 m_trigger_info(0)
37{}

◆ EventInfo() [3/8]

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

Definition at line 39 of file EventInfo.cxx.

40 :
41 m_event_ID (id),
42 m_event_type(type),
43 m_trigger_info(trig_info)
44{}

◆ EventInfo() [4/8]

EventInfo::EventInfo ( const EventInfo e)

Definition at line 47 of file EventInfo.cxx.

48 :
49 m_event_ID( e.m_event_ID ?
50 new EventID( *(e.m_event_ID) ) :
51 new EventID(0,0) ),
52 m_event_type( e.m_event_type ?
53 new EventType( *(e.m_event_type) ):
54 new EventType() ),
55 m_trigger_info( e.m_trigger_info?
56 new TriggerInfo(*(e.m_trigger_info) ) :
57 new TriggerInfo() )
58{}

◆ ~EventInfo() [1/2]

EventInfo::~EventInfo ( )
virtual

Definition at line 61 of file EventInfo.cxx.

62{
63 delete m_event_ID;
64 delete m_event_type;
65 delete m_trigger_info;
66}

◆ EventInfo() [5/8]

EventInfo::EventInfo ( )

◆ EventInfo() [6/8]

EventInfo::EventInfo ( EventID id,
EventType type 
)

◆ EventInfo() [7/8]

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

◆ EventInfo() [8/8]

EventInfo::EventInfo ( const EventInfo e)

◆ ~EventInfo() [2/2]

virtual EventInfo::~EventInfo ( )
virtual

Member Function Documentation

◆ classID() [1/2]

const CLID & EventInfo::classID ( )
inlinestatic

Definition at line 112 of file EventFilter/HltUtilities/HltDataTypes/HltDataTypes-01-01-03/HltDataTypes/EventInfo.h.

113{
114 return CLID_EventInfo; //hxt ClassID_traits<EventInfo>::ID();
115}
const CLID & CLID_EventInfo

Referenced by clID().

◆ classID() [2/2]

static const CLID & EventInfo::classID ( )
static

◆ clID() [1/2]

const CLID & EventInfo::clID ( ) const
inline

◆ clID() [2/2]

const CLID & EventInfo::clID ( ) const

◆ event_ID() [1/2]

EventID * EventInfo::event_ID ( ) const
inline

the unique identification of the event.

Definition at line 79 of file EventFilter/HltUtilities/HltDataTypes/HltDataTypes-01-01-03/HltDataTypes/EventInfo.h.

80{
81 return (m_event_ID);
82}

◆ event_ID() [2/2]

EventID * EventInfo::event_ID ( ) const

the unique identification of the event.

◆ event_type() [1/2]

EventType * EventInfo::event_type ( ) const
inline

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

Definition at line 85 of file EventFilter/HltUtilities/HltDataTypes/HltDataTypes-01-01-03/HltDataTypes/EventInfo.h.

86{
87 return (m_event_type);
88}

◆ event_type() [2/2]

EventType * EventInfo::event_type ( ) const

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

◆ setEventID() [1/2]

void EventInfo::setEventID ( EventID pid)
protected

Definition at line 69 of file EventInfo.cxx.

69 {
70 delete m_event_ID; m_event_ID=pid;
71}

◆ setEventID() [2/2]

void EventInfo::setEventID ( EventID pid)
protected

◆ setTriggerInfo() [1/2]

void EventInfo::setTriggerInfo ( TriggerInfo pTrig)

Definition at line 75 of file EventInfo.cxx.

75 {
76 delete m_trigger_info; m_trigger_info = pTrig;
77}

◆ setTriggerInfo() [2/2]

void EventInfo::setTriggerInfo ( TriggerInfo )

◆ trigger_info() [1/2]

TriggerInfo * EventInfo::trigger_info ( ) const
inline

trigger information (ptr may be NULL)

Definition at line 91 of file EventFilter/HltUtilities/HltDataTypes/HltDataTypes-01-01-03/HltDataTypes/EventInfo.h.

92{
93 return (m_trigger_info);
94}

◆ trigger_info() [2/2]

TriggerInfo * EventInfo::trigger_info ( ) const

trigger information (ptr may be NULL)

Friends And Related Function Documentation

◆ MixingEventSelector

MixingEventSelector
friend

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