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