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