45 #include "G4HCofThisEvent.hh"
54 fShiftZ(0.0),fCounter(0)
68 G4cout <<
"PhantomSD: Begin Of Event # " << fCounter <<
G4endl;
86 G4double r1 = std::sqrt(x1*x1 + y1*y1);
90 G4double r2 = std::sqrt(x2*x2 + y2*y2);
94 G4double r0 = std::sqrt(x0*x0 + y0*y0);
99 G4cout <<
"PhantomSD: energy = " << edep/
MeV
100 <<
" MeV is deposited at the step at r1,z1= " << r1 <<
" " << z1
101 <<
"; r2,z2= " << r2 <<
" " << z2 <<
G4endl;
PhantomSD(const G4String &)
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
void EndOfEvent(G4HCofThisEvent *)
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector & GetPosition() const
G4double GetTotalEnergyDeposit() const
Definition of the PhantomSD class.
G4StepPoint * GetPostStepPoint() const
void AddPhantomStep(G4double e, G4double r1, G4double z1, G4double r2, G4double z2, G4double r0, G4double z0)
void Initialize(G4HCofThisEvent *)