38 #include "RunAction.hh"
40 #include "Analysis.hh"
69 G4cout <<
"##### Create analysis manager " <<
" " <<
this <<
G4endl;
72 G4cout <<
"Using " << analysisManager->GetType()
73 <<
" analysis manager"
76 analysisManager->SetVerboseLevel(1);
80 analysisManager->OpenFile(fileName);
83 analysisManager->SetFirstNtupleId(1);
86 analysisManager->CreateNtuple(
"ntuple_1",
"ICSD");
87 analysisManager->CreateNtupleDColumn(1,
"ionisations");
88 analysisManager->FinishNtuple(1);
91 analysisManager->CreateNtuple(
"ntuple_2",
"physics");
92 analysisManager->CreateNtupleDColumn(2,
"EventID");
93 analysisManager->CreateNtupleDColumn(2,
"flagProcess");
94 analysisManager->CreateNtupleDColumn(2,
"x");
95 analysisManager->CreateNtupleDColumn(2,
"y");
96 analysisManager->CreateNtupleDColumn(2,
"z");
97 analysisManager->CreateNtupleDColumn(2,
"totalEnergyDeposit");
98 analysisManager->FinishNtuple(2);
110 analysisManager->Write();
111 analysisManager->CloseFile();
115 delete G4AnalysisManager::Instance();
static G4RunManager * GetRunManager()
void EndOfRunAction(const G4Run *)
void BeginOfRunAction(const G4Run *)
G4CsvAnalysisManager G4AnalysisManager
void SetRandomNumberStore(G4bool flag)
G4GLOB_DLL std::ostream G4cout