EICd
EIC data model
eic::EventInfoCollection Class Reference

#include <EventInfoCollection.h>

Inheritance diagram for eic::EventInfoCollection:

Public Types

using const_iterator = EventInfoConstCollectionIterator
 
using iterator = EventInfoCollectionIterator
 

Public Member Functions

 EventInfoCollection ()
 
 EventInfoCollection (const EventInfoCollection &)=delete
 
EventInfoCollectionoperator= (const EventInfoCollection &)=delete
 
 ~EventInfoCollection ()
 
void clear () override final
 
EventInfoCollectionoperator-> ()
 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
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ EventInfoCollection() [1/2]

eic::EventInfoCollection::EventInfoCollection ( )

◆ EventInfoCollection() [2/2]

eic::EventInfoCollection::EventInfoCollection ( const EventInfoCollection )
delete

◆ ~EventInfoCollection()

eic::EventInfoCollection::~EventInfoCollection ( )

Member Function Documentation

◆ _getBuffer()

std::vector<EventInfoData>* eic::EventInfoCollection::_getBuffer ( )
inline

Returns the pointer to the data buffer.

◆ at() [1/2]

EventInfo eic::EventInfoCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ConstEventInfo eic::EventInfoCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eic::EventInfoCollection::begin ( )
inline

◆ begin() [2/2]

const_iterator eic::EventInfoCollection::begin ( ) const
inline

◆ clear()

void eic::EventInfoCollection::clear ( )
finaloverride

◆ create() [1/2]

EventInfo eic::EventInfoCollection::create ( )

Append a new object to the collection, and return this object.

◆ create() [2/2]

template<typename... Args>
EventInfo eic::EventInfoCollection::create ( Args &&...  args)

Append a new object to the collection, and return this object. Initialized with the parameters given

◆ end() [1/2]

iterator eic::EventInfoCollection::end ( )
inline

◆ end() [2/2]

const_iterator eic::EventInfoCollection::end ( ) const
inline

◆ getBufferAddress()

void* eic::EventInfoCollection::getBufferAddress ( )
inlinefinaloverride

returns the address of the pointer to the data buffer

◆ getID()

unsigned eic::EventInfoCollection::getID ( ) const
inlinefinaloverride

◆ getValueTypeName()

std::string eic::EventInfoCollection::getValueTypeName ( ) const
inlineoverride

fully qualified type name of elements - with namespace

◆ isValid()

bool eic::EventInfoCollection::isValid ( ) const
inlinefinaloverride

◆ number()

template<size_t arraysize>
const std::array< std::uint64_t, arraysize > eic::EventInfoCollection::number

◆ operator->()

EventInfoCollection* eic::EventInfoCollection::operator-> ( )
inline

operator to allow pointer like calling of members a la LCIO

◆ operator=()

EventInfoCollection& eic::EventInfoCollection::operator= ( const EventInfoCollection )
delete

◆ operator[]() [1/2]

EventInfo eic::EventInfoCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ConstEventInfo eic::EventInfoCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ prepareAfterRead()

void eic::EventInfoCollection::prepareAfterRead ( )
finaloverride

◆ prepareForWrite()

void eic::EventInfoCollection::prepareForWrite ( )
finaloverride

◆ proc()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eic::EventInfoCollection::proc

◆ push_back()

void eic::EventInfoCollection::push_back ( ConstEventInfo  object)

Append object to the collection.

◆ referenceCollections()

podio::CollRefCollection* eic::EventInfoCollection::referenceCollections ( )
inlinefinaloverride

◆ run()

template<size_t arraysize>
const std::array< std::uint64_t, arraysize > eic::EventInfoCollection::run

◆ setBuffer()

void eic::EventInfoCollection::setBuffer ( void *  address)
finaloverride

◆ setID()

void eic::EventInfoCollection::setID ( unsigned  ID)
inlinefinaloverride

◆ setReferences()

bool eic::EventInfoCollection::setReferences ( const podio::ICollectionProvider *  collectionProvider)
finaloverride

◆ size()

size_t eic::EventInfoCollection::size ( ) const
finaloverride

number of elements in the collection

◆ source()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eic::EventInfoCollection::source

◆ type()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eic::EventInfoCollection::type

◆ vectorMembers()

podio::VectorMembersInfo* eic::EventInfoCollection::vectorMembers ( )
inlineoverride

◆ weight()

template<size_t arraysize>
const std::array< eic::Weight, arraysize > eic::EventInfoCollection::weight

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