PhotoMultiplierHitCollection.h
Go to the documentation of this file.
31 PhotoMultiplierHitCollectionIterator(int index, const PhotoMultiplierHitObjPointerContainer* collection) : m_index(index), m_object(nullptr), m_collection(collection) {}
56 // PhotoMultiplierHitCollection(const PhotoMultiplierHitCollection& ) = delete; // deletion doesn't work w/ ROOT IO ! :-(
77 std::string getValueTypeName() const override { return std::string("dd4pod::PhotoMultiplierHit"); }
203 const std::array<dd4pod::FourVector, arraysize> PhotoMultiplierHitCollection::position() const {
213 const std::array<dd4pod::FourVector, arraysize> PhotoMultiplierHitCollection::momentum() const {
233 const std::array<dd4pod::MonteCarloContrib, arraysize> PhotoMultiplierHitCollection::truth() const {
void prepareForWrite() override final
Definition: PhotoMultiplierHitCollection.cc:56
const const_iterator end() const
Definition: PhotoMultiplierHitCollection.h:120
void * getBufferAddress() override final
returns the address of the pointer to the data buffer
Definition: PhotoMultiplierHitCollection.h:125
bool isValid() const override final
Definition: PhotoMultiplierHitCollection.h:112
~PhotoMultiplierHitCollection()
Definition: PhotoMultiplierHitCollection.cc:18
podio::CollRefCollection * referenceCollections() override final
Definition: PhotoMultiplierHitCollection.h:97
const PhotoMultiplierHit operator[](unsigned int index) const
Returns the const object of given index.
Definition: PhotoMultiplierHitCollection.cc:23
void push_back(ConstPhotoMultiplierHit object)
Append object to the collection.
Definition: PhotoMultiplierHitCollection.cc:91
std::vector< PhotoMultiplierHitData > * _getBuffer()
Returns the pointer to the data buffer.
Definition: PhotoMultiplierHitCollection.h:128
const PhotoMultiplierHit * operator->() const
Definition: PhotoMultiplierHitCollection.cc:113
OStream & operator<<(OStream &os, const man_page &man)
generates man page based on command line parameters
Definition: clipp.h:6105
Definition: Geant4Output2Podio.h:12
PhotoMultiplierHitCollectionIterator(int index, const PhotoMultiplierHitObjPointerContainer *collection)
Definition: PhotoMultiplierHitCollection.h:31
const PhotoMultiplierHit at(unsigned int index) const
Returns the const object of given index.
Definition: PhotoMultiplierHitCollection.cc:27
PhotoMultiplierHitCollection()
Definition: PhotoMultiplierHitCollection.cc:13
PhotoMultiplierHit create()
Append a new object to the collection, and return this object.
Definition: PhotoMultiplierHitCollection.cc:43
bool setReferences(const podio::ICollectionProvider *collectionProvider) override final
Definition: PhotoMultiplierHitCollection.cc:86
const const_iterator begin() const
Definition: PhotoMultiplierHitCollection.h:117
void clear() override final
Definition: PhotoMultiplierHitCollection.cc:50
std::deque< PhotoMultiplierHitObj * > PhotoMultiplierHitObjPointerContainer
Definition: PhotoMultiplierHitCollection.h:27
std::vector< PhotoMultiplierHitData > PhotoMultiplierHitDataContainer
Definition: PhotoMultiplierHitCollection.h:26
void prepareAfterRead() override final
Definition: PhotoMultiplierHitCollection.cc:70
podio::VectorMembersInfo * vectorMembers() override
Definition: PhotoMultiplierHitCollection.h:99
bool operator!=(const PhotoMultiplierHitCollectionIterator &x) const
Definition: PhotoMultiplierHitCollection.h:33
const PhotoMultiplierHitCollectionIterator & operator++() const
Definition: PhotoMultiplierHitCollection.cc:118
void setID(unsigned ID) override final
Definition: PhotoMultiplierHitCollection.h:101
A Collection is identified by an ID.
Definition: PhotoMultiplierHitCollection.h:50
const PhotoMultiplierHit operator*() const
Definition: PhotoMultiplierHitCollection.cc:108
std::string getValueTypeName() const override
fully qualified type name of elements - with namespace
Definition: PhotoMultiplierHitCollection.h:77
unsigned getID() const override final
Definition: PhotoMultiplierHitCollection.h:108
size_t size() const override final
number of elements in the collection
Definition: PhotoMultiplierHitCollection.cc:39
void setBuffer(void *address) override final
Definition: PhotoMultiplierHitCollection.cc:103