EICd
EIC data model
|
#include <TrackerHitCollection.h>
Public Types | |
using | const_iterator = TrackerHitConstCollectionIterator |
using | iterator = TrackerHitCollectionIterator |
Public Member Functions | |
TrackerHitCollection () | |
TrackerHitCollection (const TrackerHitCollection &)=delete | |
TrackerHitCollection & | operator= (const TrackerHitCollection &)=delete |
~TrackerHitCollection () | |
void | clear () override final |
TrackerHitCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
TrackerHit | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
TrackerHit | create (Args &&... args) |
size_t | size () const override final |
number of elements in the collection More... | |
std::string | getValueTypeName () const override |
fully qualified type name of elements - with namespace More... | |
ConstTrackerHit | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
TrackerHit | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
ConstTrackerHit | at (unsigned int index) const |
Returns the const object of given index. More... | |
TrackerHit | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (ConstTrackerHit object) |
Append object to the collection. More... | |
void | prepareForWrite () override final |
void | prepareAfterRead () override final |
void | setBuffer (void *address) override final |
bool | setReferences (const podio::ICollectionProvider *collectionProvider) override final |
podio::CollRefCollection * | referenceCollections () override final |
podio::VectorMembersInfo * | vectorMembers () override |
void | setID (unsigned ID) override final |
unsigned | getID () const override final |
bool | isValid () const override final |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void * | getBufferAddress () override final |
returns the address of the pointer to the data buffer More... | |
std::vector< TrackerHitData > * | _getBuffer () |
Returns the pointer to the data buffer. More... | |
template<size_t arraysize> | |
const std::array< eic::Index, arraysize > | ID () const |
template<size_t arraysize> | |
const std::array< std::int64_t, arraysize > | cellID () const |
template<size_t arraysize> | |
const std::array< eic::VectorXYZT, arraysize > | position () const |
template<size_t arraysize> | |
const std::array< eic::CovDiagXYZT, arraysize > | covMatrix () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | edep () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | edepError () const |
A Collection is identified by an ID.
eic::TrackerHitCollection::TrackerHitCollection | ( | ) |
|
delete |
eic::TrackerHitCollection::~TrackerHitCollection | ( | ) |
|
inline |
Returns the pointer to the data buffer.
TrackerHit eic::TrackerHitCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
ConstTrackerHit eic::TrackerHitCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< std::int64_t, arraysize > eic::TrackerHitCollection::cellID |
|
finaloverride |
const std::array< eic::CovDiagXYZT, arraysize > eic::TrackerHitCollection::covMatrix |
TrackerHit eic::TrackerHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
TrackerHit eic::TrackerHitCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
const std::array< float, arraysize > eic::TrackerHitCollection::edep |
const std::array< float, arraysize > eic::TrackerHitCollection::edepError |
|
inline |
|
inline |
|
inlinefinaloverride |
returns the address of the pointer to the data buffer
|
inlinefinaloverride |
|
inlineoverride |
fully qualified type name of elements - with namespace
const std::array< eic::Index, arraysize > eic::TrackerHitCollection::ID |
|
inlinefinaloverride |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
TrackerHit eic::TrackerHitCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
ConstTrackerHit eic::TrackerHitCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< eic::VectorXYZT, arraysize > eic::TrackerHitCollection::position |
|
finaloverride |
|
finaloverride |
void eic::TrackerHitCollection::push_back | ( | ConstTrackerHit | object | ) |
Append object to the collection.
|
inlinefinaloverride |
|
finaloverride |
|
inlinefinaloverride |
|
finaloverride |
|
finaloverride |
number of elements in the collection
|
inlineoverride |