7 #ifndef GAR_SIMULATIONDATAPRODUCTS_EnergyDeposit_h 8 #define GAR_SIMULATIONDATAPRODUCTS_EnergyDeposit_h 43 float const&
X()
const {
return fX; }
44 float const&
Y()
const {
return fY; }
45 float const&
Z()
const {
return fZ; }
46 float const&
dX()
const {
return fdX; }
float fEnergy
energy deposited
float const & Energy() const
float fdX
the size of the step for this energy deposit
float const & Time() const
int fTrackID
g4 track ID of particle making the deposit
float fX
x position of the energy deposit
float fTime
time of the energy deposit
int const & TrackID() const
float fZ
z position of the energy deposit
General GArSoft Utilities.
float fY
y position of the energy deposit
bool operator<(gar::sdp::EnergyDeposit const &b) const
EnergyDeposit(int trackID, float t, float e, float xpos, float ypos, float zpos, float length, bool isPrimary)
bool fIsPrimary
is this from the primary particle, or a secondary (ie EM)