ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17#include "GaudiKernel/ClassID.h"
18#include "EventInfo/EventInfo.h"
19#include "EventInfo/EventID.h"
20
21class EventType;
22class TriggerInfo;
23
24
25
33
35public:
37
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
52
54
55 static const CLID& classID();
56 const 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;
68private:
70};
71
72
73
74inline const EventID*
76 return &m_newEventID;
77}
78
79inline const EventID*
83
84inline const CLID&
86 return classID();
87}
88
90CLASS_DEF(MergedEventInfo, 220174395, 1)
91
92inline const CLID &
96
97#endif // MERGEDEVENTINFO_MERGEDEVENTINFO_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
uint32_t CLID
The Class ID type.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition EventID.h:35
EventIDBase::number_type number_type
Definition EventID.h:37
EventID * event_ID()
the unique identification of the event.
This class represents the "type of event" where the type is given by one or more "characteristics".
Definition EventType.h:92
This class provides general information about an event.
const EventID * event_ID() const
the new identification of the event.
MergedEventInfo(const MergedEventInfo &)=default
const EventID * origEvent_ID() const
the original identification of the event.
MergedEventInfo & operator=(MergedEventInfo &&)=default
MergedEventInfo()
POOL required.
const CLID & clID() const
static const CLID & classID()
MergedEventInfo(MergedEventInfo &&)=default
MergedEventInfo & operator=(const MergedEventInfo &)=default
virtual ~MergedEventInfo()
This class contains trigger related information.
Definition TriggerInfo.h:77