52 delete G4AnalysisManager::Instance();
68 std::vector<std::pair<G4String, G4String> > histograms =
69 { std::pair<G4String, G4String>(
"0",
"dummy"),
70 std::pair<G4String, G4String>(
"1",
"hits per event"),
71 std::pair<G4String, G4String>(
"2",
"hits per event above threshold"),
72 std::pair<G4String, G4String>(
"3",
"scintillation photons per event"),
73 std::pair<G4String, G4String>(
"4",
"Cerenkov photons per event"),
74 std::pair<G4String, G4String>(
"5",
"absorbed photons per event"),
75 std::pair<G4String, G4String>
76 (
"6",
"photons absorbed at boundary per event"),
77 std::pair<G4String, G4String>
78 (
"7",
"energy deposition in scintillator per event"),
88 for (
auto histogram : histograms) {
89 G4int ih = analysisManager->
90 CreateH1(
"h" + histogram.first, histogram.second, nbins, vmin, vmax);
G4bool SetFileName(const G4String &fileName)
void SetActivation(G4bool activation)
void SetVerboseLevel(G4int verboseLevel)
void SetH1Activation(G4bool activation)
Definition of the LXeHistoManager class.