7 #ifndef GAR_SIMULATIONDATAPRODUCTS_CaloDeposit_h 8 #define GAR_SIMULATIONDATAPRODUCTS_CaloDeposit_h 73 double const&
X()
const {
return fPos[0]; }
74 double const&
Y()
const {
return fPos[1]; }
75 double const&
Z()
const {
return fPos[2]; }
77 double const*
Pos()
const {
return &
fPos[0]; }
float const & Time() const
bool operator<(gar::sdp::CaloDeposit const &b) const
raw::CellID_t fCellID
cellID encoded in 64 bits containing det_id, stave, module, layer, slice, cellX and cellY...
CaloDeposit(double pos[3])
int fTrackID
g4 track ID of particle making the deposit
void operator+=(gar::sdp::CaloDeposit const &b)
float const & Energy() const
double const * Pos() const
int const & TrackID() const
float fTime
time of the energy deposit
CaloDeposit(int trackID, float t, float e, double pos[3], raw::CellID_t CellID, float step_l)
Definition of basic calo raw digits.
raw::CellID_t const & CellID() const
float fStepLength
step length
General GArSoft Utilities.
double fPos[3]
position of the energy deposit
float fEnergy
energy deposited
float const & StepLength() const
CaloDeposit(int trackID, float t, float e, double pos[3], raw::CellID_t CellID)