EICd
EIC data model
|
#include <TrackerHitCollection.h>
Public Types | |
using | const_iterator = TrackerHitCollectionIterator |
using | iterator = TrackerHitMutableCollectionIterator |
Public Member Functions | |
TrackerHitCollection () | |
TrackerHitCollection (const TrackerHitCollection &)=delete | |
TrackerHitCollection & | operator= (const TrackerHitCollection &)=delete |
TrackerHitCollection (TrackerHitCollection &&)=default | |
TrackerHitCollection & | operator= (TrackerHitCollection &&)=default |
~TrackerHitCollection () | |
void | clear () final |
TrackerHitCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
MutableTrackerHit | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
MutableTrackerHit | 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 |
TrackerHit | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
MutableTrackerHit | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
TrackerHit | at (unsigned int index) const |
Returns the const object of given index. More... | |
MutableTrackerHit | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (TrackerHit 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::uint64_t, arraysize > | cellID () const |
template<size_t arraysize> | |
const std::array< edm4hep::Vector3f, arraysize > | position () const |
template<size_t arraysize> | |
const std::array< eicd::CovDiag3f, arraysize > | positionError () 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 > | edep () const |
template<size_t arraysize> | |
const std::array< float, arraysize > | edepError () const |
Friends | |
class | TrackerHitCollectionData |
A Collection is identified by an ID.
eicd::TrackerHitCollection::TrackerHitCollection | ( | ) |
|
delete |
|
default |
eicd::TrackerHitCollection::~TrackerHitCollection | ( | ) |
MutableTrackerHit eicd::TrackerHitCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
TrackerHit eicd::TrackerHitCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< std::uint64_t, arraysize > eicd::TrackerHitCollection::cellID |
|
final |
MutableTrackerHit eicd::TrackerHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableTrackerHit eicd::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 > eicd::TrackerHitCollection::edep |
const std::array< float, arraysize > eicd::TrackerHitCollection::edepError |
|
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 |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableTrackerHit eicd::TrackerHitCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
TrackerHit eicd::TrackerHitCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< edm4hep::Vector3f, arraysize > eicd::TrackerHitCollection::position |
const std::array< eicd::CovDiag3f, arraysize > eicd::TrackerHitCollection::positionError |
|
final |
|
final |
void eicd::TrackerHitCollection::push_back | ( | TrackerHit | object | ) |
Append object to the collection.
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
const std::array< float, arraysize > eicd::TrackerHitCollection::time |
const std::array< float, arraysize > eicd::TrackerHitCollection::timeError |
|
friend |