36 entry(0), theIncidentEnergy(0.0), theTrackID(-1),
37 theUnitID(0), theTimeSlice(0.0), theEnergyDeposit(0.0)
46 theIncidentEnergy( right.theIncidentEnergy ),
47 theTrackID( right.theTrackID ),
48 theUnitID( right.theUnitID ),
49 theTimeSlice( right.theTimeSlice ),
50 theEnergyDeposit( right.theEnergyDeposit )
56 theIncidentEnergy = right.theIncidentEnergy;
57 theTrackID = right.theTrackID;
58 theUnitID = right.theUnitID;
59 theTimeSlice = right.theTimeSlice;
60 theEnergyDeposit = right.theEnergyDeposit;
80 return (
int)theTimeSlice;}
87 return theEnergyDeposit;
95 theEnergyDeposit += e;
105 os <<
" Data of this CCalHit are:"<<
G4endl
107 <<
" \t Energy of primary particle (ID = " << hit.
getTrackID()
109 <<
" \t Entry point in Calorimeter unit number " << hit.
getUnitID()
double getIncidentEnergy() const
void setIncidentEnergy(double e)
double getEnergyDeposit() const
void setEntry(CLHEP::Hep3Vector xyz)
G4GLOB_DLL std::ostream G4cout
double getTimeSlice() const
void setTimeSlice(double d)
void setEnergyDeposit(const double e)
CLHEP::Hep3Vector getEntry() const
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
unsigned int getUnitID() const
void setUnitID(unsigned int i)
void addEnergyDeposit(const CCalHit &aHit)
int getTimeSliceID() const
const CCalHit & operator=(const CCalHit &right)