EICd
EIC data model
|
#include <EventInfo.h>
Public Member Functions | |
EventInfo () | |
default constructor More... | |
EventInfo (std::uint64_t run, std::uint64_t number, std::int32_t type, std::int32_t proc, std::int32_t source, eic::Weight weight) | |
EventInfo (EventInfoObj *obj) | |
constructor from existing EventInfoObj More... | |
EventInfo (const EventInfo &other) | |
copy constructor More... | |
EventInfo & | operator= (const EventInfo &other) |
copy-assignment operator More... | |
EventInfo | clone () const |
support cloning (deep-copy) More... | |
~EventInfo () | |
destructor More... | |
operator ConstEventInfo () const | |
conversion to const object More... | |
const std::uint64_t & | run () const |
Access the Run number. More... | |
const std::uint64_t & | number () const |
Access the Event number. More... | |
const std::int32_t & | type () const |
Access the event type identifier (TBD). More... | |
const std::int32_t & | proc () const |
Access the Process identifier (TBD). More... | |
const std::int32_t & | source () const |
Access the Source/identifier (TBD) More... | |
const eic::Weight & | weight () const |
Access the Optional event weight (useful for MC) More... | |
void | run (std::uint64_t value) |
Set the Run number. More... | |
void | number (std::uint64_t value) |
Set the Event number. More... | |
void | type (std::int32_t value) |
Set the event type identifier (TBD). More... | |
void | proc (std::int32_t value) |
Set the Process identifier (TBD). More... | |
void | source (std::int32_t value) |
Set the Source/identifier (TBD) More... | |
void | weight (eic::Weight value) |
Set the Optional event weight (useful for MC) More... | |
eic::Weight & | weight () |
Get reference to Optional event weight (useful for MC) More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from EventInfoObj instance More... | |
bool | operator== (const EventInfo &other) const |
bool | operator== (const ConstEventInfo &other) const |
bool | operator< (const EventInfo &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | EventInfoCollection |
class | EventInfoCollectionIterator |
class | ConstEventInfo |
Event Info
eic::EventInfo::EventInfo | ( | ) |
default constructor
eic::EventInfo::EventInfo | ( | std::uint64_t | run, |
std::uint64_t | number, | ||
std::int32_t | type, | ||
std::int32_t | proc, | ||
std::int32_t | source, | ||
eic::Weight | weight | ||
) |
eic::EventInfo::EventInfo | ( | EventInfoObj * | obj | ) |
constructor from existing EventInfoObj
eic::EventInfo::EventInfo | ( | const EventInfo & | other | ) |
copy constructor
eic::EventInfo::~EventInfo | ( | ) |
destructor
EventInfo eic::EventInfo::clone | ( | ) | const |
support cloning (deep-copy)
const podio::ObjectID eic::EventInfo::getObjectID | ( | ) | const |
|
inline |
bool eic::EventInfo::isAvailable | ( | ) | const |
check whether the object is actually available
const std::uint64_t & eic::EventInfo::number | ( | ) | const |
Access the Event number.
void eic::EventInfo::number | ( | std::uint64_t | value | ) |
Set the Event number.
eic::EventInfo::operator ConstEventInfo | ( | ) | const |
conversion to const object
|
inline |
bool eic::EventInfo::operator== | ( | const ConstEventInfo & | other | ) | const |
|
inline |
const std::int32_t & eic::EventInfo::proc | ( | ) | const |
Access the Process identifier (TBD).
void eic::EventInfo::proc | ( | std::int32_t | value | ) |
Set the Process identifier (TBD).
const std::uint64_t & eic::EventInfo::run | ( | ) | const |
Access the Run number.
void eic::EventInfo::run | ( | std::uint64_t | value | ) |
Set the Run number.
const std::int32_t & eic::EventInfo::source | ( | ) | const |
Access the Source/identifier (TBD)
void eic::EventInfo::source | ( | std::int32_t | value | ) |
Set the Source/identifier (TBD)
const std::int32_t & eic::EventInfo::type | ( | ) | const |
Access the event type identifier (TBD).
void eic::EventInfo::type | ( | std::int32_t | value | ) |
Set the event type identifier (TBD).
|
inline |
disconnect from EventInfoObj instance
eic::Weight & eic::EventInfo::weight | ( | ) |
Get reference to Optional event weight (useful for MC)
const eic::Weight & eic::EventInfo::weight | ( | ) | const |
Access the Optional event weight (useful for MC)
void eic::EventInfo::weight | ( | eic::Weight | value | ) |
Set the Optional event weight (useful for MC)
|
friend |
|
friend |
|
friend |