EICd
EIC data model
eic::Cluster2DInfoCollection Class Reference

#include <Cluster2DInfoCollection.h>

Inheritance diagram for eic::Cluster2DInfoCollection:

Public Types

using const_iterator = Cluster2DInfoConstCollectionIterator
 
using iterator = Cluster2DInfoCollectionIterator
 

Public Member Functions

 Cluster2DInfoCollection ()
 
 Cluster2DInfoCollection (const Cluster2DInfoCollection &)=delete
 
Cluster2DInfoCollectionoperator= (const Cluster2DInfoCollection &)=delete
 
 ~Cluster2DInfoCollection ()
 
void clear () override final
 
Cluster2DInfoCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
Cluster2DInfo create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
Cluster2DInfo 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...
 
ConstCluster2DInfo operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
Cluster2DInfo operator[] (unsigned int index)
 Returns the object of a given index. More...
 
ConstCluster2DInfo at (unsigned int index) const
 Returns the const object of given index. More...
 
Cluster2DInfo at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (ConstCluster2DInfo 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< Cluster2DInfoData > * _getBuffer ()
 Returns the pointer to the data buffer. More...
 
template<size_t arraysize>
const std::array< eic::Index, arraysize > clusterID () const
 
template<size_t arraysize>
const std::array< eic::VectorPolar, arraysize > polar () const
 
template<size_t arraysize>
const std::array< float, arraysize > eta () const
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ Cluster2DInfoCollection() [1/2]

eic::Cluster2DInfoCollection::Cluster2DInfoCollection ( )

◆ Cluster2DInfoCollection() [2/2]

eic::Cluster2DInfoCollection::Cluster2DInfoCollection ( const Cluster2DInfoCollection )
delete

◆ ~Cluster2DInfoCollection()

eic::Cluster2DInfoCollection::~Cluster2DInfoCollection ( )

Member Function Documentation

◆ _getBuffer()

std::vector<Cluster2DInfoData>* eic::Cluster2DInfoCollection::_getBuffer ( )
inline

Returns the pointer to the data buffer.

◆ at() [1/2]

Cluster2DInfo eic::Cluster2DInfoCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ConstCluster2DInfo eic::Cluster2DInfoCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eic::Cluster2DInfoCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ clear()

void eic::Cluster2DInfoCollection::clear ( )
finaloverride

◆ clusterID()

template<size_t arraysize>
const std::array< eic::Index, arraysize > eic::Cluster2DInfoCollection::clusterID

◆ create() [1/2]

Cluster2DInfo eic::Cluster2DInfoCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
Cluster2DInfo eic::Cluster2DInfoCollection::create ( Args &&...  args)

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

◆ end() [1/2]

iterator eic::Cluster2DInfoCollection::end ( )
inline

◆ end() [2/2]

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

◆ eta()

template<size_t arraysize>
const std::array< float, arraysize > eic::Cluster2DInfoCollection::eta

◆ getBufferAddress()

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

returns the address of the pointer to the data buffer

◆ getID()

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

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ isValid()

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

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=()

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

◆ operator[]() [1/2]

Cluster2DInfo eic::Cluster2DInfoCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ConstCluster2DInfo eic::Cluster2DInfoCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ polar()

template<size_t arraysize>
const std::array< eic::VectorPolar, arraysize > eic::Cluster2DInfoCollection::polar

◆ prepareAfterRead()

void eic::Cluster2DInfoCollection::prepareAfterRead ( )
finaloverride

◆ prepareForWrite()

void eic::Cluster2DInfoCollection::prepareForWrite ( )
finaloverride

◆ push_back()

void eic::Cluster2DInfoCollection::push_back ( ConstCluster2DInfo  object)

Append object to the collection.

◆ referenceCollections()

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

◆ setBuffer()

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

◆ setID()

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

◆ setReferences()

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

◆ size()

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

number of elements in the collection

◆ vectorMembers()

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

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