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