32 #include "HistoManager.hh"
34 #include "DetectorConstruction.hh"
39 : fFileName(
"testem3")
48 delete G4AnalysisManager::Instance();
60 analysisManager->SetVerboseLevel(1);
61 analysisManager->SetActivation(
true);
65 const G4String id[] = {
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
66 "10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
78 if (k <
MaxAbsor) title =
"Edep in absorber " +
id[k];
79 if (k >
MaxAbsor) title =
"Edep longit. profile (MeV/event) in absorber "
81 if (k == 2*
MaxAbsor+1) title =
"energy flow (MeV/event)";
82 if (k == 2*
MaxAbsor+2) title =
"lateral energy leak (MeV/event)";
83 G4int ih = analysisManager->CreateH1(
id[k], title, nbins, vmin, vmax);
84 analysisManager->SetH1Activation(ih,
false);
ExG4HbookAnalysisManager G4AnalysisManager