ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventInfo
EventInfo
MergedEventInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENTINFO_MERGEDEVENTINFO_H
6
# define EVENTINFO_MERGEDEVENTINFO_H 1
16
17
#include "GaudiKernel/ClassID.h"
18
#include "EventInfo/EventInfo.h"
19
#include "
EventInfo/EventID.h
"
20
21
class
EventType
;
22
class
TriggerInfo
;
23
24
25
33
34
class
MergedEventInfo
:
public
EventInfo
{
35
public
:
37
38
MergedEventInfo
();
39
// Use default copy constructor.
41
MergedEventInfo
(
const
EventInfo
& origEvent,
42
EventID::number_type
newRunNo,
43
EventID::number_type
newEvtNo,
44
EventID::number_type
newTimeStamp = 0);
45
virtual
~MergedEventInfo
();
46
47
MergedEventInfo
(
const
MergedEventInfo
&) =
default
;
48
MergedEventInfo
(
MergedEventInfo
&&) =
default
;
49
MergedEventInfo
&
operator=
(
const
MergedEventInfo
&) =
default
;
50
MergedEventInfo
&
operator=
(
MergedEventInfo
&&) =
default
;
52
54
55
static
CLID
classID
();
56
CLID
clID
()
const
;
58
60
61
62
const
EventID
*
event_ID
()
const
;
63
//INHERITED EventType* event_type() const;
64
//INHERITED TriggerInfo* trigger_info() const;
66
const
EventID
*
origEvent_ID
()
const
;
68
private
:
69
EventID
m_newEventID
;
70
};
71
72
73
74
inline
const
EventID
*
75
MergedEventInfo::event_ID
()
const
{
76
return
&
m_newEventID
;
77
}
78
79
inline
const
EventID
*
80
MergedEventInfo::origEvent_ID
()
const
{
81
return
EventInfo::event_ID
();
82
}
83
84
inline
CLID
85
MergedEventInfo::clID
()
const
{
86
return
classID
();
87
}
88
89
# include "
AthenaKernel/CLASS_DEF.h
"
90
CLASS_DEF
(
MergedEventInfo
, 220174395, 1)
91
92
inline
CLID
93
MergedEventInfo
::
classID
() {
94
return
ClassID_traits<MergedEventInfo>::ID
();
95
}
96
97
#endif
// MERGEDEVENTINFO_MERGEDEVENTINFO_H
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
EventID.h
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
EventID
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition
EventID.h:35
EventID::number_type
EventIDBase::number_type number_type
Definition
EventID.h:37
EventInfo::event_ID
EventID * event_ID()
the unique identification of the event.
Definition
EventInfo/EventInfo/EventInfo.h:224
EventType
This class represents the "type of event" where the type is given by one or more "characteristics".
Definition
EventType.h:92
MergedEventInfo
This class provides general information about an event.
Definition
MergedEventInfo.h:34
MergedEventInfo::event_ID
const EventID * event_ID() const
the new identification of the event.
Definition
MergedEventInfo.h:75
MergedEventInfo::MergedEventInfo
MergedEventInfo(const MergedEventInfo &)=default
MergedEventInfo::m_newEventID
EventID m_newEventID
Definition
MergedEventInfo.h:69
MergedEventInfo::origEvent_ID
const EventID * origEvent_ID() const
the original identification of the event.
Definition
MergedEventInfo.h:80
MergedEventInfo::operator=
MergedEventInfo & operator=(MergedEventInfo &&)=default
MergedEventInfo::clID
CLID clID() const
Definition
MergedEventInfo.h:85
MergedEventInfo::MergedEventInfo
MergedEventInfo()
POOL required.
Definition
MergedEventInfo.cxx:14
MergedEventInfo::MergedEventInfo
MergedEventInfo(MergedEventInfo &&)=default
MergedEventInfo::operator=
MergedEventInfo & operator=(const MergedEventInfo &)=default
MergedEventInfo::classID
static CLID classID()
Definition
MergedEventInfo.h:93
MergedEventInfo::~MergedEventInfo
virtual ~MergedEventInfo()
Definition
MergedEventInfo.cxx:23
TriggerInfo
This class contains trigger related information.
Definition
TriggerInfo.h:77
EventInfo
Definition
EventInfo.py:1
ClassID_traits::ID
static constexpr CLID ID()
Definition
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:44
Generated on
for ATLAS Offline Software by
1.17.0