BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EventInfo.cxx
Go to the documentation of this file.
1/***************************************************************************
2 Event Info Package
3 -----------------------------------------
4 Copyright (C) 2000 by ATLAS Collaboration
5 ***************************************************************************/
6
7
8//<<<<<< INCLUDES >>>>>>
9
14
15//<<<<<< PRIVATE DEFINES >>>>>>
16//<<<<<< PRIVATE CONSTANTS >>>>>>
17//<<<<<< PRIVATE TYPES >>>>>>
18//<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>>
19//<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>>
20//<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>>
21//<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>>
22//<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>>
23//<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>>
24
26 :
27 m_event_ID (new EventID(0,0)),
28 m_event_type (new EventType()),
29 m_trigger_info(new TriggerInfo())
30{}
31
33 :
34 m_event_ID (id),
35 m_event_type(type),
36 m_trigger_info(0)
37{}
38
40 :
41 m_event_ID (id),
42 m_event_type(type),
43 m_trigger_info(trig_info)
44{}
45
46
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{}
59
60
62{
63 delete m_event_ID;
64 delete m_event_type;
65 delete m_trigger_info;
66}
67
68void
70 delete m_event_ID; m_event_ID=pid;
71}
72
73
74void
76 delete m_trigger_info; m_trigger_info = pTrig;
77}
78
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
Definition: EventInfo.h:34
void setTriggerInfo(TriggerInfo *)
Definition: EventInfo.cxx:75
virtual ~EventInfo()
Definition: EventInfo.cxx:61
void setEventID(EventID *pid)
Definition: EventInfo.cxx:69