EICd
EIC data model
|
#include <TrajectoryCollection.h>
Public Types | |
using | const_iterator = TrajectoryCollectionIterator |
using | iterator = TrajectoryMutableCollectionIterator |
Public Member Functions | |
TrajectoryCollection () | |
TrajectoryCollection (const TrajectoryCollection &)=delete | |
TrajectoryCollection & | operator= (const TrajectoryCollection &)=delete |
TrajectoryCollection (TrajectoryCollection &&)=default | |
TrajectoryCollection & | operator= (TrajectoryCollection &&)=default |
~TrajectoryCollection () | |
void | clear () final |
TrajectoryCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
MutableTrajectory | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
MutableTrajectory | 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 |
Trajectory | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
MutableTrajectory | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
Trajectory | at (unsigned int index) const |
Returns the const object of given index. More... | |
MutableTrajectory | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (Trajectory 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::uint32_t, arraysize > | type () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | nStates () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | nMeasurements () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | nOutliers () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | nHoles () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | chi2 () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | ndf () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | nSharedHits () const |
Friends | |
class | TrajectoryCollectionData |
A Collection is identified by an ID.
eicd::TrajectoryCollection::TrajectoryCollection | ( | ) |
|
delete |
|
default |
eicd::TrajectoryCollection::~TrajectoryCollection | ( | ) |
MutableTrajectory eicd::TrajectoryCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
Trajectory eicd::TrajectoryCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< float, arraysize > eicd::TrajectoryCollection::chi2 |
|
final |
MutableTrajectory eicd::TrajectoryCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableTrajectory eicd::TrajectoryCollection::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< std::uint32_t, arraysize > eicd::TrajectoryCollection::ndf |
const std::array< std::uint32_t, arraysize > eicd::TrajectoryCollection::nHoles |
const std::array< std::uint32_t, arraysize > eicd::TrajectoryCollection::nMeasurements |
const std::array< std::uint32_t, arraysize > eicd::TrajectoryCollection::nOutliers |
const std::array< std::uint32_t, arraysize > eicd::TrajectoryCollection::nSharedHits |
const std::array< std::uint32_t, arraysize > eicd::TrajectoryCollection::nStates |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableTrajectory eicd::TrajectoryCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
Trajectory eicd::TrajectoryCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
final |
|
final |
void eicd::TrajectoryCollection::push_back | ( | Trajectory | object | ) |
Append object to the collection.
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
const std::array< std::uint32_t, arraysize > eicd::TrajectoryCollection::type |
|
friend |