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