38 #include "RunAction.hh"
39 #include "Analysis.hh"
66 G4cout <<
"##### Create analysis manager " <<
" " <<
this <<
G4endl;
70 G4cout <<
"Using " << man->GetType() <<
" analysis manager" <<
G4endl;
73 man->OpenFile(
"microbeam");
74 man->SetFirstNtupleId(1);
80 man->CreateNtuple(
"ntuple0",
"Stopping power");
81 man->CreateNtupleDColumn(
"e");
82 man->CreateNtupleDColumn(
"sp");
89 man->CreateNtuple(
"ntuple1",
"Beam position");
90 man->CreateNtupleDColumn(
"x");
91 man->CreateNtupleDColumn(
"y");
98 man->CreateNtuple(
"ntuple2",
"Range");
99 man->CreateNtupleDColumn(
"x");
100 man->CreateNtupleDColumn(
"y");
101 man->CreateNtupleDColumn(
"z");
108 man->CreateNtuple(
"ntuple3",
"Doses");
109 man->CreateNtupleDColumn(
"doseN");
110 man->CreateNtupleDColumn(
"doseC");
117 man->CreateNtuple(
"ntuple4",
"3D");
118 man->CreateNtupleDColumn(
"x");
119 man->CreateNtupleDColumn(
"y");
120 man->CreateNtupleDColumn(
"z");
121 man->CreateNtupleDColumn(
"doseV");
175 man->FillNtupleDColumn(5,0,v.
x());
176 man->FillNtupleDColumn(5,1,v.
y());
177 man->FillNtupleDColumn(5,2,v.
z());
179 man->AddNtupleRow(5);
191 delete G4AnalysisManager::Instance();
void EndOfRunAction(const G4Run *)
G4double GetMassCytoplasm() const
static void saveEngineStatus(const char filename[]="Config.conf")
G4double GetMassNucleus() const
G4int GetNbOfHitsGas() const
void BeginOfRunAction(const G4Run *)
G4ThreeVector GetVoxelThreeVector(G4int i) const
static CellParameterisation * Instance()
G4CsvAnalysisManager G4AnalysisManager
DetectorConstruction * fDetector
G4GLOB_DLL std::ostream G4cout
G4ThreeVector * fMapVoxels
G4int GetNbOfPixelsInPhantom() const
static void showEngineStatus()
Simple detector construction with a box volume placed in a world.