A Collection is identified by an ID. More...
#include <Geant4ParticleCollection.h>
Public Types | |
using | const_iterator = const Geant4ParticleCollectionIterator |
Public Member Functions | |
Geant4ParticleCollection () | |
~Geant4ParticleCollection () | |
void | clear () override final |
Geant4ParticleCollection * | operator-> () |
operator to allow pointer like calling of members a la LCIO More... | |
Geant4Particle | create () |
Append a new object to the collection, and return this object. More... | |
template<typename... Args> | |
Geant4Particle | 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 Geant4Particle | operator[] (unsigned int index) const |
Returns the const object of given index. More... | |
Geant4Particle | operator[] (unsigned int index) |
Returns the object of a given index. More... | |
const Geant4Particle | at (unsigned int index) const |
Returns the const object of given index. More... | |
Geant4Particle | at (unsigned int index) |
Returns the object of given index. More... | |
void | push_back (ConstGeant4Particle 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< Geant4ParticleData > * | _getBuffer () |
Returns the pointer to the data buffer. More... | |
template<size_t arraysize> | |
const std::array< int, arraysize > | ID () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | g4Parent () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | reason () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | mask () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | steps () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | secondaries () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | pdgID () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | status () const |
template<size_t arraysize> | |
const std::array< std::array< int, 2 >, arraysize > | colorFlow () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | genStatus () const |
template<size_t arraysize> | |
const std::array< int, arraysize > | charge () const |
template<size_t arraysize> | |
const std::array< std::array< int, 1 >, arraysize > | spare () const |
template<size_t arraysize> | |
const std::array< std::array< float, 3 >, arraysize > | spin () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | vsx () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | vsy () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | vsz () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | vex () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | vey () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | vez () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | psx () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | psy () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | psz () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | pex () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | pey () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | pez () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | mass () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | time () const |
template<size_t arraysize> | |
const std::array< double, arraysize > | properTime () const |
Detailed Description
A Collection is identified by an ID.
Definition at line 50 of file Geant4ParticleCollection.h.
Member Typedef Documentation
◆ const_iterator
Definition at line 53 of file Geant4ParticleCollection.h.
Constructor & Destructor Documentation
◆ Geant4ParticleCollection()
dd4pod::Geant4ParticleCollection::Geant4ParticleCollection | ( | ) |
Definition at line 14 of file Geant4ParticleCollection.cc.
◆ ~Geant4ParticleCollection()
dd4pod::Geant4ParticleCollection::~Geant4ParticleCollection | ( | ) |
Definition at line 23 of file Geant4ParticleCollection.cc.
Member Function Documentation
◆ _getBuffer()
|
inline |
Returns the pointer to the data buffer.
Definition at line 128 of file Geant4ParticleCollection.h.
◆ at() [1/2]
Geant4Particle dd4pod::Geant4ParticleCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
Definition at line 42 of file Geant4ParticleCollection.cc.
◆ at() [2/2]
const Geant4Particle dd4pod::Geant4ParticleCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
Definition at line 34 of file Geant4ParticleCollection.cc.
◆ begin()
|
inline |
Definition at line 117 of file Geant4ParticleCollection.h.
◆ charge()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::charge |
Definition at line 317 of file Geant4ParticleCollection.h.
◆ clear()
|
finaloverride |
Definition at line 59 of file Geant4ParticleCollection.cc.
◆ colorFlow()
const std::array< std::array< int, 2 >, arraysize > dd4pod::Geant4ParticleCollection::colorFlow |
Definition at line 297 of file Geant4ParticleCollection.h.
◆ create() [1/2]
Geant4Particle dd4pod::Geant4ParticleCollection::create | ( | ) |
Append a new object to the collection, and return this object.
Definition at line 50 of file Geant4ParticleCollection.cc.
◆ create() [2/2]
Geant4Particle dd4pod::Geant4ParticleCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object.
Initialized with the parameters given
Definition at line 209 of file Geant4ParticleCollection.h.
◆ end()
|
inline |
Definition at line 120 of file Geant4ParticleCollection.h.
◆ g4Parent()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::g4Parent |
Definition at line 227 of file Geant4ParticleCollection.h.
◆ genStatus()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::genStatus |
Definition at line 307 of file Geant4ParticleCollection.h.
◆ getBufferAddress()
|
inlinefinaloverride |
returns the address of the pointer to the data buffer
Definition at line 125 of file Geant4ParticleCollection.h.
◆ getID()
|
inlinefinaloverride |
Definition at line 108 of file Geant4ParticleCollection.h.
◆ getValueTypeName()
|
inlineoverride |
fully qualified type name of elements - with namespace
Definition at line 77 of file Geant4ParticleCollection.h.
◆ ID()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::ID |
Definition at line 217 of file Geant4ParticleCollection.h.
◆ isValid()
|
inlinefinaloverride |
Definition at line 112 of file Geant4ParticleCollection.h.
◆ mask()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::mask |
Definition at line 247 of file Geant4ParticleCollection.h.
◆ mass()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::mass |
Definition at line 467 of file Geant4ParticleCollection.h.
◆ operator->()
|
inline |
operator to allow pointer like calling of members a la LCIO
Definition at line 63 of file Geant4ParticleCollection.h.
◆ operator[]() [1/2]
Geant4Particle dd4pod::Geant4ParticleCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
Definition at line 38 of file Geant4ParticleCollection.cc.
◆ operator[]() [2/2]
const Geant4Particle dd4pod::Geant4ParticleCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
Definition at line 30 of file Geant4ParticleCollection.cc.
◆ pdgID()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::pdgID |
Definition at line 277 of file Geant4ParticleCollection.h.
◆ pex()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::pex |
Definition at line 437 of file Geant4ParticleCollection.h.
◆ pey()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::pey |
Definition at line 447 of file Geant4ParticleCollection.h.
◆ pez()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::pez |
Definition at line 457 of file Geant4ParticleCollection.h.
◆ prepareAfterRead()
|
finaloverride |
Definition at line 104 of file Geant4ParticleCollection.cc.
◆ prepareForWrite()
|
finaloverride |
Definition at line 73 of file Geant4ParticleCollection.cc.
◆ properTime()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::properTime |
Definition at line 487 of file Geant4ParticleCollection.h.
◆ psx()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::psx |
Definition at line 407 of file Geant4ParticleCollection.h.
◆ psy()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::psy |
Definition at line 417 of file Geant4ParticleCollection.h.
◆ psz()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::psz |
Definition at line 427 of file Geant4ParticleCollection.h.
◆ push_back()
void dd4pod::Geant4ParticleCollection::push_back | ( | ConstGeant4Particle | object | ) |
Append object to the collection.
Definition at line 127 of file Geant4ParticleCollection.cc.
◆ reason()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::reason |
Definition at line 237 of file Geant4ParticleCollection.h.
◆ referenceCollections()
|
inlinefinaloverride |
Definition at line 97 of file Geant4ParticleCollection.h.
◆ secondaries()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::secondaries |
Definition at line 267 of file Geant4ParticleCollection.h.
◆ setBuffer()
|
finaloverride |
Definition at line 141 of file Geant4ParticleCollection.cc.
◆ setID()
|
inlinefinaloverride |
Definition at line 101 of file Geant4ParticleCollection.h.
◆ setReferences()
|
finaloverride |
Definition at line 122 of file Geant4ParticleCollection.cc.
◆ size()
|
finaloverride |
number of elements in the collection
Definition at line 46 of file Geant4ParticleCollection.cc.
◆ spare()
const std::array< std::array< int, 1 >, arraysize > dd4pod::Geant4ParticleCollection::spare |
Definition at line 327 of file Geant4ParticleCollection.h.
◆ spin()
const std::array< std::array< float, 3 >, arraysize > dd4pod::Geant4ParticleCollection::spin |
Definition at line 337 of file Geant4ParticleCollection.h.
◆ status()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::status |
Definition at line 287 of file Geant4ParticleCollection.h.
◆ steps()
const std::array< int, arraysize > dd4pod::Geant4ParticleCollection::steps |
Definition at line 257 of file Geant4ParticleCollection.h.
◆ time()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::time |
Definition at line 477 of file Geant4ParticleCollection.h.
◆ vectorMembers()
|
inlineoverride |
Definition at line 99 of file Geant4ParticleCollection.h.
◆ vex()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::vex |
Definition at line 377 of file Geant4ParticleCollection.h.
◆ vey()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::vey |
Definition at line 387 of file Geant4ParticleCollection.h.
◆ vez()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::vez |
Definition at line 397 of file Geant4ParticleCollection.h.
◆ vsx()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::vsx |
Definition at line 347 of file Geant4ParticleCollection.h.
◆ vsy()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::vsy |
Definition at line 357 of file Geant4ParticleCollection.h.
◆ vsz()
const std::array< double, arraysize > dd4pod::Geant4ParticleCollection::vsz |
Definition at line 367 of file Geant4ParticleCollection.h.
The documentation for this class was generated from the following files: