35 #include "HistoManager.hh"
41 : fFileName(
"fanocavity2")
50 delete G4AnalysisManager::Instance();
55 void HistoManager::Book()
61 analysisManager->SetFileName(fFileName);
62 analysisManager->SetVerboseLevel(1);
63 analysisManager->SetActivation(
true);
66 const G4int kMaxHisto = 12;
68 const G4String id[] = {
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9" ,
"10",
"11"};
72 "emission point of e-",
73 "energy spectrum of e-",
74 "theta distribution of e-",
75 "emission point of e- hitting cavity",
76 "energy spectrum of e- when entering in cavity",
77 "theta distribution of e- before enter in cavity",
78 "theta distribution of e- at first step in cavity",
79 "track segment of e- in cavity",
80 "step size of e- in wall",
81 "step size of e- in cavity",
82 "energy deposit in cavity per track"
92 for (
G4int k=0; k<kMaxHisto; k++) {
93 G4int ih = analysisManager->CreateH1(
id[k], title[k], nbins, vmin, vmax);
94 analysisManager->SetH1Activation(ih,
false);
ExG4HbookAnalysisManager G4AnalysisManager
subroutine title(NA, NB, NCA, NCB)