EICd
EIC data model
|
#include <PMTHitCollection.h>
Public Types | |
using | const_iterator = PMTHitConstCollectionIterator |
using | iterator = PMTHitCollectionIterator |
Public Member Functions | |
PMTHitCollection () | |
PMTHitCollection (const PMTHitCollection &)=delete | |
PMTHitCollection & | operator= (const PMTHitCollection &)=delete |
~PMTHitCollection () | |
void | clear () override final |
PMTHitCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
PMTHit | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
PMTHit | 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... | |
ConstPMTHit | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
PMTHit | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
ConstPMTHit | at (unsigned int index) const |
Returns the const object of given index. More... | |
PMTHit | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (ConstPMTHit 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< PMTHitData > * | _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< float, arraysize > | npe () 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< eic::VectorXYZ, arraysize > | position () const |
template<size_t arraysize> | |
const std::array< eic::VectorXYZ, arraysize > | local () const |
template<size_t arraysize> | |
const std::array< eic::VectorXYZ, arraysize > | dimension () const |
A Collection is identified by an ID.
eic::PMTHitCollection::PMTHitCollection | ( | ) |
|
delete |
eic::PMTHitCollection::~PMTHitCollection | ( | ) |
|
inline |
Returns the pointer to the data buffer.
PMTHit eic::PMTHitCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
ConstPMTHit eic::PMTHitCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< std::int64_t, arraysize > eic::PMTHitCollection::cellID |
|
finaloverride |
PMTHit eic::PMTHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
PMTHit eic::PMTHitCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
const std::array< eic::VectorXYZ, arraysize > eic::PMTHitCollection::dimension |
|
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::PMTHitCollection::ID |
|
inlinefinaloverride |
const std::array< eic::VectorXYZ, arraysize > eic::PMTHitCollection::local |
const std::array< float, arraysize > eic::PMTHitCollection::npe |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
PMTHit eic::PMTHitCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
ConstPMTHit eic::PMTHitCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< eic::VectorXYZ, arraysize > eic::PMTHitCollection::position |
|
finaloverride |
|
finaloverride |
void eic::PMTHitCollection::push_back | ( | ConstPMTHit | object | ) |
Append object to the collection.
|
inlinefinaloverride |
|
finaloverride |
|
inlinefinaloverride |
|
finaloverride |
|
finaloverride |
number of elements in the collection
const std::array< float, arraysize > eic::PMTHitCollection::time |
const std::array< float, arraysize > eic::PMTHitCollection::timeError |
|
inlineoverride |