11 std::map<std::string, MonitorElement*>& meMap) {
37 tmpStr =
"Occupancy_" + nameRoll;
38 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, nstrips, 0.5, nstrips + 0.5);
40 tmpStr =
"BXDistribution_" + nameRoll;
41 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 7, -3.5, 3.5);
44 tmpStr =
"ClusterSize_" + nameRoll;
45 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 15, 0.5, 15.5);
47 tmpStr =
"Multiplicity_" + nameRoll;
48 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 30, 0.5, 30.5);
51 tmpStr =
"ClusterSize_" + nameRoll;
52 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 10, 0.5, 10.5);
54 tmpStr =
"Multiplicity_" + nameRoll;
55 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 15, 0.5, 15.5);
58 tmpStr =
"NumberOfClusters_" + nameRoll;
59 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 10, 0.5, 10.5);
64 std::map<std::string, MonitorElement*>& meMap) {
69 for (
int sector = 1; sector <= 12; sector++) {
72 if (sector == 9 || sector == 11)
73 meMap[meName] = ibooker.
book2D(meName, meName, 91, 0.5, 91.5, 15, 0.5, 15.5);
75 meMap[meName] = ibooker.
book2D(meName, meName, 91, 0.5, 91.5, 21, 0.5, 21.5);
77 meMap[meName] = ibooker.
book2D(meName, meName, 91, 0.5, 91.5, 17, 0.5, 17.5);
90 regionName =
"Endcap+";
99 auto me1 = ibooker.
book2D(meName1, meName1, 96, 0.5, 96.5, 18, 0.5, 18.5);
100 me1->setAxisTitle(
"strip", 1);
102 for (
int i = 1;
i <= 18;
i++) {
107 me1->setBinLabel(1,
"1", 1);
108 me1->setBinLabel(16,
"RollA", 1);
109 me1->setBinLabel(32,
"32", 1);
110 me1->setBinLabel(33,
"1", 1);
111 me1->setBinLabel(48,
"RollB", 1);
112 me1->setBinLabel(64,
"32", 1);
113 me1->setBinLabel(65,
"1", 1);
114 me1->setBinLabel(80,
"RollC", 1);
115 me1->setBinLabel(96,
"32", 1);
119 auto me2 = ibooker.
book2D(meName2, meName2, 96, 0.5, 96.5, 18, 18.5, 36.5);
120 me2->setAxisTitle(
"strip", 1);
122 for (
int i = 1;
i <= 18;
i++) {
127 me2->setBinLabel(1,
"1", 1);
128 me2->setBinLabel(16,
"RollA", 1);
129 me2->setBinLabel(32,
"32", 1);
130 me2->setBinLabel(33,
"1", 1);
131 me2->setBinLabel(48,
"RollB", 1);
132 me2->setBinLabel(64,
"32", 1);
133 me2->setBinLabel(65,
"1", 1);
134 me2->setBinLabel(80,
"RollC", 1);
135 me2->setBinLabel(96,
"32", 1);
137 meMap[meName1] =
me1;
138 meMap[meName2] =
me2;
146 std::map<std::string, MonitorElement*>& meMap) {
153 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 12, 0.5, 12.5);
154 for (
int i = 1;
i <= 12; ++
i) {
162 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 9, -4.5, 4.5);
176 tmpStr =
fmt::format(
"Occupancy_Ring_vs_Segment_Disk_{}", disk);
179 tmpStr =
fmt::format(
"BxDistribution_Disk_{}", disk);
180 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 9, -4.5, 4.5);
191 meMap[meName] = ibooker.
book1D(
199 meMap[meName]->setBinLabel(xbin,
label, 1);
215 std::map<std::string, MonitorElement*>& meMap) {
219 std::stringstream
name;
220 std::stringstream
title;
221 for (
int r = 0;
r < 3;
r++) {
227 name <<
"ClusterSize_" << regionName;
228 title <<
"ClusterSize - " << regionName;
235 name <<
"NumberOfClusters_Barrel";
236 title <<
"Number of Clusters per Event - Barrel";
241 name <<
"NumberOfClusters_Endcap+";
242 title <<
"Number of Clusters per Event - Endcap+";
247 name <<
"NumberOfClusters_Endcap-";
248 title <<
"Number of Clusters per Event - Endcap-";
254 name <<
"Multiplicity_Barrel";
255 title <<
"Multiplicity per Event per Roll - Barrel";
260 name <<
"Multiplicity_Endcap+";
261 title <<
"Multiplicity per Event per Roll - Endcap+";
266 name <<
"Multiplicity_Endcap-";
267 title <<
"Multiplicity per Event per Roll - Endcap-";
286 meMap[
"Occupancy_for_Endcap"] = ibooker.
book2D(
"Occupancy_for_Endcap",
295 meMap[
"Occupancy_for_Endcap"]->setAxisTitle(
"Ring", 2);
297 std::stringstream binlabel;
305 meMap[
"Occupancy_for_Endcap"]->setBinLabel(
bin, binlabel.str(), 1);
308 meMap[
"Occupancy_for_Endcap"]->setBinLabel(1,
"2", 2);
309 meMap[
"Occupancy_for_Endcap"]->setBinLabel(2,
"3", 2);
311 meMap[
"Occupancy_for_Barrel"] =
312 ibooker.
book2D(
"Occupancy_for_Barrel",
"Occupancy Barrel", 12, 0.5, 12.5, 5, -2.5, 2.5);
314 meMap[
"Occupancy_for_Barrel"]->setAxisTitle(
"Wheel", 2);
319 meMap[
"Occupancy_for_Barrel"]->setBinLabel(
bin, binlabel.str(), 1);
322 binlabel << (
bin - 3);
323 meMap[
"Occupancy_for_Barrel"]->setBinLabel(
bin, binlabel.str(), 2);