36 #include "Analysis.hh"
56 fincident_map =
new TH2D(
"incident map",
"Incident Distributuon",
67 fdose_map =
new TH2D(
"dose map",
"Dose Distribution",
74 fdose_hist =
new TH1D(
"dose",
"Dose Distribution", 500, 0., 50.);
111 TFile* file =
new TFile(fname.c_str(),
"RECREATE",
"Geant4 ROOT analysis");
142 if ( std::abs(p.y()) < dxy ) {
145 if ( std::abs(p.x()) < dxy ) {
CLHEP::Hep3Vector G4ThreeVector
void FillDose(const G4ThreeVector &p, G4double dedx)
#define G4MUTEX_INITIALIZER
static Analysis * GetAnalysis()
void Save(const G4String &fname)
G4bool SetTitle(G4ToolsBaseHisto &baseHisto, const G4String &title)
static G4ThreadLocal G4int fincidentFlag
void FillIncident(const G4ThreeVector &p)
G4ThreadLocal Analysis * the_analysis