36 #include "RunAction.hh"
40 #include "Analysis.hh"
66 G4cout <<
"##### Create analysis manager " <<
" " <<
this <<
G4endl;
69 G4cout <<
"Using " << analysisManager->GetType()
70 <<
" analysis manager"
75 analysisManager->SetVerboseLevel(1);
80 analysisManager->OpenFile(fileName);
84 analysisManager->CreateNtuple(
"yz",
"yz-distributions");
85 analysisManager->CreateNtupleDColumn(
"radius");
86 analysisManager->CreateNtupleDColumn(
"eventID");
87 analysisManager->CreateNtupleDColumn(
"nbHits");
88 analysisManager->CreateNtupleDColumn(
"nbScoredHits");
89 analysisManager->CreateNtupleDColumn(
"y");
90 analysisManager->CreateNtupleDColumn(
"z");
91 analysisManager->CreateNtupleDColumn(
"Einc");
93 analysisManager->FinishNtuple();}
105 analysisManager->Write();
106 analysisManager->CloseFile();
110 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