32 #include "G4HCofThisEvent.hh" 
   33 #include "G4VHitsCollection.hh" 
   46   drawFlag(
"all" ),printModulo(10), pointerEventMessenger(0)
 
   68     hitsCollectionID = pSDManager -> GetCollectionID(
"HadrontherapyDetectorHitsCollection");
 
   81   if (matrix) matrix -> ClearHitTrack(); 
 
   93           G4int HitCount = CHC -> entries();
 
   94           for (
G4int h=0; h<HitCount; h++)
 
   96               G4int i = ((*CHC)[h]) -> GetXID();
 
   97               G4int j = ((*CHC)[h]) -> GetYID();
 
   98               G4int k = ((*CHC)[h]) -> GetZID();
 
   99               G4double energyDeposit = ((*CHC)[h]) -> GetEdep();
 
  100               matrix -> Fill(i, j, k, energyDeposit/
MeV);              
 
HadrontherapyEventAction()
 
~HadrontherapyEventAction()
 
void EndOfEventAction(const G4Event *)
 
static HadrontherapyMatrix * GetInstance()
 
G4GLOB_DLL std::ostream G4cout
 
static G4SDManager * GetSDMpointer()
 
void BeginOfEventAction(const G4Event *)
 
static constexpr double MeV
 
HadrontherapyEventActionMessenger * pointerEventMessenger