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