TrackerHitCollection.cc
Go to the documentation of this file.
void push_back(ConstTrackerHit object)
Append object to the collection.
Definition: TrackerHitCollection.cc:91
TrackerHitCollection()
Definition: TrackerHitCollection.cc:13
const std::array< long, arraysize > g4ID() const
Definition: TrackerHitCollection.h:193
const std::array< dd4pod::FourVector, arraysize > momentum() const
Definition: TrackerHitCollection.h:213
const std::array< long long, arraysize > cellID() const
Definition: TrackerHitCollection.h:173
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
const std::array< dd4pod::MonteCarloContrib, arraysize > truth() const
Definition: TrackerHitCollection.h:233
A Collection is identified by an ID.
Definition: TrackerHitCollection.h:50
const TrackerHit at(unsigned int index) const
Returns the const object of given index.
Definition: TrackerHitCollection.cc:27
const std::array< double, arraysize > length() const
Definition: TrackerHitCollection.h:223
const std::array< long, arraysize > flag() const
Definition: TrackerHitCollection.h:183
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
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
std::vector< TrackerHitData > TrackerHitDataContainer
Definition: TrackerHitCollection.h:26
std::ostream & operator<<(std::ostream &o, const ConstCalorimeterHit &value)
Definition: CalorimeterHit.cc:94
Definition: TrackerHitObj.h:18
const TrackerHit operator[](unsigned int index) const
Returns the const object of given index.
Definition: TrackerHitCollection.cc:23
const std::array< double, arraysize > energyDeposit() const
Definition: TrackerHitCollection.h:243
void prepareAfterRead() override final
Definition: TrackerHitCollection.cc:70
const std::array< dd4pod::FourVector, arraysize > position() const
Definition: TrackerHitCollection.h:203