EDM4eic
EIC data model
|
#include <MCRecoTrackParticleAssociationCollection.h>
Public Types | |
using | value_type = MCRecoTrackParticleAssociation |
using | const_iterator = MCRecoTrackParticleAssociationCollectionIterator |
using | iterator = MCRecoTrackParticleAssociationMutableCollectionIterator |
Public Member Functions | |
MCRecoTrackParticleAssociationCollection () | |
MCRecoTrackParticleAssociationCollection (MCRecoTrackParticleAssociationCollectionData &&data, bool isSubsetColl) | |
MCRecoTrackParticleAssociationCollection (const MCRecoTrackParticleAssociationCollection &)=delete | |
MCRecoTrackParticleAssociationCollection & | operator= (const MCRecoTrackParticleAssociationCollection &)=delete |
MCRecoTrackParticleAssociationCollection (MCRecoTrackParticleAssociationCollection &&)=default | |
MCRecoTrackParticleAssociationCollection & | operator= (MCRecoTrackParticleAssociationCollection &&)=default |
~MCRecoTrackParticleAssociationCollection () | |
void | clear () final |
void | print (std::ostream &os=std::cout, bool flush=true) const final |
Print this collection to the passed stream. | |
MCRecoTrackParticleAssociationCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO | |
MutableMCRecoTrackParticleAssociation | create () |
Append a new object to the collection, and return this object. | |
template<typename... Args> | |
MutableMCRecoTrackParticleAssociation | create (Args &&... args) |
std::size_t | size () const final |
number of elements in the collection | |
bool | empty () const final |
Is the collection empty. | |
const std::string_view | getTypeName () const final |
fully qualified type name | |
const std::string_view | getValueTypeName () const final |
fully qualified type name of elements - with namespace | |
const std::string_view | getDataTypeName () const final |
fully qualified type name of stored POD elements - with namespace | |
podio::SchemaVersionT | getSchemaVersion () const final |
schema version | |
bool | isSubsetCollection () const final |
void | setSubsetCollection (bool setSubset=true) final |
MCRecoTrackParticleAssociation | operator[] (std::size_t index) const |
Returns the const object of given index. | |
MutableMCRecoTrackParticleAssociation | operator[] (std::size_t index) |
Returns the object of a given index. | |
MCRecoTrackParticleAssociation | at (std::size_t index) const |
Returns the const object of given index. | |
MutableMCRecoTrackParticleAssociation | at (std::size_t index) |
Returns the object of given index. | |
void | push_back (MutableMCRecoTrackParticleAssociation object) |
Append object to the collection. | |
void | push_back (MCRecoTrackParticleAssociation object) |
Append an object to the (subset) collection. | |
void | prepareForWrite () const final |
void | prepareAfterRead () final |
bool | setReferences (const podio::ICollectionProvider *collectionProvider) final |
podio::CollectionWriteBuffers | getBuffers () final |
Get the collection buffers for this collection. | |
void | setID (uint32_t ID) final |
uint32_t | getID () const final |
bool | isValid () const final |
size_t | getDatamodelRegistryIndex () const final |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
std::vector< std::uint32_t > | simID (const size_t nElem=0) const |
std::vector< std::uint32_t > | recID (const size_t nElem=0) const |
std::vector< float > | weight (const size_t nElem=0) const |
Static Public Attributes | |
static constexpr auto | typeName = "edm4eic::MCRecoTrackParticleAssociationCollection" |
static constexpr auto | valueTypeName = "edm4eic::MCRecoTrackParticleAssociation" |
static constexpr auto | dataTypeName = "edm4eic::MCRecoTrackParticleAssociationData" |
Friends | |
class | MCRecoTrackParticleAssociationCollectionData |
A Collection is identified by an ID.
using edm4eic::MCRecoTrackParticleAssociationCollection::const_iterator = MCRecoTrackParticleAssociationCollectionIterator |
using edm4eic::MCRecoTrackParticleAssociationCollection::iterator = MCRecoTrackParticleAssociationMutableCollectionIterator |
using edm4eic::MCRecoTrackParticleAssociationCollection::value_type = MCRecoTrackParticleAssociation |
edm4eic::MCRecoTrackParticleAssociationCollection::MCRecoTrackParticleAssociationCollection | ( | ) |
edm4eic::MCRecoTrackParticleAssociationCollection::MCRecoTrackParticleAssociationCollection | ( | MCRecoTrackParticleAssociationCollectionData && | data, |
bool | isSubsetColl ) |
|
delete |
|
default |
edm4eic::MCRecoTrackParticleAssociationCollection::~MCRecoTrackParticleAssociationCollection | ( | ) |
MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::at | ( | std::size_t | index | ) |
Returns the object of given index.
MCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::at | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
final |
MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
final |
Is the collection empty.
|
inline |
|
inline |
|
final |
Get the collection buffers for this collection.
|
final |
|
inlinefinal |
fully qualified type name of stored POD elements - with namespace
|
inlinefinal |
|
final |
schema version
|
inlinefinal |
fully qualified type name
|
inlinefinal |
fully qualified type name of elements - with namespace
|
inlinefinal |
|
inlinefinal |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::operator[] | ( | std::size_t | index | ) |
Returns the object of a given index.
MCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::operator[] | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
final |
|
final |
|
final |
Print this collection to the passed stream.
void edm4eic::MCRecoTrackParticleAssociationCollection::push_back | ( | MCRecoTrackParticleAssociation | object | ) |
Append an object to the (subset) collection.
void edm4eic::MCRecoTrackParticleAssociationCollection::push_back | ( | MutableMCRecoTrackParticleAssociation | object | ) |
Append object to the collection.
std::vector< std::uint32_t > edm4eic::MCRecoTrackParticleAssociationCollection::recID | ( | const size_t | nElem = 0 | ) | const |
|
inlinefinal |
|
final |
|
final |
std::vector< std::uint32_t > edm4eic::MCRecoTrackParticleAssociationCollection::simID | ( | const size_t | nElem = 0 | ) | const |
|
final |
number of elements in the collection
std::vector< float > edm4eic::MCRecoTrackParticleAssociationCollection::weight | ( | const size_t | nElem = 0 | ) | const |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |