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