EICd
EIC data model
|
#include <ReconstructedParticleCollection.h>
Public Types | |
using | const_iterator = ReconstructedParticleCollectionIterator |
using | iterator = ReconstructedParticleMutableCollectionIterator |
Public Member Functions | |
ReconstructedParticleCollection () | |
ReconstructedParticleCollection (const ReconstructedParticleCollection &)=delete | |
ReconstructedParticleCollection & | operator= (const ReconstructedParticleCollection &)=delete |
ReconstructedParticleCollection (ReconstructedParticleCollection &&)=default | |
ReconstructedParticleCollection & | operator= (ReconstructedParticleCollection &&)=default |
~ReconstructedParticleCollection () | |
void | clear () final |
ReconstructedParticleCollection * | operator-> () |
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 |
A Collection is identified by an ID.
using eicd::ReconstructedParticleCollection::const_iterator = ReconstructedParticleCollectionIterator |
using eicd::ReconstructedParticleCollection::iterator = ReconstructedParticleMutableCollectionIterator |
eicd::ReconstructedParticleCollection::ReconstructedParticleCollection | ( | ) |
|
delete |
|
default |
eicd::ReconstructedParticleCollection::~ReconstructedParticleCollection | ( | ) |
MutableReconstructedParticle eicd::ReconstructedParticleCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
ReconstructedParticle eicd::ReconstructedParticleCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< float, arraysize > eicd::ReconstructedParticleCollection::charge |
|
final |
const std::array< eicd::Cov4f, arraysize > eicd::ReconstructedParticleCollection::covMatrix |
MutableReconstructedParticle eicd::ReconstructedParticleCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableReconstructedParticle eicd::ReconstructedParticleCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
inline |
|
inline |
const std::array< float, arraysize > eicd::ReconstructedParticleCollection::energy |
|
final |
Get the collection buffers for this collection.
|
inlinefinal |
fully qualified type name of stored POD elements - with namespace
|
inlinefinal |
|
inlinefinal |
fully qualified type name
|
inlinefinal |
fully qualified type name of elements - with namespace
const std::array< float, arraysize > eicd::ReconstructedParticleCollection::goodnessOfPID |
|
inlinefinal |
|
inlinefinal |
const std::array< float, arraysize > eicd::ReconstructedParticleCollection::mass |
const std::array< edm4hep::Vector3f, arraysize > eicd::ReconstructedParticleCollection::momentum |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableReconstructedParticle eicd::ReconstructedParticleCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
ReconstructedParticle eicd::ReconstructedParticleCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< std::int32_t, arraysize > eicd::ReconstructedParticleCollection::PDG |
|
final |
|
final |
void eicd::ReconstructedParticleCollection::push_back | ( | ReconstructedParticle | object | ) |
Append object to the collection.
const std::array< edm4hep::Vector3f, arraysize > eicd::ReconstructedParticleCollection::referencePoint |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
const std::array< std::int32_t, arraysize > eicd::ReconstructedParticleCollection::type |
|
friend |