49 return Hit(lhs.GetTrackID(), lhs.GetDetectorID(), lhs.GetPos(),
50 lhs.GetEnergyLoss() > rhs.GetEnergyLoss() ? lhs.GetTime() : rhs.GetTime(),
51 lhs.GetEnergyLoss() + rhs.GetEnergyLoss());
float GetEnergyLoss() const
void SetEnergyLoss(float val)
short GetDetectorID() const
CPV 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.
std::ostream & operator<<(std::ostream &in, const BadChannelMap &bcm)
Printing bad channel map on the stream.