18 mSubSystem(subsystem),
19 mInitialEnergy(initialEnergy)
34 if (mSubSystem !=
other.mSubSystem) {
35 return mSubSystem <
other.mSubSystem;
50 <<
", initial (parent) energy " << mInitialEnergy <<
" from primary " << mPrimary;
float GetEnergyLoss() const
void SetEnergyLoss(float val)
short GetDetectorID() const
Common FOCAL hit class for the detector simulation.
void printStream(std::ostream &stream) const
Print information of this hit on the output stream.
bool operator==(const Hit &other) const
Comparison operator for equalness.
Subsystem_t
Subsystem index of the Hit.
bool operator<(const Hit &other) const
Comparison operator for smaller.
Hit & operator+=(const Hit &other)
Operator for incremental sum, adding energy loss of the other hit to this energy loss.
Hit()=default
Dummy constructor.
Hit operator+(const Hit &lhs, const Hit &rhs)
Sum operator, creating a new hit with the sum of the two energy losses.
std::ostream & operator<<(std::ostream &in, const IndexExceptionEvent &error)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other