EICd
EIC data model
eic::ConstEventInfo Class Reference

#include <EventInfoConst.h>

Public Member Functions

 ConstEventInfo ()
 default constructor More...
 
 ConstEventInfo (std::uint64_t run, std::uint64_t number, std::int32_t type, std::int32_t proc, std::int32_t source, eic::Weight weight)
 
 ConstEventInfo (EventInfoObj *obj)
 constructor from existing EventInfoObj More...
 
 ConstEventInfo (const ConstEventInfo &other)
 copy constructor More...
 
ConstEventInfooperator= (const ConstEventInfo &other)
 copy-assignment operator More...
 
ConstEventInfo clone () const
 support cloning (deep-copy) More...
 
 ~ConstEventInfo ()
 destructor 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...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from EventInfoObj instance More...
 
bool operator== (const ConstEventInfo &other) const
 
bool operator== (const EventInfo &other) const
 
bool operator< (const ConstEventInfo &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class EventInfo
 
class EventInfoCollection
 
class EventInfoConstCollectionIterator
 

Detailed Description

Event Info

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ ConstEventInfo() [1/4]

eic::ConstEventInfo::ConstEventInfo ( )

default constructor

◆ ConstEventInfo() [2/4]

eic::ConstEventInfo::ConstEventInfo ( std::uint64_t  run,
std::uint64_t  number,
std::int32_t  type,
std::int32_t  proc,
std::int32_t  source,
eic::Weight  weight 
)

◆ ConstEventInfo() [3/4]

eic::ConstEventInfo::ConstEventInfo ( EventInfoObj obj)

constructor from existing EventInfoObj

◆ ConstEventInfo() [4/4]

eic::ConstEventInfo::ConstEventInfo ( const ConstEventInfo other)

copy constructor

◆ ~ConstEventInfo()

eic::ConstEventInfo::~ConstEventInfo ( )

destructor

Member Function Documentation

◆ clone()

ConstEventInfo eic::ConstEventInfo::clone ( ) const

support cloning (deep-copy)

◆ getObjectID()

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

◆ id()

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

◆ isAvailable()

bool eic::ConstEventInfo::isAvailable ( ) const

check whether the object is actually available

◆ number()

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

Access the Event number.

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ proc()

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

Access the Process identifier (TBD).

◆ run()

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

Access the Run number.

◆ source()

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

Access the Source/identifier (TBD)

◆ type()

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

Access the event type identifier (TBD).

◆ unlink()

void eic::ConstEventInfo::unlink ( )
inline

disconnect from EventInfoObj instance

◆ weight()

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

Access the Optional event weight (useful for MC)

Friends And Related Function Documentation

◆ EventInfo

friend class EventInfo
friend

◆ EventInfoCollection

friend class EventInfoCollection
friend

◆ EventInfoConstCollectionIterator

friend class EventInfoConstCollectionIterator
friend

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