EICd
EIC data model
eic::EventInfo Class Reference

#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...
 
EventInfooperator= (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::Weightweight () 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::Weightweight ()
 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
 

Detailed Description

Event Info

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ EventInfo() [1/4]

eic::EventInfo::EventInfo ( )

default constructor

◆ EventInfo() [2/4]

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 
)

◆ EventInfo() [3/4]

eic::EventInfo::EventInfo ( EventInfoObj obj)

constructor from existing EventInfoObj

◆ EventInfo() [4/4]

eic::EventInfo::EventInfo ( const EventInfo other)

copy constructor

◆ ~EventInfo()

eic::EventInfo::~EventInfo ( )

destructor

Member Function Documentation

◆ clone()

EventInfo eic::EventInfo::clone ( ) const

support cloning (deep-copy)

◆ getObjectID()

const podio::ObjectID eic::EventInfo::getObjectID ( ) const

◆ id()

unsigned int eic::EventInfo::id ( ) const
inline

◆ isAvailable()

bool eic::EventInfo::isAvailable ( ) const

check whether the object is actually available

◆ number() [1/2]

const std::uint64_t & eic::EventInfo::number ( ) const

Access the Event number.

◆ number() [2/2]

void eic::EventInfo::number ( std::uint64_t  value)

Set the Event number.

◆ operator ConstEventInfo()

eic::EventInfo::operator ConstEventInfo ( ) const

conversion to const object

◆ operator<()

bool eic::EventInfo::operator< ( const EventInfo other) const
inline

◆ operator=()

EventInfo & eic::EventInfo::operator= ( const EventInfo other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::EventInfo::operator== ( const ConstEventInfo other) const

◆ operator==() [2/2]

bool eic::EventInfo::operator== ( const EventInfo other) const
inline

◆ proc() [1/2]

const std::int32_t & eic::EventInfo::proc ( ) const

Access the Process identifier (TBD).

◆ proc() [2/2]

void eic::EventInfo::proc ( std::int32_t  value)

Set the Process identifier (TBD).

◆ run() [1/2]

const std::uint64_t & eic::EventInfo::run ( ) const

Access the Run number.

◆ run() [2/2]

void eic::EventInfo::run ( std::uint64_t  value)

Set the Run number.

◆ source() [1/2]

const std::int32_t & eic::EventInfo::source ( ) const

Access the Source/identifier (TBD)

◆ source() [2/2]

void eic::EventInfo::source ( std::int32_t  value)

Set the Source/identifier (TBD)

◆ type() [1/2]

const std::int32_t & eic::EventInfo::type ( ) const

Access the event type identifier (TBD).

◆ type() [2/2]

void eic::EventInfo::type ( std::int32_t  value)

Set the event type identifier (TBD).

◆ unlink()

void eic::EventInfo::unlink ( )
inline

disconnect from EventInfoObj instance

◆ weight() [1/3]

eic::Weight & eic::EventInfo::weight ( )

Get reference to Optional event weight (useful for MC)

◆ weight() [2/3]

const eic::Weight & eic::EventInfo::weight ( ) const

Access the Optional event weight (useful for MC)

◆ weight() [3/3]

void eic::EventInfo::weight ( eic::Weight  value)

Set the Optional event weight (useful for MC)

Friends And Related Function Documentation

◆ ConstEventInfo

friend class ConstEventInfo
friend

◆ EventInfoCollection

friend class EventInfoCollection
friend

◆ EventInfoCollectionIterator

friend class EventInfoCollectionIterator
friend

The documentation for this class was generated from the following files: