38 #include "Analysis.hh"
57 G4ThreeVector x1 = astep-> GetPostStepPoint()-> GetPosition();
59 G4int tid = astep-> GetTrack()-> GetTrackID();
60 G4int iz = astep-> GetPreStepPoint()-> GetTouchable()-> GetReplicaNumber(1);
65 if ( tid == 1 && iz == 1000 ) {
66 myana-> FillIncident(x0);
71 G4double edep = astep-> GetTotalEnergyDeposit();
72 myana-> FillDose(p, edep);
CLHEP::Hep3Vector G4ThreeVector
virtual void EndOfEvent(G4HCofThisEvent *HCTE)
VoxelSD(const G4String &name)
Define detector sensitivity on voxels.
virtual G4bool ProcessHits(G4Step *astep, G4TouchableHistory *rohist)
static Analysis * GetAnalysis()
static G4SDManager * GetSDMpointer()
virtual void Initialize(G4HCofThisEvent *HCTE)