ATLAS Offline Software
MergedEventInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef EVENTINFO_MERGEDEVENTINFO_H
6 # define EVENTINFO_MERGEDEVENTINFO_H 1
7 
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 
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();
47 
49 
50  static const CLID& classID();
51  const CLID& clID() const;
53 
55 
56  const EventID* event_ID() const;
58  //INHERITED EventType* event_type() const;
59  //INHERITED TriggerInfo* trigger_info() const;
61  const EventID* origEvent_ID() const;
63 private:
65 };
66 
67 
68 
69 inline const EventID*
71  return &m_newEventID;
72 }
73 
74 inline const EventID*
76  return EventInfo::event_ID();
77 }
78 
79 inline const CLID&
81  return classID();
82 }
83 
84 # include "AthenaKernel/CLASS_DEF.h"
85 CLASS_DEF(MergedEventInfo, 220174395, 1)
86 
87 inline const CLID &
88 MergedEventInfo::classID() {
90 }
91 
92 #endif // MERGEDEVENTINFO_MERGEDEVENTINFO_H
EventType
This class represents the "type of event" where the type is given by one or more "characteristics".
Definition: EventType.h:92
MergedEventInfo::classID
static const CLID & classID()
Definition: MergedEventInfo.h:88
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
MergedEventInfo::origEvent_ID
const EventID * origEvent_ID() const
the original identification of the event.
Definition: MergedEventInfo.h:75
MergedEventInfo::~MergedEventInfo
virtual ~MergedEventInfo()
Definition: MergedEventInfo.cxx:23
EventID.h
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
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
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TriggerInfo
This class contains trigger related information.
Definition: TriggerInfo.h:77
EventInfo
This class provides general information about an event. Event information is provided by the accessor...
Definition: EventInfo/EventInfo/EventInfo.h:43
MergedEventInfo::MergedEventInfo
MergedEventInfo()
POOL required.
Definition: MergedEventInfo.cxx:14
MergedEventInfo::m_newEventID
EventID m_newEventID
Definition: MergedEventInfo.h:64
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
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition: EventID.h:35
MergedEventInfo::event_ID
const EventID * event_ID() const
the new identification of the event.
Definition: MergedEventInfo.h:70
ClassID_traits::ID
static CLID ID()
Definition: Control/AthenaKernel/AthenaKernel/ClassID_traits.h:44
MergedEventInfo
This class provides general information about an event. It extends MergedEventInfo with a list of sub...
Definition: MergedEventInfo.h:34
MergedEventInfo::clID
const CLID & clID() const
Definition: MergedEventInfo.h:80
CLASS_DEF.h
macros to associate a CLID to a type