EDM4eic
EIC data model
|
#include <MCRecoParticleAssociationCollection.h>
Public Types | |
using | value_type = MCRecoParticleAssociation |
using | const_iterator = MCRecoParticleAssociationCollectionIterator |
using | iterator = MCRecoParticleAssociationMutableCollectionIterator |
Public Member Functions | |
MCRecoParticleAssociationCollection () | |
MCRecoParticleAssociationCollection (MCRecoParticleAssociationCollectionData &&data, bool isSubsetColl) | |
MCRecoParticleAssociationCollection (const MCRecoParticleAssociationCollection &)=delete | |
MCRecoParticleAssociationCollection & | operator= (const MCRecoParticleAssociationCollection &)=delete |
MCRecoParticleAssociationCollection (MCRecoParticleAssociationCollection &&)=default | |
MCRecoParticleAssociationCollection & | operator= (MCRecoParticleAssociationCollection &&)=default |
~MCRecoParticleAssociationCollection () | |
void | clear () final |
void | print (std::ostream &os=std::cout, bool flush=true) const final |
Print this collection to the passed stream. | |
MCRecoParticleAssociationCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO | |
MutableMCRecoParticleAssociation | create () |
Append a new object to the collection, and return this object. | |
template<typename... Args> | |
MutableMCRecoParticleAssociation | 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 |
MCRecoParticleAssociation | operator[] (std::size_t index) const |
Returns the const object of given index. | |
MutableMCRecoParticleAssociation | operator[] (std::size_t index) |
Returns the object of a given index. | |
MCRecoParticleAssociation | at (std::size_t index) const |
Returns the const object of given index. | |
MutableMCRecoParticleAssociation | at (std::size_t index) |
Returns the object of given index. | |
void | push_back (MutableMCRecoParticleAssociation object) |
Append object to the collection. | |
void | push_back (MCRecoParticleAssociation 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::MCRecoParticleAssociationCollection" |
static constexpr auto | valueTypeName = "edm4eic::MCRecoParticleAssociation" |
static constexpr auto | dataTypeName = "edm4eic::MCRecoParticleAssociationData" |
Friends | |
class | MCRecoParticleAssociationCollectionData |
A Collection is identified by an ID.
using edm4eic::MCRecoParticleAssociationCollection::const_iterator = MCRecoParticleAssociationCollectionIterator |
using edm4eic::MCRecoParticleAssociationCollection::iterator = MCRecoParticleAssociationMutableCollectionIterator |
edm4eic::MCRecoParticleAssociationCollection::MCRecoParticleAssociationCollection | ( | ) |
edm4eic::MCRecoParticleAssociationCollection::MCRecoParticleAssociationCollection | ( | MCRecoParticleAssociationCollectionData && | data, |
bool | isSubsetColl ) |
|
delete |
|
default |
edm4eic::MCRecoParticleAssociationCollection::~MCRecoParticleAssociationCollection | ( | ) |
MutableMCRecoParticleAssociation edm4eic::MCRecoParticleAssociationCollection::at | ( | std::size_t | index | ) |
Returns the object of given index.
MCRecoParticleAssociation edm4eic::MCRecoParticleAssociationCollection::at | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
final |
MutableMCRecoParticleAssociation edm4eic::MCRecoParticleAssociationCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableMCRecoParticleAssociation edm4eic::MCRecoParticleAssociationCollection::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 |
MutableMCRecoParticleAssociation edm4eic::MCRecoParticleAssociationCollection::operator[] | ( | std::size_t | index | ) |
Returns the object of a given index.
MCRecoParticleAssociation edm4eic::MCRecoParticleAssociationCollection::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::MCRecoParticleAssociationCollection::push_back | ( | MCRecoParticleAssociation | object | ) |
Append an object to the (subset) collection.
void edm4eic::MCRecoParticleAssociationCollection::push_back | ( | MutableMCRecoParticleAssociation | object | ) |
Append object to the collection.
std::vector< std::uint32_t > edm4eic::MCRecoParticleAssociationCollection::recID | ( | const size_t | nElem = 0 | ) | const |
|
inlinefinal |
|
final |
|
final |
std::vector< std::uint32_t > edm4eic::MCRecoParticleAssociationCollection::simID | ( | const size_t | nElem = 0 | ) | const |
|
final |
number of elements in the collection
std::vector< float > edm4eic::MCRecoParticleAssociationCollection::weight | ( | const size_t | nElem = 0 | ) | const |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |