ATLAS Offline Software
MergedEventInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef EVENTINFO_MERGEDEVENTINFO_H
6 # define EVENTINFO_MERGEDEVENTINFO_H 1
7 
19 #ifndef GAUDIKERNEL_CLASSID_H
20 # include "GaudiKernel/ClassID.h"
21 #endif
22 
23 #ifndef EVENTINFO_EVENTINFO_H
24 # include "EventInfo/EventInfo.h"
25 #endif
26 #ifndef EVENTINFO_EVENTID_H
27 # include "EventInfo/EventID.h"
28 #endif
29 
30 class EventType;
31 class TriggerInfo;
32 
33 
34 
43 class MergedEventInfo: public EventInfo {
44 public:
46 
47  MergedEventInfo();
48  // Use default copy constructor.
50  MergedEventInfo(const EventInfo& origEvent,
51  EventID::number_type newRunNo,
52  EventID::number_type newEvtNo,
53  EventID::number_type newTimeStamp = 0);
54  virtual ~MergedEventInfo();
56 
58 
59  static const CLID& classID();
60  const CLID& clID() const;
62 
64 
65  const EventID* event_ID() const;
67  //INHERITED EventType* event_type() const;
68  //INHERITED TriggerInfo* trigger_info() const;
70  const EventID* origEvent_ID() const;
72 private:
74 };
75 
76 
77 
78 inline const EventID*
80  return &m_newEventID;
81 }
82 
83 inline const EventID*
85  return EventInfo::event_ID();
86 }
87 
88 inline const CLID&
90  return classID();
91 }
92 
93 # include "AthenaKernel/CLASS_DEF.h"
94 CLASS_DEF(MergedEventInfo, 220174395, 1)
95 
96 inline const CLID &
97 MergedEventInfo::classID() {
99 }
100 
101 #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:97
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:84
MergedEventInfo::~MergedEventInfo
virtual ~MergedEventInfo()
Definition: MergedEventInfo.cxx:23
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition: Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
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:73
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:64
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:79
MergedEventInfo
This class provides general information about an event. It extends MergedEventInfo with a list of sub...
Definition: MergedEventInfo.h:43
MergedEventInfo::clID
const CLID & clID() const
Definition: MergedEventInfo.h:89
CLASS_DEF.h
macros to associate a CLID to a type