EICd
EIC data model
|
#include <TrackParametersCollection.h>
Public Types | |
using | const_iterator = TrackParametersCollectionIterator |
using | iterator = TrackParametersMutableCollectionIterator |
Public Member Functions | |
TrackParametersCollection () | |
TrackParametersCollection (const TrackParametersCollection &)=delete | |
TrackParametersCollection & | operator= (const TrackParametersCollection &)=delete |
TrackParametersCollection (TrackParametersCollection &&)=default | |
TrackParametersCollection & | operator= (TrackParametersCollection &&)=default |
~TrackParametersCollection () | |
void | clear () final |
TrackParametersCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
MutableTrackParameters | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
MutableTrackParameters | create (Args &&... args) |
size_t | size () const final |
number of elements in the collection More... | |
std::string | getTypeName () const final |
fully qualified type name More... | |
std::string | getValueTypeName () const final |
fully qualified type name of elements - with namespace More... | |
std::string | getDataTypeName () const final |
fully qualified type name of stored POD elements - with namespace More... | |
bool | isSubsetCollection () const final |
void | setSubsetCollection (bool setSubset=true) final |
TrackParameters | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
MutableTrackParameters | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
TrackParameters | at (unsigned int index) const |
Returns the const object of given index. More... | |
MutableTrackParameters | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (TrackParameters object) |
Append object to the collection. More... | |
void | prepareForWrite () const final |
void | prepareAfterRead () final |
bool | setReferences (const podio::ICollectionProvider *collectionProvider) final |
podio::CollectionBuffers | getBuffers () final |
Get the collection buffers for this collection. More... | |
void | setID (unsigned ID) final |
unsigned | getID () const final |
bool | isValid () const final |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
template<size_t arraysize> | |
const std::array< std::int32_t, arraysize > | type () const |
template<size_t arraysize> | |
const std::array< edm4hep::Vector2f, arraysize > | loc () const |
template<size_t arraysize> | |
const std::array< eicd::Cov2f, arraysize > | locError () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | theta () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | phi () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | qOverP () const |
template<size_t arraysize> | |
const std::array< eicd::Cov3f, arraysize > | momentumError () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | time () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | timeError () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | charge () const |
Friends | |
class | TrackParametersCollectionData |
A Collection is identified by an ID.
eicd::TrackParametersCollection::TrackParametersCollection | ( | ) |
|
delete |
|
default |
eicd::TrackParametersCollection::~TrackParametersCollection | ( | ) |
MutableTrackParameters eicd::TrackParametersCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
TrackParameters eicd::TrackParametersCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< float, arraysize > eicd::TrackParametersCollection::charge |
|
final |
MutableTrackParameters eicd::TrackParametersCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableTrackParameters eicd::TrackParametersCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
inline |
|
inline |
|
final |
Get the collection buffers for this collection.
|
inlinefinal |
fully qualified type name of stored POD elements - with namespace
|
inlinefinal |
|
inlinefinal |
fully qualified type name
|
inlinefinal |
fully qualified type name of elements - with namespace
|
inlinefinal |
|
inlinefinal |
const std::array< edm4hep::Vector2f, arraysize > eicd::TrackParametersCollection::loc |
const std::array< eicd::Cov2f, arraysize > eicd::TrackParametersCollection::locError |
const std::array< eicd::Cov3f, arraysize > eicd::TrackParametersCollection::momentumError |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableTrackParameters eicd::TrackParametersCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
TrackParameters eicd::TrackParametersCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< float, arraysize > eicd::TrackParametersCollection::phi |
|
final |
|
final |
void eicd::TrackParametersCollection::push_back | ( | TrackParameters | object | ) |
Append object to the collection.
const std::array< float, arraysize > eicd::TrackParametersCollection::qOverP |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
const std::array< float, arraysize > eicd::TrackParametersCollection::theta |
const std::array< float, arraysize > eicd::TrackParametersCollection::time |
const std::array< float, arraysize > eicd::TrackParametersCollection::timeError |
const std::array< std::int32_t, arraysize > eicd::TrackParametersCollection::type |
|
friend |