89 if(edep==0.)
return false;
95 if(fCellID[copyIDinZ][copyIDinPhi]==-1)
106 fCellID[copyIDinZ][copyIDinPhi] = icell - 1;
108 {
G4cout <<
" New Calorimeter Hit on CellID "
109 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
113 (*fCalCollection)[fCellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
114 (*fCalCollection)[fCellID[copyIDinZ][copyIDinPhi]]
115 ->SetTrackInformation(aStep->
GetTrack());
117 {
G4cout <<
" Energy added to CellID "
118 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
virtual const G4NavigationHistory * GetHistory() const
const G4VTouchable * GetTouchable() const
void SetTrackInformation(const G4Track *aTrack)
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
void SetPos(G4ThreeVector xyz)
void SetRot(G4RotationMatrix rmat)
void SetEdep(G4double de)
G4double GetTotalEnergyDeposit() const
G4LogicalVolume * GetLogicalVolume() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
virtual G4int GetReplicaNumber(G4int depth=0) const
const G4AffineTransform & GetTopTransform() const
G4Track * GetTrack() const