EICd
EIC data model
eicd::ReconstructedParticleCollection Class Reference

#include <ReconstructedParticleCollection.h>

Inheritance diagram for eicd::ReconstructedParticleCollection:

Public Types

using const_iterator = ReconstructedParticleCollectionIterator
 
using iterator = ReconstructedParticleMutableCollectionIterator
 

Public Member Functions

 ReconstructedParticleCollection ()
 
 ReconstructedParticleCollection (const ReconstructedParticleCollection &)=delete
 
ReconstructedParticleCollectionoperator= (const ReconstructedParticleCollection &)=delete
 
 ReconstructedParticleCollection (ReconstructedParticleCollection &&)=default
 
ReconstructedParticleCollectionoperator= (ReconstructedParticleCollection &&)=default
 
 ~ReconstructedParticleCollection ()
 
void clear () final
 
ReconstructedParticleCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
MutableReconstructedParticle create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
MutableReconstructedParticle create (Args &&... args)
 
size_t size () const final
 number of elements in the collection More...
 
std::string getTypeName () const final
 fully qualified type name More...
 
std::string getValueTypeName () const final
 fully qualified type name of elements - with namespace More...
 
std::string getDataTypeName () const final
 fully qualified type name of stored POD elements - with namespace More...
 
bool isSubsetCollection () const final
 
void setSubsetCollection (bool setSubset=true) final
 
ReconstructedParticle operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
MutableReconstructedParticle operator[] (unsigned int index)
 Returns the object of a given index. More...
 
ReconstructedParticle at (unsigned int index) const
 Returns the const object of given index. More...
 
MutableReconstructedParticle at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (ReconstructedParticle object)
 Append object to the collection. More...
 
void prepareForWrite () const final
 
void prepareAfterRead () final
 
bool setReferences (const podio::ICollectionProvider *collectionProvider) final
 
podio::CollectionBuffers getBuffers () final
 Get the collection buffers for this collection. More...
 
void setID (unsigned ID) final
 
unsigned getID () const final
 
bool isValid () const final
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
template<size_t arraysize>
const std::array< std::int32_t, arraysize > type () const
 
template<size_t arraysize>
const std::array< float, arraysize > energy () const
 
template<size_t arraysize>
const std::array< edm4hep::Vector3f, arraysize > momentum () const
 
template<size_t arraysize>
const std::array< edm4hep::Vector3f, arraysize > referencePoint () const
 
template<size_t arraysize>
const std::array< float, arraysize > charge () const
 
template<size_t arraysize>
const std::array< float, arraysize > mass () const
 
template<size_t arraysize>
const std::array< float, arraysize > goodnessOfPID () const
 
template<size_t arraysize>
const std::array< eicd::Cov4f, arraysize > covMatrix () const
 
template<size_t arraysize>
const std::array< std::int32_t, arraysize > PDG () const
 

Friends

class ReconstructedParticleCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ ReconstructedParticleCollection() [1/3]

eicd::ReconstructedParticleCollection::ReconstructedParticleCollection ( )

◆ ReconstructedParticleCollection() [2/3]

eicd::ReconstructedParticleCollection::ReconstructedParticleCollection ( const ReconstructedParticleCollection )
delete

◆ ReconstructedParticleCollection() [3/3]

eicd::ReconstructedParticleCollection::ReconstructedParticleCollection ( ReconstructedParticleCollection &&  )
default

◆ ~ReconstructedParticleCollection()

eicd::ReconstructedParticleCollection::~ReconstructedParticleCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableReconstructedParticle eicd::ReconstructedParticleCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ReconstructedParticle eicd::ReconstructedParticleCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eicd::ReconstructedParticleCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ charge()

template<size_t arraysize>
const std::array< float, arraysize > eicd::ReconstructedParticleCollection::charge

◆ clear()

void eicd::ReconstructedParticleCollection::clear ( )
final

◆ covMatrix()

template<size_t arraysize>
const std::array< eicd::Cov4f, arraysize > eicd::ReconstructedParticleCollection::covMatrix

◆ create() [1/2]

MutableReconstructedParticle eicd::ReconstructedParticleCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableReconstructedParticle eicd::ReconstructedParticleCollection::create ( Args &&...  args)

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

◆ end() [1/2]

iterator eicd::ReconstructedParticleCollection::end ( )
inline

◆ end() [2/2]

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

◆ energy()

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

◆ getBuffers()

podio::CollectionBuffers eicd::ReconstructedParticleCollection::getBuffers ( )
final

Get the collection buffers for this collection.

◆ getDataTypeName()

std::string eicd::ReconstructedParticleCollection::getDataTypeName ( ) const
inlinefinal

fully qualified type name of stored POD elements - with namespace

◆ getID()

unsigned eicd::ReconstructedParticleCollection::getID ( ) const
inlinefinal

◆ getTypeName()

std::string eicd::ReconstructedParticleCollection::getTypeName ( ) const
inlinefinal

fully qualified type name

◆ getValueTypeName()

std::string eicd::ReconstructedParticleCollection::getValueTypeName ( ) const
inlinefinal

fully qualified type name of elements - with namespace

◆ goodnessOfPID()

template<size_t arraysize>
const std::array< float, arraysize > eicd::ReconstructedParticleCollection::goodnessOfPID

◆ isSubsetCollection()

bool eicd::ReconstructedParticleCollection::isSubsetCollection ( ) const
inlinefinal

◆ isValid()

bool eicd::ReconstructedParticleCollection::isValid ( ) const
inlinefinal

◆ mass()

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

◆ momentum()

template<size_t arraysize>
const std::array< edm4hep::Vector3f, arraysize > eicd::ReconstructedParticleCollection::momentum

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

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

◆ operator=() [2/2]

ReconstructedParticleCollection & eicd::ReconstructedParticleCollection::operator= ( ReconstructedParticleCollection &&  )
default

◆ operator[]() [1/2]

MutableReconstructedParticle eicd::ReconstructedParticleCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ReconstructedParticle eicd::ReconstructedParticleCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ PDG()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eicd::ReconstructedParticleCollection::PDG

◆ prepareAfterRead()

void eicd::ReconstructedParticleCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

void eicd::ReconstructedParticleCollection::prepareForWrite ( ) const
final

◆ push_back()

void eicd::ReconstructedParticleCollection::push_back ( ReconstructedParticle  object)

Append object to the collection.

◆ referencePoint()

template<size_t arraysize>
const std::array< edm4hep::Vector3f, arraysize > eicd::ReconstructedParticleCollection::referencePoint

◆ setID()

void eicd::ReconstructedParticleCollection::setID ( unsigned  ID)
inlinefinal

◆ setReferences()

bool eicd::ReconstructedParticleCollection::setReferences ( const podio::ICollectionProvider *  collectionProvider)
final

◆ setSubsetCollection()

void eicd::ReconstructedParticleCollection::setSubsetCollection ( bool  setSubset = true)
final

◆ size()

size_t eicd::ReconstructedParticleCollection::size ( ) const
final

number of elements in the collection

◆ type()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eicd::ReconstructedParticleCollection::type

Friends And Related Function Documentation

◆ ReconstructedParticleCollectionData


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