BOSS
7.1.2
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
10
#include "
HltDataTypes/EventInfo.h
"
11
#include "
HltDataTypes/EventID.h
"
12
#include "
HltDataTypes/EventType.h
"
13
#include "
HltDataTypes/TriggerInfo.h
"
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
25
EventInfo::EventInfo
()
26
:
27
m_event_ID (new
EventID
(0,0)),
28
m_event_type (new
EventType
()),
29
m_trigger_info(new
TriggerInfo
())
30
{}
31
32
EventInfo::EventInfo
(
EventID
*
id
,
EventType
* type)
33
:
34
m_event_ID (id),
35
m_event_type(type),
36
m_trigger_info(0)
37
{}
38
39
EventInfo::EventInfo
(
EventID
*
id
,
EventType
* type,
TriggerInfo
* trig_info)
40
:
41
m_event_ID (id),
42
m_event_type(type),
43
m_trigger_info(trig_info)
44
{}
45
46
47
EventInfo::EventInfo
(
const
EventInfo
& e)
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
61
EventInfo::~EventInfo
()
62
{
63
delete
m_event_ID;
64
delete
m_event_type;
65
delete
m_trigger_info;
66
}
67
68
void
69
EventInfo::setEventID
(
EventID
* pid) {
70
delete
m_event_ID; m_event_ID=pid;
71
}
72
73
74
void
75
EventInfo::setTriggerInfo
(
TriggerInfo
* pTrig) {
76
delete
m_trigger_info; m_trigger_info = pTrig;
77
}
78
EventID.h
EventInfo.h
EventType.h
TriggerInfo.h
EventID
Definition
EventID.h:28
EventInfo
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
Definition
EventInfo.h:34
EventInfo::setTriggerInfo
void setTriggerInfo(TriggerInfo *)
Definition
EventInfo.cxx:75
EventInfo::~EventInfo
virtual ~EventInfo()
Definition
EventInfo.cxx:61
EventInfo::setEventID
void setEventID(EventID *pid)
Definition
EventInfo.cxx:69
EventInfo::EventInfo
EventInfo()
Definition
EventInfo.cxx:25
EventType
Definition
EventType.h:84
TriggerInfo
Definition
TriggerInfo.h:50
7.1.2
EventFilter
HltUtilities
HltDataTypes
HltDataTypes-01-01-03
src
EventInfo.cxx
Generated by
1.12.0