52 for (
int i = 0; i < 8; i++) {
53 h_claws_Evtof1[i] =
new TH2F(TString::Format(
"claws_Evtof1_%d", i),
"Energy deposited [MeV] vs TOF [ns] - all", 5000, 0., 1000.,
55 h_claws_Evtof2[i] =
new TH2F(TString::Format(
"claws_Evtof2_%d", i),
"Energy deposited [MeV] vs TOF [ns] - only photons", 5000, 0.,
56 1000., 1000, 0., 10.);
57 h_claws_Evtof3[i] =
new TH2F(TString::Format(
"claws_Evtof3_%d", i),
"Energy deposited [MeV] vs TOF [ns] - only e+/e-", 5000, 0.,
58 1000., 1000, 0., 10.);
59 h_claws_Evtof4[i] =
new TH2F(TString::Format(
"claws_Evtof4_%d", i),
"Energy deposited [MeV] vs TOF [ns] - only e+/e-", 5000, 0.,
60 1000., 1000, 0., 10.);
61 h_claws_edep[i] =
new TH1F(TString::Format(
"claws_edep_%d", i),
"Energy deposited [MeV]", 5000, 0., 10.);
62 h_Wclaws_edep[i] =
new TH1F(TString::Format(
"Wclaws_edep_%d", i),
"Energy deposited [MeV]", 5000, 0., 10.);
65 h_claws_hitrate1 =
new TH1F(
"claws_hitrate1",
"Hit distributions", 8, 0., 8.);
66 h_claws_hitrate2 =
new TH1F(
"claws_hitrate2",
"Hit distributions", 8, 0., 8.);
75 h_claws_rs_hitrate1 =
new TH2F(
"claws_rs_hitrate1",
"Hit distributions vs rs", 8, 0., 8., 12, 0., 12.);
76 h_claws_rs_hitrate2 =
new TH2F(
"claws_rs_hitrate2",
"Hit distributions vs rs", 8, 0., 8., 12, 0., 12.);
77 h_claws_rs_hitrate1W =
new TH2F(
"claws_rs_hitrate1W",
"Hit distributions vs rs", 8, 0., 8., 12, 0., 12.);
78 h_claws_rs_hitrate2W =
new TH2F(
"claws_rs_hitrate2W",
"Hit distributions vs rs", 8, 0., 8., 12, 0., 12.);
85 for (
int i = 0; i < 8; i++) {
86 h_claws_rate1[i] =
new TH1F(TString::Format(
"claws_rate1_%d", i),
"PE distributions", 5000, 0., 5000.);
87 h_claws_rate2[i] =
new TH1F(TString::Format(
"claws_rate2_%d", i),
"PE distributions", 5000, 0., 5000.);
88 h_claws_rate1W[i] =
new TH1F(TString::Format(
"claws_rate1W_%d", i),
"PE distributions", 5000, 0., 5000.);
89 h_claws_rate2W[i] =
new TH1F(TString::Format(
"claws_rate2W_%d", i),
"PE distributions", 5000, 0., 5000.);
90 h_claws_pe1[i] =
new TH2F(TString::Format(
"claws_pe1_%d", i),
"PE distributions", 5000, 0., 5000., 1000, 0., 1000.);
91 h_claws_pe2[i] =
new TH2F(TString::Format(
"claws_pe2_%d", i),
"PE distributions", 5000, 0., 5000., 1000, 0., 1000.);
92 h_claws_pe1W[i] =
new TH2F(TString::Format(
"claws_pe1W_%d", i),
"PE distributions", 5000, 0., 5000., 1000, 0., 1000.);
93 h_claws_pe2W[i] =
new TH2F(TString::Format(
"claws_pe2W_%d", i),
"PE distributions", 5000, 0., 5000., 1000, 0., 1000.);
95 h_claws_rs_rate1[i] =
new TH2F(TString::Format(
"claws_rs_rate1_%d", i),
"PE distributions", 5000, 0., 5000., 12, 0., 12.);
96 h_claws_rs_rate2[i] =
new TH2F(TString::Format(
"claws_rs_rate2_%d", i),
"PE distributions", 5000, 0., 5000., 12, 0., 12.);
97 h_claws_rs_rate1W[i] =
new TH2F(TString::Format(
"claws_rs_rate1W_%d", i),
"PE distributions", 5000, 0., 5000., 12, 0., 12.);
98 h_claws_rs_rate2W[i] =
new TH2F(TString::Format(
"claws_rs_rate2W_%d", i),
"PE distributions", 5000, 0., 5000., 12, 0., 12.);
138 int ring_section = -1;
139 for (
const auto& MetaHit : MetaHits) {
140 rate = MetaHit.getrate();
141 ring_section = MetaHit.getring_section() - 1;
148 for (
int i = 0; i < (int) SimHits.
getEntries(); i++) {
168 for (
const auto&
Hit : Hits) {
169 const int detNb =
Hit.getdetNb();
171 const int timebin =
Hit.gettime();
172 const float edep =
Hit.getedep();
173 const float pe =
Hit.getPE();
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.