67 std::vector<std::pair<G4String, G4String> > histograms =
68 { std::pair<G4String, G4String>(
"0",
"dummy"),
69 std::pair<G4String, G4String>(
"1",
"hits per event"),
70 std::pair<G4String, G4String>(
"2",
"hits per event above threshold"),
71 std::pair<G4String, G4String>(
"3",
"scintillation photons per event"),
72 std::pair<G4String, G4String>(
"4",
"Cerenkov photons per event"),
73 std::pair<G4String, G4String>(
"5",
"absorbed photons per event"),
74 std::pair<G4String, G4String>
75 (
"6",
"photons absorbed at boundary per event"),
76 std::pair<G4String, G4String>
77 (
"7",
"energy deposition in scintillator per event"),
87 for (
auto histogram : histograms) {
88 G4int ih = analysisManager->
89 CreateH1(
"h" + histogram.first, histogram.second, nbins, vmin, vmax);