EICd
EIC data model
eic::ReconstructedParticleCollection Class Reference

#include <ReconstructedParticleCollection.h>

Inheritance diagram for eic::ReconstructedParticleCollection:

Public Types

using const_iterator = ReconstructedParticleConstCollectionIterator
 
using iterator = ReconstructedParticleCollectionIterator
 

Public Member Functions

 ReconstructedParticleCollection ()
 
 ReconstructedParticleCollection (const ReconstructedParticleCollection &)=delete
 
ReconstructedParticleCollectionoperator= (const ReconstructedParticleCollection &)=delete
 
 ~ReconstructedParticleCollection ()
 
void clear () override final
 
ReconstructedParticleCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
ReconstructedParticle create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
ReconstructedParticle 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...
 
ConstReconstructedParticle operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
ReconstructedParticle operator[] (unsigned int index)
 Returns the object of a given index. More...
 
ConstReconstructedParticle at (unsigned int index) const
 Returns the const object of given index. More...
 
ReconstructedParticle at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (ConstReconstructedParticle 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< ReconstructedParticleData > * _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::VectorXYZ, arraysize > p () const
 
template<size_t arraysize>
const std::array< eic::VectorXYZ, arraysize > v () const
 
template<size_t arraysize>
const std::array< float, arraysize > time () const
 
template<size_t arraysize>
const std::array< std::int32_t, arraysize > pid () const
 
template<size_t arraysize>
const std::array< std::int16_t, arraysize > status () const
 
template<size_t arraysize>
const std::array< std::int16_t, arraysize > charge () const
 
template<size_t arraysize>
const std::array< eic::Weight, arraysize > weight () const
 
template<size_t arraysize>
const std::array< eic::Direction, arraysize > direction () const
 
template<size_t arraysize>
const std::array< float, arraysize > momentum () const
 
template<size_t arraysize>
const std::array< float, arraysize > energy () const
 
template<size_t arraysize>
const std::array< float, arraysize > mass () const
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ ReconstructedParticleCollection() [1/2]

eic::ReconstructedParticleCollection::ReconstructedParticleCollection ( )

◆ ReconstructedParticleCollection() [2/2]

eic::ReconstructedParticleCollection::ReconstructedParticleCollection ( const ReconstructedParticleCollection )
delete

◆ ~ReconstructedParticleCollection()

eic::ReconstructedParticleCollection::~ReconstructedParticleCollection ( )

Member Function Documentation

◆ _getBuffer()

std::vector<ReconstructedParticleData>* eic::ReconstructedParticleCollection::_getBuffer ( )
inline

Returns the pointer to the data buffer.

◆ at() [1/2]

ReconstructedParticle eic::ReconstructedParticleCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ConstReconstructedParticle eic::ReconstructedParticleCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eic::ReconstructedParticleCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ charge()

template<size_t arraysize>
const std::array< std::int16_t, arraysize > eic::ReconstructedParticleCollection::charge

◆ clear()

void eic::ReconstructedParticleCollection::clear ( )
finaloverride

◆ create() [1/2]

ReconstructedParticle eic::ReconstructedParticleCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
ReconstructedParticle eic::ReconstructedParticleCollection::create ( Args &&...  args)

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

◆ direction()

template<size_t arraysize>
const std::array< eic::Direction, arraysize > eic::ReconstructedParticleCollection::direction

◆ end() [1/2]

iterator eic::ReconstructedParticleCollection::end ( )
inline

◆ end() [2/2]

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

◆ energy()

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

◆ getBufferAddress()

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

returns the address of the pointer to the data buffer

◆ getID()

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

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ ID()

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

◆ isValid()

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

◆ mass()

template<size_t arraysize>
const std::array< float, arraysize > eic::ReconstructedParticleCollection::mass

◆ momentum()

template<size_t arraysize>
const std::array< float, arraysize > eic::ReconstructedParticleCollection::momentum

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=()

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

◆ operator[]() [1/2]

ReconstructedParticle eic::ReconstructedParticleCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ConstReconstructedParticle eic::ReconstructedParticleCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ p()

template<size_t arraysize>
const std::array< eic::VectorXYZ, arraysize > eic::ReconstructedParticleCollection::p

◆ pid()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eic::ReconstructedParticleCollection::pid

◆ prepareAfterRead()

void eic::ReconstructedParticleCollection::prepareAfterRead ( )
finaloverride

◆ prepareForWrite()

void eic::ReconstructedParticleCollection::prepareForWrite ( )
finaloverride

◆ push_back()

void eic::ReconstructedParticleCollection::push_back ( ConstReconstructedParticle  object)

Append object to the collection.

◆ referenceCollections()

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

◆ setBuffer()

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

◆ setID()

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

◆ setReferences()

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

◆ size()

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

number of elements in the collection

◆ status()

template<size_t arraysize>
const std::array< std::int16_t, arraysize > eic::ReconstructedParticleCollection::status

◆ time()

template<size_t arraysize>
const std::array< float, arraysize > eic::ReconstructedParticleCollection::time

◆ v()

template<size_t arraysize>
const std::array< eic::VectorXYZ, arraysize > eic::ReconstructedParticleCollection::v

◆ vectorMembers()

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

◆ weight()

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

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