EICd
EIC data model
eic::ClusterLayerCollection Class Reference

#include <ClusterLayerCollection.h>

Inheritance diagram for eic::ClusterLayerCollection:

Public Types

using const_iterator = ClusterLayerConstCollectionIterator
 
using iterator = ClusterLayerCollectionIterator
 

Public Member Functions

 ClusterLayerCollection ()
 
 ClusterLayerCollection (const ClusterLayerCollection &)=delete
 
ClusterLayerCollectionoperator= (const ClusterLayerCollection &)=delete
 
 ~ClusterLayerCollection ()
 
void clear () override final
 
ClusterLayerCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
ClusterLayer create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
ClusterLayer 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...
 
ConstClusterLayer operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
ClusterLayer operator[] (unsigned int index)
 Returns the object of a given index. More...
 
ConstClusterLayer at (unsigned int index) const
 Returns the const object of given index. More...
 
ClusterLayer at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (ConstClusterLayer 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< ClusterLayerData > * _getBuffer ()
 Returns the pointer to the data buffer. More...
 
template<size_t arraysize>
const std::array< eic::Index, arraysize > ID () const
 
template<size_t arraysize>
const std::array< eic::Index, arraysize > clusterID () const
 
template<size_t arraysize>
const std::array< std::int32_t, arraysize > layer () const
 
template<size_t arraysize>
const std::array< std::uint32_t, arraysize > nhits () const
 
template<size_t arraysize>
const std::array< float, arraysize > energy () const
 
template<size_t arraysize>
const std::array< float, arraysize > energyError () const
 
template<size_t arraysize>
const std::array< float, arraysize > radius () const
 
template<size_t arraysize>
const std::array< float, arraysize > skewness () const
 
template<size_t arraysize>
const std::array< eic::VectorXYZ, arraysize > position () const
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ ClusterLayerCollection() [1/2]

eic::ClusterLayerCollection::ClusterLayerCollection ( )

◆ ClusterLayerCollection() [2/2]

eic::ClusterLayerCollection::ClusterLayerCollection ( const ClusterLayerCollection )
delete

◆ ~ClusterLayerCollection()

eic::ClusterLayerCollection::~ClusterLayerCollection ( )

Member Function Documentation

◆ _getBuffer()

std::vector<ClusterLayerData>* eic::ClusterLayerCollection::_getBuffer ( )
inline

Returns the pointer to the data buffer.

◆ at() [1/2]

ClusterLayer eic::ClusterLayerCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ConstClusterLayer eic::ClusterLayerCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eic::ClusterLayerCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ clear()

void eic::ClusterLayerCollection::clear ( )
finaloverride

◆ clusterID()

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

◆ create() [1/2]

ClusterLayer eic::ClusterLayerCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
ClusterLayer eic::ClusterLayerCollection::create ( Args &&...  args)

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

◆ end() [1/2]

iterator eic::ClusterLayerCollection::end ( )
inline

◆ end() [2/2]

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

◆ energy()

template<size_t arraysize>
const std::array< float, arraysize > eic::ClusterLayerCollection::energy

◆ energyError()

template<size_t arraysize>
const std::array< float, arraysize > eic::ClusterLayerCollection::energyError

◆ getBufferAddress()

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

returns the address of the pointer to the data buffer

◆ getID()

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

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ ID()

template<size_t arraysize>
const std::array< eic::Index, arraysize > eic::ClusterLayerCollection::ID

◆ isValid()

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

◆ layer()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eic::ClusterLayerCollection::layer

◆ nhits()

template<size_t arraysize>
const std::array< std::uint32_t, arraysize > eic::ClusterLayerCollection::nhits

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=()

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

◆ operator[]() [1/2]

ClusterLayer eic::ClusterLayerCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ConstClusterLayer eic::ClusterLayerCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ position()

template<size_t arraysize>
const std::array< eic::VectorXYZ, arraysize > eic::ClusterLayerCollection::position

◆ prepareAfterRead()

void eic::ClusterLayerCollection::prepareAfterRead ( )
finaloverride

◆ prepareForWrite()

void eic::ClusterLayerCollection::prepareForWrite ( )
finaloverride

◆ push_back()

void eic::ClusterLayerCollection::push_back ( ConstClusterLayer  object)

Append object to the collection.

◆ radius()

template<size_t arraysize>
const std::array< float, arraysize > eic::ClusterLayerCollection::radius

◆ referenceCollections()

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

◆ setBuffer()

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

◆ setID()

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

◆ setReferences()

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

◆ size()

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

number of elements in the collection

◆ skewness()

template<size_t arraysize>
const std::array< float, arraysize > eic::ClusterLayerCollection::skewness

◆ vectorMembers()

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

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