EICd
EIC data model
|
#include <PMTHitCollection.h>
Public Types | |
using | const_iterator = PMTHitCollectionIterator |
using | iterator = PMTHitMutableCollectionIterator |
Public Member Functions | |
PMTHitCollection () | |
PMTHitCollection (const PMTHitCollection &)=delete | |
PMTHitCollection & | operator= (const PMTHitCollection &)=delete |
PMTHitCollection (PMTHitCollection &&)=default | |
PMTHitCollection & | operator= (PMTHitCollection &&)=default |
~PMTHitCollection () | |
void | clear () final |
PMTHitCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
MutablePMTHit | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
MutablePMTHit | 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 |
PMTHit | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
MutablePMTHit | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
PMTHit | at (unsigned int index) const |
Returns the const object of given index. More... | |
MutablePMTHit | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (PMTHit 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< 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< edm4hep::Vector3f, arraysize > | position () const |
template<size_t arraysize> | |
const std::array< edm4hep::Vector3f, arraysize > | dimension () const |
template<size_t arraysize> | |
const std::array< std::int32_t, arraysize > | sector () const |
template<size_t arraysize> | |
const std::array< edm4hep::Vector3f, arraysize > | local () const |
Friends | |
class | PMTHitCollectionData |
A Collection is identified by an ID.
eicd::PMTHitCollection::PMTHitCollection | ( | ) |
|
delete |
|
default |
eicd::PMTHitCollection::~PMTHitCollection | ( | ) |
MutablePMTHit eicd::PMTHitCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
PMTHit eicd::PMTHitCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
const std::array< std::uint64_t, arraysize > eicd::PMTHitCollection::cellID |
|
final |
MutablePMTHit eicd::PMTHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
MutablePMTHit eicd::PMTHitCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
const std::array< edm4hep::Vector3f, arraysize > eicd::PMTHitCollection::dimension |
|
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 |
const std::array< edm4hep::Vector3f, arraysize > eicd::PMTHitCollection::local |
const std::array< float, arraysize > eicd::PMTHitCollection::npe |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
MutablePMTHit eicd::PMTHitCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
PMTHit eicd::PMTHitCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
const std::array< edm4hep::Vector3f, arraysize > eicd::PMTHitCollection::position |
|
final |
|
final |
void eicd::PMTHitCollection::push_back | ( | PMTHit | object | ) |
Append object to the collection.
const std::array< std::int32_t, arraysize > eicd::PMTHitCollection::sector |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
const std::array< float, arraysize > eicd::PMTHitCollection::time |
const std::array< float, arraysize > eicd::PMTHitCollection::timeError |
|
friend |