37 #include "RunAction.hh"
38 #include "RunInitObserver.hh"
40 #include "Analysis.hh"
49 analysisManager->SetFirstHistoId(1);
52 analysisManager->CreateH1(
"1",
53 "Energy deposit in the target (eV)",
55 analysisManager->CreateH1(
"2",
61 analysisManager->OpenFile(fileName);
62 G4String extension = analysisManager->GetFileType();
63 fileName = fileName +
"." + extension;
65 G4cout <<
"\n----> Histogram file is opened in " << fileName <<
G4endl;
73 analysisManager->CloseFile();
75 delete G4AnalysisManager::Instance();
90 analysisManager->Write();
void EndOfRunAction(const G4Run *)
void BeginOfRunAction(const G4Run *)
static RunInitManager * Instance()
G4CsvAnalysisManager G4AnalysisManager
G4GLOB_DLL std::ostream G4cout