EICd
EIC data model
|
#include <EventInfoCollection.h>
Public Types | |
using | const_iterator = EventInfoConstCollectionIterator |
using | iterator = EventInfoCollectionIterator |
Public Member Functions | |
EventInfoCollection () | |
EventInfoCollection (const EventInfoCollection &)=delete | |
EventInfoCollection & | operator= (const EventInfoCollection &)=delete |
~EventInfoCollection () | |
void | clear () override final |
EventInfoCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
EventInfo | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
EventInfo | create (Args &&... args) |
size_t | size () const override final |
number of elements in the collection More... | |
std::string | getValueTypeName () const override |
fully qualified type name of elements - with namespace More... | |
ConstEventInfo | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
EventInfo | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
ConstEventInfo | at (unsigned int index) const |
Returns the const object of given index. More... | |
EventInfo | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (ConstEventInfo object) |
Append object to the collection. More... | |
void | prepareForWrite () override final |
void | prepareAfterRead () override final |
void | setBuffer (void *address) override final |
bool | setReferences (const podio::ICollectionProvider *collectionProvider) override final |
podio::CollRefCollection * | referenceCollections () override final |
podio::VectorMembersInfo * | vectorMembers () override |
void | setID (unsigned ID) override final |
unsigned | getID () const override final |
bool | isValid () const override final |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void * | getBufferAddress () override final |
returns the address of the pointer to the data buffer More... | |
std::vector< EventInfoData > * | _getBuffer () |
Returns the pointer to the data buffer. More... | |
template<size_t arraysize> | |
const std::array< std::uint64_t, arraysize > | run () const |
template<size_t arraysize> | |
const std::array< std::uint64_t, arraysize > | number () const |
template<size_t arraysize> | |
const std::array< std::int32_t, arraysize > | type () const |
template<size_t arraysize> | |
const std::array< std::int32_t, arraysize > | proc () const |
template<size_t arraysize> | |
const std::array< std::int32_t, arraysize > | source () const |
template<size_t arraysize> | |
const std::array< eic::Weight, arraysize > | weight () const |
A Collection is identified by an ID.
eic::EventInfoCollection::EventInfoCollection | ( | ) |
|
delete |
eic::EventInfoCollection::~EventInfoCollection | ( | ) |
|
inline |
Returns the pointer to the data buffer.
EventInfo eic::EventInfoCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
ConstEventInfo eic::EventInfoCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
finaloverride |
EventInfo eic::EventInfoCollection::create | ( | ) |
Append a new object to the collection, and return this object.
EventInfo eic::EventInfoCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
inline |
|
inline |
|
inlinefinaloverride |
returns the address of the pointer to the data buffer
|
inlinefinaloverride |
|
inlineoverride |
fully qualified type name of elements - with namespace
|
inlinefinaloverride |
const std::array< std::uint64_t, arraysize > eic::EventInfoCollection::number |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
EventInfo eic::EventInfoCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
ConstEventInfo eic::EventInfoCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
finaloverride |
|
finaloverride |
const std::array< std::int32_t, arraysize > eic::EventInfoCollection::proc |
void eic::EventInfoCollection::push_back | ( | ConstEventInfo | object | ) |
Append object to the collection.
|
inlinefinaloverride |
const std::array< std::uint64_t, arraysize > eic::EventInfoCollection::run |
|
finaloverride |
|
inlinefinaloverride |
|
finaloverride |
|
finaloverride |
number of elements in the collection
const std::array< std::int32_t, arraysize > eic::EventInfoCollection::source |
const std::array< std::int32_t, arraysize > eic::EventInfoCollection::type |
|
inlineoverride |
const std::array< eic::Weight, arraysize > eic::EventInfoCollection::weight |