EICd
EIC data model
eic::RawCalorimeterHitCollection Class Reference

#include <RawCalorimeterHitCollection.h>

Inheritance diagram for eic::RawCalorimeterHitCollection:

Public Types

using const_iterator = RawCalorimeterHitConstCollectionIterator
 
using iterator = RawCalorimeterHitCollectionIterator
 

Public Member Functions

 RawCalorimeterHitCollection ()
 
 RawCalorimeterHitCollection (const RawCalorimeterHitCollection &)=delete
 
RawCalorimeterHitCollectionoperator= (const RawCalorimeterHitCollection &)=delete
 
 ~RawCalorimeterHitCollection ()
 
void clear () override final
 
RawCalorimeterHitCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
RawCalorimeterHit create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
RawCalorimeterHit 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...
 
ConstRawCalorimeterHit operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
RawCalorimeterHit operator[] (unsigned int index)
 Returns the object of a given index. More...
 
ConstRawCalorimeterHit at (unsigned int index) const
 Returns the const object of given index. More...
 
RawCalorimeterHit at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (ConstRawCalorimeterHit 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< RawCalorimeterHitData > * _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< std::int64_t, arraysize > cellID () const
 
template<size_t arraysize>
const std::array< std::int64_t, arraysize > amplitude () const
 
template<size_t arraysize>
const std::array< std::int64_t, arraysize > time () const
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ RawCalorimeterHitCollection() [1/2]

eic::RawCalorimeterHitCollection::RawCalorimeterHitCollection ( )

◆ RawCalorimeterHitCollection() [2/2]

eic::RawCalorimeterHitCollection::RawCalorimeterHitCollection ( const RawCalorimeterHitCollection )
delete

◆ ~RawCalorimeterHitCollection()

eic::RawCalorimeterHitCollection::~RawCalorimeterHitCollection ( )

Member Function Documentation

◆ _getBuffer()

std::vector<RawCalorimeterHitData>* eic::RawCalorimeterHitCollection::_getBuffer ( )
inline

Returns the pointer to the data buffer.

◆ amplitude()

template<size_t arraysize>
const std::array< std::int64_t, arraysize > eic::RawCalorimeterHitCollection::amplitude

◆ at() [1/2]

RawCalorimeterHit eic::RawCalorimeterHitCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ConstRawCalorimeterHit eic::RawCalorimeterHitCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eic::RawCalorimeterHitCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ cellID()

template<size_t arraysize>
const std::array< std::int64_t, arraysize > eic::RawCalorimeterHitCollection::cellID

◆ clear()

void eic::RawCalorimeterHitCollection::clear ( )
finaloverride

◆ create() [1/2]

RawCalorimeterHit eic::RawCalorimeterHitCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
RawCalorimeterHit eic::RawCalorimeterHitCollection::create ( Args &&...  args)

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

◆ end() [1/2]

iterator eic::RawCalorimeterHitCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBufferAddress()

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

returns the address of the pointer to the data buffer

◆ getID()

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

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ ID()

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

◆ isValid()

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

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=()

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

◆ operator[]() [1/2]

RawCalorimeterHit eic::RawCalorimeterHitCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ConstRawCalorimeterHit eic::RawCalorimeterHitCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ prepareAfterRead()

void eic::RawCalorimeterHitCollection::prepareAfterRead ( )
finaloverride

◆ prepareForWrite()

void eic::RawCalorimeterHitCollection::prepareForWrite ( )
finaloverride

◆ push_back()

void eic::RawCalorimeterHitCollection::push_back ( ConstRawCalorimeterHit  object)

Append object to the collection.

◆ referenceCollections()

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

◆ setBuffer()

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

◆ setID()

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

◆ setReferences()

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

◆ size()

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

number of elements in the collection

◆ time()

template<size_t arraysize>
const std::array< std::int64_t, arraysize > eic::RawCalorimeterHitCollection::time

◆ vectorMembers()

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

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