8 #ifndef HERD_PARTICLEHIT_H_ 9 #define HERD_PARTICLEHIT_H_ 52 Momentum entranceMomentum,
int trackID,
int parentTrackID,
float time)
bool operator==(const ParticleHit &rhs) const
Comparison operator.
Definition: ParticleHit.h:171
void SetEntrancePoint(Point entrancePoint)
Set the entrance point in the hit volume.
Definition: ParticleHit.h:80
int ParentTrackID() const
Get the ID of the parent particle track.
Definition: ParticleHit.h:144
void SetParentTrackID(int parentTrackID)
Set the track ID of the parent particle.
Definition: ParticleHit.h:152
const Point & ExitPoint() const
Get the exit point from the hit volume.
Definition: ParticleHit.h:86
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
void SetTrackID(int trackID)
Set the track ID of the particle.
Definition: ParticleHit.h:136
int _parentTrackID
The track ID of the particle.
Definition: ParticleHit.h:185
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
int _particlePdg
Particle PDG ID.
Definition: ParticleHit.h:178
float _eDep
Deposited energy.
Definition: ParticleHit.h:179
float EntranceEnergy() const
Get the particle energy at the entrance in the hit volume.
Definition: ParticleHit.h:108
Momentum _entranceMomentum
Entrance momentum.
Definition: ParticleHit.h:183
float Time() const
Get the particle track arrival time in ns.
Definition: ParticleHit.h:158
ParticleHit(int particlePDG, float eDep, float entranceEnergy, Point entrancePoint, Point exitPoint, Momentum entranceMomentum, int trackID, int parentTrackID, float time)
Constructor.
Definition: ParticleHit.h:51
virtual ~ParticleHit()=default
Virtual destructor.
A class describing a vector in 3D space.
Definition: Vec3D.h:33
void SetParticlePDG(int particlePdg)
Set the PDG code of the particle.
Definition: ParticleHit.h:124
void SetEntranceMomentum(Momentum entranceMomentum)
Set the momentum at the entrance in the hit volume.
Definition: ParticleHit.h:102
ParticleHit()
Constructor.
Definition: ParticleHit.h:36
void SetEDep(float eDep)
Set the energy deposit of the hit.
Definition: ParticleHit.h:69
Class to describe the energy deposit of a single particle.
Definition: ParticleHit.h:33
int _trackID
The track ID of the particle.
Definition: ParticleHit.h:184
Point _exitPoint
Exit point.
Definition: ParticleHit.h:182
float _entranceEnergy
Entrance kinetic energy.
Definition: ParticleHit.h:180
Point _entrancePoint
Entrance point.
Definition: ParticleHit.h:181
const Momentum & EntranceMomentum() const
Get the momentum at the entrance in the hit volume.
Definition: ParticleHit.h:97
void SetExitPoint(Point exitPoint)
Set the exit point from the hit volume.
Definition: ParticleHit.h:91
float EDep() const
Get the deposited energy.
Definition: ParticleHit.h:64
int ParticlePDG() const
Get the PDG code of the particle.
Definition: ParticleHit.h:119
int TrackID() const
Get the ID of the particle track.
Definition: ParticleHit.h:130
float _time
The particle time of arrival.
Definition: ParticleHit.h:186
const Point & EntrancePoint() const
Get the entrance point in the hit volume.
Definition: ParticleHit.h:75
void SetTime(float time)
Set the particle track arrival time (in ns).
Definition: ParticleHit.h:164
void SetEntranceEnergy(float entranceEnergy)
Set the particle energy at the entrance in the hit volume.
Definition: ParticleHit.h:113