34 #include "HistoManager.hh"
49 delete G4AnalysisManager::Instance();
54 void HistoManager::Book()
60 analysisManager->SetFileName(fFileName);
61 analysisManager->SetVerboseLevel(1);
62 analysisManager->SetActivation(
true);
65 const G4int kMaxHisto = 8;
66 const G4String id[] = {
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7"};
69 "incident neutron: nb of collisions above 1 eV",
70 "incident neutron: total track length above 1 eV",
71 "incident neutron: time of flight above 1 eV",
72 "incident neutron: nb of collisions below 1 eV",
73 "incident neutron: total track length below 1*eV",
74 "incident neutron: time of flight below 1 eV",
75 "incident neutron: energy distribution below 1*eV"
85 for (
G4int k=0; k<kMaxHisto; k++) {
86 G4int ih = analysisManager->CreateH1(
id[k], title[k], nbins, vmin, vmax);
87 analysisManager->SetH1Activation(ih,
false);
ExG4HbookAnalysisManager G4AnalysisManager
subroutine title(NA, NB, NCA, NCB)