25 name =
fTitle +
"_h2d_Grid";
26 h2d_grid =
new TH2F(name,
"ScWall Grid", 18, -135, 135, 8, -60, 60);
29 h2d_grid->GetXaxis()->SetTitle(
"X [cm]");
31 h2d_grid->GetYaxis()->SetTitle(
"Y [cm]");
37 name =
fTitle +
"_h2d_GridCenter";
49 name =
fTitle +
"_h2d_profile";
50 h2d_profile =
new TH2F(name,
"ScWall Profile", 175, 0, 175, 200, 0, 100);
56 name =
fTitle +
"CanvasAmplitudes";
59 name =
fTitle +
"_h2d_cell_id";
70 name =
fTitle +
"_h2d_cell_id_center";
81 name =
fTitle +
"CanvasAmplitudes";
88 p1->
auxOpt = {
"colz logz",
"colz",
"text",
"text"};
93 p2->
opt =
"colz logy logz";
96 name =
fTitle +
"_hCellAmpl";
99 hCellAmpl->GetYaxis()->SetTitle(
"Counts");
100 hCellAmpl->GetXaxis()->SetTitle(
"fAmpl");
102 name =
fTitle +
"_hCellE";
105 hCellE->GetYaxis()->SetTitle(
"Counts");
106 hCellE->GetXaxis()->SetTitle(
"dE/dx");
108 name =
fTitle +
"_wfmCell";
114 name =
fTitle +
"CanvasSelection";
131 ps3->
opt =
"hist lp";
135 name =
fTitle +
"_hModEn_scwall_nt";
144 name =
fTitle +
"CanvasModEn";
252 const auto& positionMap =
fGeoHandler->GetPositionMap();
253 auto it = positionMap.find(digi->
GetAddress());
254 if (it == positionMap.end())
256 float x_pos = it->second.first.X();
257 float y_pos = it->second.first.Y();
274 auto Wfm = digi->
GetWfm();
275 std::vector<float> points(Wfm.size());
276 std::iota(std::begin(points), std::end(points), 0);
278 wfmCell->GetXaxis()->SetRangeUser(0, Wfm.size());
279 for (
UInt_t wfm_iter = 0; wfm_iter < Wfm.size(); wfm_iter++)
280 wfmCell->Fill(wfm_iter, Wfm.at(wfm_iter));
296 h2d_grid->Fill(x_pos, y_pos, signal);
297 int bin_x =
h2d_cell_id->GetXaxis()->FindBin(x_pos);
298 int bin_y =
h2d_cell_id->GetYaxis()->FindBin(y_pos);