EDM4eic
EIC data model
|
#include <TrackParametersCollection.h>
Public Types | |
using | value_type = TrackParameters |
using | const_iterator = TrackParametersCollectionIterator |
using | iterator = TrackParametersMutableCollectionIterator |
Public Member Functions | |
TrackParametersCollection () | |
TrackParametersCollection (TrackParametersCollectionData &&data, bool isSubsetColl) | |
TrackParametersCollection (const TrackParametersCollection &)=delete | |
TrackParametersCollection & | operator= (const TrackParametersCollection &)=delete |
TrackParametersCollection (TrackParametersCollection &&)=default | |
TrackParametersCollection & | operator= (TrackParametersCollection &&)=default |
~TrackParametersCollection () | |
void | clear () final |
void | print (std::ostream &os=std::cout, bool flush=true) const final |
Print this collection to the passed stream. | |
TrackParametersCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO | |
MutableTrackParameters | create () |
Append a new object to the collection, and return this object. | |
template<typename... Args> | |
MutableTrackParameters | 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 |
TrackParameters | operator[] (std::size_t index) const |
Returns the const object of given index. | |
MutableTrackParameters | operator[] (std::size_t index) |
Returns the object of a given index. | |
TrackParameters | at (std::size_t index) const |
Returns the const object of given index. | |
MutableTrackParameters | at (std::size_t index) |
Returns the object of given index. | |
void | push_back (MutableTrackParameters object) |
Append object to the collection. | |
void | push_back (TrackParameters 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::int32_t > | type (const size_t nElem=0) const |
std::vector< std::uint64_t > | surface (const size_t nElem=0) const |
std::vector< edm4hep::Vector2f > | loc (const size_t nElem=0) const |
std::vector< float > | theta (const size_t nElem=0) const |
std::vector< float > | phi (const size_t nElem=0) const |
std::vector< float > | qOverP (const size_t nElem=0) const |
std::vector< float > | time (const size_t nElem=0) const |
std::vector< std::int32_t > | pdg (const size_t nElem=0) const |
std::vector< edm4eic::Cov6f > | covariance (const size_t nElem=0) const |
Static Public Attributes | |
static constexpr auto | typeName = "edm4eic::TrackParametersCollection" |
static constexpr auto | valueTypeName = "edm4eic::TrackParameters" |
static constexpr auto | dataTypeName = "edm4eic::TrackParametersData" |
Friends | |
class | TrackParametersCollectionData |
A Collection is identified by an ID.
edm4eic::TrackParametersCollection::TrackParametersCollection | ( | ) |
edm4eic::TrackParametersCollection::TrackParametersCollection | ( | TrackParametersCollectionData && | data, |
bool | isSubsetColl ) |
|
delete |
|
default |
edm4eic::TrackParametersCollection::~TrackParametersCollection | ( | ) |
MutableTrackParameters edm4eic::TrackParametersCollection::at | ( | std::size_t | index | ) |
Returns the object of given index.
TrackParameters edm4eic::TrackParametersCollection::at | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
final |
std::vector< edm4eic::Cov6f > edm4eic::TrackParametersCollection::covariance | ( | const size_t | nElem = 0 | ) | const |
MutableTrackParameters edm4eic::TrackParametersCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableTrackParameters edm4eic::TrackParametersCollection::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< edm4hep::Vector2f > edm4eic::TrackParametersCollection::loc | ( | const size_t | nElem = 0 | ) | const |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableTrackParameters edm4eic::TrackParametersCollection::operator[] | ( | std::size_t | index | ) |
Returns the object of a given index.
TrackParameters edm4eic::TrackParametersCollection::operator[] | ( | std::size_t | index | ) | const |
Returns the const object of given index.
std::vector< std::int32_t > edm4eic::TrackParametersCollection::pdg | ( | const size_t | nElem = 0 | ) | const |
std::vector< float > edm4eic::TrackParametersCollection::phi | ( | const size_t | nElem = 0 | ) | const |
|
final |
|
final |
|
final |
Print this collection to the passed stream.
void edm4eic::TrackParametersCollection::push_back | ( | MutableTrackParameters | object | ) |
Append object to the collection.
void edm4eic::TrackParametersCollection::push_back | ( | TrackParameters | object | ) |
Append an object to the (subset) collection.
std::vector< float > edm4eic::TrackParametersCollection::qOverP | ( | const size_t | nElem = 0 | ) | const |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
std::vector< std::uint64_t > edm4eic::TrackParametersCollection::surface | ( | const size_t | nElem = 0 | ) | const |
std::vector< float > edm4eic::TrackParametersCollection::theta | ( | const size_t | nElem = 0 | ) | const |
std::vector< float > edm4eic::TrackParametersCollection::time | ( | const size_t | nElem = 0 | ) | const |
std::vector< std::int32_t > edm4eic::TrackParametersCollection::type | ( | const size_t | nElem = 0 | ) | const |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |