Go to the documentation of this file.
3 #ifndef EICD_EventInfo_H
4 #define EICD_EventInfo_H
10 #include "podio/ObjectID.h"
55 const std::uint64_t&
run()
const;
58 const std::uint64_t&
number()
const;
61 const std::int32_t&
type()
const;
64 const std::int32_t&
proc()
const;
67 const std::int32_t&
source()
const;
75 void run(std::uint64_t value);
78 void number(std::uint64_t value);
81 void type(std::int32_t value);
84 void proc(std::int32_t value);
87 void source(std::int32_t value);
118 std::ostream&
operator<<(std::ostream& o,
const ConstEventInfo& value);
std::ostream & operator<<(std::ostream &o, const ConstBasicParticle &value)
Definition: BasicParticle.cc:102
bool operator==(const EventInfo &other) const
Definition: EventInfo.h:104
bool isAvailable() const
check whether the object is actually available
Definition: EventInfo.cc:75
const std::uint64_t & run() const
Access the Run number.
Definition: EventInfo.cc:53
Definition: BasicParticle.cc:13
EventInfo & operator=(const EventInfo &other)
copy-assignment operator
Definition: EventInfo.cc:34
Definition: EventInfo.h:22
Definition: EventInfoConst.h:20
const podio::ObjectID getObjectID() const
Definition: EventInfo.cc:82
bool operator<(const EventInfo &other) const
Definition: EventInfo.h:108
unsigned int id() const
Definition: EventInfo.h:110
friend class ConstEventInfo
Definition: EventInfo.h:26
~EventInfo()
destructor
Definition: EventInfo.cc:48
void unlink()
disconnect from EventInfoObj instance
Definition: EventInfo.h:102
EventInfo()
default constructor
Definition: EventInfo.cc:16
Definition: EventInfoObj.h:18
const std::int32_t & type() const
Access the event type identifier (TBD).
Definition: EventInfo.cc:55
const std::uint64_t & number() const
Access the Event number.
Definition: EventInfo.cc:54
const eic::Weight & weight() const
Access the Optional event weight (useful for MC)
Definition: EventInfo.cc:58
const std::int32_t & proc() const
Access the Process identifier (TBD).
Definition: EventInfo.cc:56
EventInfo clone() const
support cloning (deep-copy)
Definition: EventInfo.cc:44
Definition: EventInfoCollection.h:29
const std::int32_t & source() const
Access the Source/identifier (TBD)
Definition: EventInfo.cc:57
Definition: EventInfoCollection.h:76