Go to the documentation of this file.
13 #ifndef NPDet_PMTHit_H
14 #define NPDet_PMTHit_H
17 #include "DDG4/Geant4Data.h"
56 dd4hep::sim::Geant4HitData::MonteCarloContrib
truth;
64 PMTHit(
int track_id,
int pdg_id,
double en,
double time_stamp)
dd4hep::Direction momentum
Hit direction.
dd4hep::sim::Geant4HitData::MonteCarloContrib truth
Monte Carlo / Geant4 information.
PMTHit & clear()
Clear hit content.
double energy
Energy of photon.
double length
Length of the track segment contributing to this hit.
PhotoMultiplier Hit definition.
PMTHit & operator=(const PMTHit &c)
Assignment operator.
PMTHit()=default
Default constructor.
PMTHit(int track_id, int pdg_id, double en, double time_stamp)
Initializing constructor.
PMTHit & storePoint(const G4Step *step, const G4StepPoint *pnt)
Store Geant4 point and step information into tracker hit structure.
dd4hep::Position position
Hit position.
virtual ~PMTHit()=default
Default destructor.