EICd
EIC data model
|
#include <ReconstructedParticleCollection.h>
Public Types | |
using | const_iterator = ReconstructedParticleConstCollectionIterator |
using | iterator = ReconstructedParticleCollectionIterator |
Public Member Functions | |
ReconstructedParticleCollection () | |
ReconstructedParticleCollection (const ReconstructedParticleCollection &)=delete | |
ReconstructedParticleCollection & | operator= (const ReconstructedParticleCollection &)=delete |
~ReconstructedParticleCollection () | |
void | clear () override final |
ReconstructedParticleCollection * | operator-> () |
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 |
A Collection is identified by an ID.
using eic::ReconstructedParticleCollection::const_iterator = ReconstructedParticleConstCollectionIterator |
eic::ReconstructedParticleCollection::ReconstructedParticleCollection | ( | ) |
|
delete |
eic::ReconstructedParticleCollection::~ReconstructedParticleCollection | ( | ) |
|
inline |
Returns the pointer to the data buffer.
ReconstructedParticle eic::ReconstructedParticleCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
ConstReconstructedParticle eic::ReconstructedParticleCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< std::int16_t, arraysize > eic::ReconstructedParticleCollection::charge |
|
finaloverride |
ReconstructedParticle eic::ReconstructedParticleCollection::create | ( | ) |
Append a new object to the collection, and return this object.
ReconstructedParticle eic::ReconstructedParticleCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
const std::array< eic::Direction, arraysize > eic::ReconstructedParticleCollection::direction |
|
inline |
|
inline |
const std::array< float, arraysize > eic::ReconstructedParticleCollection::energy |
|
inlinefinaloverride |
returns the address of the pointer to the data buffer
|
inlinefinaloverride |
|
inlineoverride |
fully qualified type name of elements - with namespace
const std::array< eic::Index, arraysize > eic::ReconstructedParticleCollection::ID |
|
inlinefinaloverride |
const std::array< float, arraysize > eic::ReconstructedParticleCollection::mass |
const std::array< float, arraysize > eic::ReconstructedParticleCollection::momentum |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
ReconstructedParticle eic::ReconstructedParticleCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
ConstReconstructedParticle eic::ReconstructedParticleCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< eic::VectorXYZ, arraysize > eic::ReconstructedParticleCollection::p |
const std::array< std::int32_t, arraysize > eic::ReconstructedParticleCollection::pid |
|
finaloverride |
|
finaloverride |
void eic::ReconstructedParticleCollection::push_back | ( | ConstReconstructedParticle | object | ) |
Append object to the collection.
|
inlinefinaloverride |
|
finaloverride |
|
inlinefinaloverride |
|
finaloverride |
|
finaloverride |
number of elements in the collection
const std::array< std::int16_t, arraysize > eic::ReconstructedParticleCollection::status |
const std::array< float, arraysize > eic::ReconstructedParticleCollection::time |
const std::array< eic::VectorXYZ, arraysize > eic::ReconstructedParticleCollection::v |
|
inlineoverride |
const std::array< eic::Weight, arraysize > eic::ReconstructedParticleCollection::weight |