49 G4AnalysisManager::Instance();
54 delete G4AnalysisManager::Instance();
67 analysisManager -> OpenFile(fileName);
68 analysisManager -> SetFirstHistoId(1);
71 analysisManager -> CreateH1(
"1",
"Energy of secondary p reaching the phantom",1000, 0., 10000.);
72 analysisManager -> CreateH1(
"2",
"Energy of secondary n reaching the phantom", 1000, 0., 10000.);
73 analysisManager -> CreateH1(
"3",
"Energy of secondary pions reaching the phantom",1000, 0., 10000.);
74 analysisManager -> CreateH1(
"4",
"Energy of secondary alpha reaching the phantom",100, 0., 100.);
75 analysisManager -> CreateH1(
"5",
"Energy of secondary p produced in the phantom",100, 0., 1000.);
76 analysisManager -> CreateH1(
"6",
"Energy of secondary n produced in the phantom", 100, 0., 1000.);
77 analysisManager -> CreateH1(
"7",
"Energy of secondary pions produced in the phantom",200, 0., 2000.);
78 analysisManager -> CreateH1(
"8",
"Energy of secondary alpha produced in the phantom", 100, 0.,100.);
83 G4double numberEvents = aRun -> GetNumberOfEvent();
90 analysisManager -> Write();
91 analysisManager -> CloseFile();