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>

List of all members.

DataObject-like clid accessors

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

Public Member Functions

void setTriggerInfo (TriggerInfo *)
structors
 EventInfo ()
 EventInfo (EventID *id, EventType *type)
 EventInfo (EventID *id, EventType *type, TriggerInfo *trig_info)
 EventInfo (const EventInfo &e)
virtual ~EventInfo ()
Event information accessors
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)

Protected Member Functions

void setEventID (EventID *pid)

Private Attributes

EventIDm_event_ID
EventTypem_event_type
TriggerInfom_trigger_info

Friends

class MixingEventSelector


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 EventInfo.h.


Constructor & Destructor Documentation

EventInfo::EventInfo (  ) 

Definition at line 25 of file EventInfo.cxx.

00026     :
00027     m_event_ID    (new EventID(0,0)),
00028     m_event_type  (new EventType()),
00029     m_trigger_info(new TriggerInfo())
00030 {}

EventInfo::EventInfo ( EventID id,
EventType type 
)

Definition at line 32 of file EventInfo.cxx.

00033     :
00034     m_event_ID  (id),
00035     m_event_type(type),
00036     m_trigger_info(0)
00037 {}

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

Definition at line 39 of file EventInfo.cxx.

00040     :
00041     m_event_ID  (id),
00042     m_event_type(type),
00043     m_trigger_info(trig_info)
00044 {}

EventInfo::EventInfo ( const EventInfo e  ) 

Definition at line 47 of file EventInfo.cxx.

00048     :
00049     m_event_ID( e.m_event_ID ?
00050                 new EventID( *(e.m_event_ID) ) :
00051                 new EventID(0,0) ),
00052     m_event_type( e.m_event_type ?
00053                   new EventType( *(e.m_event_type) ):
00054                   new EventType() ),
00055     m_trigger_info( e.m_trigger_info?
00056                     new TriggerInfo(*(e.m_trigger_info) ) :
00057                     new TriggerInfo() )
00058 {}

EventInfo::~EventInfo (  )  [virtual]

Definition at line 61 of file EventInfo.cxx.

References m_event_ID, m_event_type, and m_trigger_info.

00062 {
00063     delete m_event_ID;
00064     delete m_event_type;
00065     delete m_trigger_info;
00066 }


Member Function Documentation

const CLID & EventInfo::classID (  )  [inline, static]

Definition at line 112 of file EventInfo.h.

References CLID_EventInfo.

Referenced by clID().

00113 { 
00114   return CLID_EventInfo; //hxt ClassID_traits<EventInfo>::ID(); 
00115 }

const CLID & EventInfo::clID (  )  const [inline]

Definition at line 98 of file EventInfo.h.

References classID().

00099 { 
00100   return classID(); 
00101 }

EventID * EventInfo::event_ID (  )  const [inline]

the unique identification of the event.

Definition at line 79 of file EventInfo.h.

References m_event_ID.

00080 {
00081     return (m_event_ID);
00082 }

EventType * EventInfo::event_type (  )  const [inline]

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

Definition at line 85 of file EventInfo.h.

References m_event_type.

00086 {
00087     return (m_event_type);
00088 }

void EventInfo::setEventID ( EventID pid  )  [protected]

Definition at line 69 of file EventInfo.cxx.

References m_event_ID, and pid.

00069                                   { 
00070   delete m_event_ID; m_event_ID=pid; 
00071 }

void EventInfo::setTriggerInfo ( TriggerInfo  ) 

Definition at line 75 of file EventInfo.cxx.

References m_trigger_info.

00075                                             {
00076   delete m_trigger_info; m_trigger_info = pTrig;
00077 }

TriggerInfo * EventInfo::trigger_info (  )  const [inline]

trigger information (ptr may be NULL)

Definition at line 91 of file EventInfo.h.

References m_trigger_info.

00092 {
00093     return (m_trigger_info);
00094 }


Friends And Related Function Documentation

friend class MixingEventSelector [friend]

Definition at line 64 of file EventInfo.h.


Member Data Documentation

EventID* EventInfo::m_event_ID [private]

Definition at line 68 of file EventInfo.h.

Referenced by event_ID(), setEventID(), and ~EventInfo().

EventType* EventInfo::m_event_type [private]

Definition at line 69 of file EventInfo.h.

Referenced by event_type(), and ~EventInfo().

TriggerInfo* EventInfo::m_trigger_info [private]

Definition at line 70 of file EventInfo.h.

Referenced by setTriggerInfo(), trigger_info(), and ~EventInfo().


Generated on Tue Nov 29 23:18:49 2016 for BOSS_7.0.2 by  doxygen 1.4.7