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