36 #include "Analysis.hh"
51 fincident_map =
new TH2D(
"incident map",
"Incident Distributuon",
62 fdose_map =
new TH2D(
"dose map",
"Dose Distribution",
65 fdose_map-> GetXaxis()-> SetTitle(
"Z (cm)");
66 fdose_map-> GetYaxis()-> SetTitle(
"X (cm)");
69 fdose_hist =
new TH1D(
"dose",
"Dose Distribution", 500, 0., 50.);
71 fdose_hist-> GetYaxis()-> SetTitle(
"Dose (GeV)");
105 TFile* file =
new TFile(fname.c_str(),
"RECREATE",
"Geant4 ROOT analysis");
136 if ( std::abs(p.y()) < dxy ) {
139 if ( std::abs(p.x()) < dxy ) {
CLHEP::Hep3Vector G4ThreeVector
void FillDose(const G4ThreeVector &p, G4double dedx)
static Analysis * GetAnalysis()
void Save(const G4String &fname)
static G4ThreadLocal G4int fincidentFlag
void FillIncident(const G4ThreeVector &p)