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