28 constexpr auto ENERGY_BIN_SIZE = 2000;
29 constexpr auto ENERGY_MAX = 120.;
31 constexpr auto TIME_DIFF_BIN_SIZE = 1000;
32 constexpr auto TIME_DIFF_MAX = 60.;
34 constexpr auto TOF_BIN_SIZE = 6000;
35 constexpr auto TOF_MIN = -100;
36 constexpr auto TOF_MAX = 400;
39 "hHitEvsBar",
"Energy of hits", bar_numbers, -0.5, bar_numbers + 0.5, ENERGY_BIN_SIZE, 0, ENERGY_MAX);
44 "Time difference between left and right PMT signals",
52 hTdiffvsBar_->GetYaxis()->SetTitle(
"time difference (ns)");
55 "hTofvsBar",
"Time of hits", bar_numbers, -0.5, bar_numbers + 0.5, TOF_BIN_SIZE, TOF_MIN, TOF_MAX);
59 "hTofvsEhit",
"Time vs energy of hits", ENERGY_BIN_SIZE, 0., ENERGY_MAX, TOF_BIN_SIZE, TOF_MIN, TOF_MAX);
74 const auto& module_id = hit.module_id;
77 hTdiffvsBar_->Fill(module_id, hit.tdc_left - hit.tdc_right);