22 << mInitialEnergy << std::endl;
60 if (rhs.GetEnergyLoss() >
result.GetEnergyLoss()) {
63 result.SetEnergyLoss(
result.GetEnergyLoss() + rhs.GetEnergyLoss());
float GetEnergyLoss() const
void SetEnergyLoss(float val)
short GetDetectorID() const
PHOS simulation hit information.
Hit & operator+=(const Hit &rhs)
Adds energy loss from the other Hit to this Hit.
Bool_t operator<(const Hit &rhs) const
Sorting points according to parent particle and detector volume.
void PrintStream(std::ostream &stream) const
Writing Hit information to an output stream;.
Bool_t operator==(const Hit &rhs) const
Check whether the points are from the same SuperParent and in the same detector volume.
Hit operator+(const Hit &rhs) const
Creates a new Hit based on this Hit but adding the energy loss of the right hand side.
std::ostream & operator<<(std::ostream &in, const BadChannelsMap &bcm)
Printing bad channel map on the stream.