12#ifndef ALICEO2_EMCAL_HIT_H
13#define ALICEO2_EMCAL_HIT_H
51 mInitialEnergy(initialEnergy)
94 Double32_t mInitialEnergy;
103Hit
operator+(
const Hit& lhs,
const Hit& rhs);
EMCAL simulation hit information.
Hit & operator+=(const Hit &rhs)
Adds energy loss from the other point to this point.
Bool_t operator<(const Hit &rhs) const
Sorting points according to parent particle and detector volume.
Double_t GetInitialEnergy() const
Get the initial energy of the primary particle entering EMCAL.
~Hit()=default
Destructor.
void PrintStream(std::ostream &stream) const
Writing point information to an output stream;.
void SetInitialEnergy(Double_t energy)
Set initial energy of the primary particle entering EMCAL.
Int_t GetPrimary() const
Get Primary particles at the origin of the hit.
Bool_t operator==(const Hit &rhs) const
Check whether the points are from the same parent and in the same detector volume.
Hit()=default
Default constructor.
Hit(Int_t primary, Int_t trackID, Int_t detID, Double_t initialEnergy, const math_utils::Point3D< float > &pos, const math_utils::Vector3D< float > &mom, Double_t tof, Double_t eLoss)
Hit constructor.
void SetPrimary(Int_t primary)
Set primary particles at the origin of the hit.
Hit operator+(const Hit &lhs, const Hit &rhs)
Creates a new point base on this point but adding the energy loss of the right hand side.
std::ostream & operator<<(std::ostream &stream, const Cell &cell)
Stream operator for EMCAL cell.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.