EICd
EIC data model
|
#include <RawPMTHitCollection.h>
Public Types | |
using | const_iterator = RawPMTHitCollectionIterator |
using | iterator = RawPMTHitMutableCollectionIterator |
Public Member Functions | |
RawPMTHitCollection () | |
RawPMTHitCollection (const RawPMTHitCollection &)=delete | |
RawPMTHitCollection & | operator= (const RawPMTHitCollection &)=delete |
RawPMTHitCollection (RawPMTHitCollection &&)=default | |
RawPMTHitCollection & | operator= (RawPMTHitCollection &&)=default |
~RawPMTHitCollection () | |
void | clear () final |
RawPMTHitCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
MutableRawPMTHit | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
MutableRawPMTHit | 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 |
RawPMTHit | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
MutableRawPMTHit | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
RawPMTHit | at (unsigned int index) const |
Returns the const object of given index. More... | |
MutableRawPMTHit | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (RawPMTHit 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< std::uint32_t, arraysize > | integral () const |
template<size_t arraysize> | |
const std::array< std::uint32_t, arraysize > | timeStamp () const |
Friends | |
class | RawPMTHitCollectionData |
A Collection is identified by an ID.
eicd::RawPMTHitCollection::RawPMTHitCollection | ( | ) |
|
delete |
|
default |
eicd::RawPMTHitCollection::~RawPMTHitCollection | ( | ) |
MutableRawPMTHit eicd::RawPMTHitCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
RawPMTHit eicd::RawPMTHitCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< std::uint64_t, arraysize > eicd::RawPMTHitCollection::cellID |
|
final |
MutableRawPMTHit eicd::RawPMTHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutableRawPMTHit eicd::RawPMTHitCollection::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
const std::array< std::uint32_t, arraysize > eicd::RawPMTHitCollection::integral |
|
inlinefinal |
|
inlinefinal |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutableRawPMTHit eicd::RawPMTHitCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
RawPMTHit eicd::RawPMTHitCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
final |
|
final |
void eicd::RawPMTHitCollection::push_back | ( | RawPMTHit | object | ) |
Append object to the collection.
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
const std::array< std::uint32_t, arraysize > eicd::RawPMTHitCollection::timeStamp |
|
friend |