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);
static void setBarrelRollAxis(MonitorElement *me, const int wheel, const int axis, const bool useRollInfo)
Abs< T >::type abs(const T &t)
dqm::reco::MonitorElement MonitorElement
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
static void setEndcapRollAxis(MonitorElement *me, const int disk, const int axis, const bool useRollInfo)
dqm::reco::DQMStore::IBooker IBooker
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)