PhotoMultiplierHit.cc
Go to the documentation of this file.
20 PhotoMultiplierHit::PhotoMultiplierHit(long long cellID, long flag, long g4ID, dd4pod::FourVector position, dd4pod::FourVector momentum, double length, dd4pod::MonteCarloContrib truth, double energy) : m_obj(new PhotoMultiplierHitObj()) {
53 PhotoMultiplierHit::operator ConstPhotoMultiplierHit() const { return ConstPhotoMultiplierHit(m_obj); }
bool operator==(const PhotoMultiplierHit &other) const
Definition: PhotoMultiplierHit.h:125
const long & g4ID() const
Access the Original Geant 4 track identifier of the creating track (debugging)
Definition: PhotoMultiplierHit.cc:57
const podio::ObjectID getObjectID() const
Definition: PhotoMultiplierHit.cc:90
parameter value(const doc_string &label, Targets &&... tgts)
makes required, blocking, repeatable value parameter; matches any non-empty string
Definition: clipp.h:2094
long g4ID
Original Geant 4 track identifier of the creating track (debugging)
Definition: PhotoMultiplierHitData.h:20
PhotoMultiplierHit & operator=(const PhotoMultiplierHit &other)
copy-assignment operator
Definition: PhotoMultiplierHit.cc:36
PhotoMultiplierHitData data
Definition: PhotoMultiplierHitObj.h:30
Definition: MonteCarloContrib.h:11
Definition: Geant4Output2Podio.h:12
const dd4pod::MonteCarloContrib & truth() const
Access the truth.
Definition: PhotoMultiplierHit.cc:61
Definition: FourVector.h:11
bool isAvailable() const
check whether the object is actually available
Definition: PhotoMultiplierHit.cc:83
std::ostream & operator<<(std::ostream &o, const ConstCalorimeterHit &value)
Definition: CalorimeterHit.cc:94