A Collection is identified by an ID. More...
#include <CalorimeterHitCollection.h>
Public Types | |
using | const_iterator = const CalorimeterHitCollectionIterator |
Public Member Functions | |
CalorimeterHitCollection () | |
~CalorimeterHitCollection () | |
void | clear () override final |
CalorimeterHitCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
CalorimeterHit | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
CalorimeterHit | create (Args &&... args) |
Append a new object to the collection, and return this object. More... | |
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... | |
const CalorimeterHit | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
CalorimeterHit | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
const CalorimeterHit | at (unsigned int index) const |
Returns the const object of given index. More... | |
CalorimeterHit | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (ConstCalorimeterHit 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 |
const const_iterator | begin () const |
const const_iterator | end () const |
void * | getBufferAddress () override final |
returns the address of the pointer to the data buffer More... | |
std::vector< CalorimeterHitData > * | _getBuffer () |
Returns the pointer to the data buffer. More... | |
template<size_t arraysize> | |
const std::array< long long, arraysize > | cellID () const |
template<size_t arraysize> | |
const std::array< long, arraysize > | flag () const |
template<size_t arraysize> | |
const std::array< long, arraysize > | g4ID () const |
template<size_t arraysize> | |
const std::array< dd4pod::FourVector, arraysize > | position () const |
template<size_t arraysize> | |
const std::array< dd4pod::MonteCarloContrib, arraysize > | truth () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | energyDeposit () const |
Detailed Description
A Collection is identified by an ID.
Definition at line 50 of file CalorimeterHitCollection.h.
Member Typedef Documentation
◆ const_iterator
Definition at line 53 of file CalorimeterHitCollection.h.
Constructor & Destructor Documentation
◆ CalorimeterHitCollection()
dd4pod::CalorimeterHitCollection::CalorimeterHitCollection | ( | ) |
Definition at line 13 of file CalorimeterHitCollection.cc.
◆ ~CalorimeterHitCollection()
dd4pod::CalorimeterHitCollection::~CalorimeterHitCollection | ( | ) |
Definition at line 18 of file CalorimeterHitCollection.cc.
Member Function Documentation
◆ _getBuffer()
|
inline |
Returns the pointer to the data buffer.
Definition at line 128 of file CalorimeterHitCollection.h.
◆ at() [1/2]
CalorimeterHit dd4pod::CalorimeterHitCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
Definition at line 35 of file CalorimeterHitCollection.cc.
◆ at() [2/2]
const CalorimeterHit dd4pod::CalorimeterHitCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
Definition at line 27 of file CalorimeterHitCollection.cc.
◆ begin()
|
inline |
Definition at line 117 of file CalorimeterHitCollection.h.
◆ cellID()
const std::array< long long, arraysize > dd4pod::CalorimeterHitCollection::cellID |
Definition at line 169 of file CalorimeterHitCollection.h.
◆ clear()
|
finaloverride |
Definition at line 50 of file CalorimeterHitCollection.cc.
◆ create() [1/2]
CalorimeterHit dd4pod::CalorimeterHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
Definition at line 43 of file CalorimeterHitCollection.cc.
◆ create() [2/2]
CalorimeterHit dd4pod::CalorimeterHitCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object.
Initialized with the parameters given
Definition at line 161 of file CalorimeterHitCollection.h.
◆ end()
|
inline |
Definition at line 120 of file CalorimeterHitCollection.h.
◆ energyDeposit()
const std::array< double, arraysize > dd4pod::CalorimeterHitCollection::energyDeposit |
Definition at line 219 of file CalorimeterHitCollection.h.
◆ flag()
const std::array< long, arraysize > dd4pod::CalorimeterHitCollection::flag |
Definition at line 179 of file CalorimeterHitCollection.h.
◆ g4ID()
const std::array< long, arraysize > dd4pod::CalorimeterHitCollection::g4ID |
Definition at line 189 of file CalorimeterHitCollection.h.
◆ getBufferAddress()
|
inlinefinaloverride |
returns the address of the pointer to the data buffer
Definition at line 125 of file CalorimeterHitCollection.h.
◆ getID()
|
inlinefinaloverride |
Definition at line 108 of file CalorimeterHitCollection.h.
◆ getValueTypeName()
|
inlineoverride |
fully qualified type name of elements - with namespace
Definition at line 77 of file CalorimeterHitCollection.h.
◆ isValid()
|
inlinefinaloverride |
Definition at line 112 of file CalorimeterHitCollection.h.
◆ operator->()
|
inline |
operator to allow pointer like calling of members a la LCIO
Definition at line 63 of file CalorimeterHitCollection.h.
◆ operator[]() [1/2]
CalorimeterHit dd4pod::CalorimeterHitCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
Definition at line 31 of file CalorimeterHitCollection.cc.
◆ operator[]() [2/2]
const CalorimeterHit dd4pod::CalorimeterHitCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
Definition at line 23 of file CalorimeterHitCollection.cc.
◆ position()
const std::array< dd4pod::FourVector, arraysize > dd4pod::CalorimeterHitCollection::position |
Definition at line 199 of file CalorimeterHitCollection.h.
◆ prepareAfterRead()
|
finaloverride |
Definition at line 70 of file CalorimeterHitCollection.cc.
◆ prepareForWrite()
|
finaloverride |
Definition at line 56 of file CalorimeterHitCollection.cc.
◆ push_back()
void dd4pod::CalorimeterHitCollection::push_back | ( | ConstCalorimeterHit | object | ) |
Append object to the collection.
Definition at line 91 of file CalorimeterHitCollection.cc.
◆ referenceCollections()
|
inlinefinaloverride |
Definition at line 97 of file CalorimeterHitCollection.h.
◆ setBuffer()
|
finaloverride |
Definition at line 103 of file CalorimeterHitCollection.cc.
◆ setID()
|
inlinefinaloverride |
Definition at line 101 of file CalorimeterHitCollection.h.
◆ setReferences()
|
finaloverride |
Definition at line 86 of file CalorimeterHitCollection.cc.
◆ size()
|
finaloverride |
number of elements in the collection
Definition at line 39 of file CalorimeterHitCollection.cc.
◆ truth()
const std::array< dd4pod::MonteCarloContrib, arraysize > dd4pod::CalorimeterHitCollection::truth |
Definition at line 209 of file CalorimeterHitCollection.h.
◆ vectorMembers()
|
inlineoverride |
Definition at line 99 of file CalorimeterHitCollection.h.
The documentation for this class was generated from the following files: