27 #include "RunAction.hh"
34 #include "Analysis.hh"
42 G4cout <<
"Using " << analysisManager->GetType() <<
G4endl;
45 analysisManager->SetVerboseLevel(1);
46 analysisManager->SetFirstHistoId(1);
49 analysisManager->CreateNtuple(
"ExExChTree",
"Angles and Positions");
50 analysisManager->CreateNtupleDColumn(
"angXin");
51 analysisManager->CreateNtupleDColumn(
"angYin");
52 analysisManager->CreateNtupleDColumn(
"posXin");
53 analysisManager->CreateNtupleDColumn(
"posYin");
54 analysisManager->CreateNtupleDColumn(
"angXout");
55 analysisManager->CreateNtupleDColumn(
"angYout");
56 analysisManager->FinishNtuple();
63 delete G4AnalysisManager::Instance();
71 analysisManager->OpenFile(fileName);
79 analysisManager->Write();
80 analysisManager->CloseFile();
static G4RunManager * GetRunManager()
void EndOfRunAction(const G4Run *)
void BeginOfRunAction(const G4Run *)
G4CsvAnalysisManager G4AnalysisManager
G4GLOB_DLL std::ostream G4cout
void SetPrintProgress(G4int i)