2 #include <fmt/format.h>
12 TH2*
h = dynamic_cast<TH2*>(
me->getTH1());
13 h->GetXaxis()->SetNoAlphanumeric(
true);
15 for (
int i = 1;
i <= 12; ++
i) {
26 TH1*
h = dynamic_cast<TH1*>(
me->getTH1());
28 h->GetXaxis()->SetNoAlphanumeric(
true);
30 h->GetYaxis()->SetNoAlphanumeric(
true);
32 const std::array<const std::string, 21> labelsRoll = {
33 {
"RB1in_B",
"RB1in_F",
"RB1out_B",
"RB1out_F",
"RB2in_B",
"RB2in_F",
"RB2in_M",
34 "RB2out_B",
"RB2out_F",
"RB3-_B",
"RB3-_F",
"RB3+_B",
"RB3+_F",
"RB4,-_B",
35 "RB4,-_F",
"RB4+_B",
"RB4+_F",
"RB4--_B",
"RB4--_F",
"RB4++_B",
"RB4++_F"}};
36 const std::array<const std::string, 21> labelsCh = {{
"RB1in",
"",
"RB1out",
"",
"RB2in",
"",
"",
37 "RB2out",
"",
"RB3-",
"",
"RB3+",
"",
"RB4,-",
38 "",
"RB4+",
"",
"RB4--",
"",
"RB4++",
""}};
46 me->setBinLabel(7,
"RB2out_M", 2);
51 TH1*
h = dynamic_cast<TH1*>(
me->getTH1());
53 h->GetXaxis()->SetNoAlphanumeric(
true);
55 h->GetYaxis()->SetNoAlphanumeric(
true);
59 const std::array<const std::string, 6> labelsRoll = {{
66 const std::array<const std::string, 6> labelsCh = {{
75 for (
int i = 0;
i < 6; ++
i) {
84 TH2*
h = dynamic_cast<TH2*>(
me->getTH1());
85 h->GetXaxis()->SetNoAlphanumeric(
true);
86 h->GetYaxis()->SetNoAlphanumeric(
true);
89 for (
int i = 1;
i <= 36; ++
i) {
92 me->setAxisTitle(
"Segments", 1);