Implements DQMEDAnalyzer.
Definition at line 61 of file L1TScalersSCAL.cc.
References algoRate, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), bunchCrossingCorr, bunchCrossingDiff, bunchCrossingDiff_small, bunchCrossingL1A, deadTime, deadTimePercent, denomBit_, denomIsTech_, egammaBit_, eventNum, mps_fire::i, instEtLumi, instEtLumiErr, instEtLumiQlty, instEventRate, instLumi, instLumiErr, instLumiQlty, instTrigRate, integralAlgo, integralTech, integralTech_42_OR_43, dqmiolumiharvest::j, jetBit_, lostFinalTriggers, lostPhysRate, lostPhysRateBeamActive, muonBit_, Level1TriggerScalers::nLevel1TestTriggers, Level1TriggerScalers::nLevel1Triggers, numberResets, numOrbits, orbitNum, orbitNumL1A, physRate, physTrig, randRate, randTrig, rateRatio_egamma, rateRatio_jet, rateRatio_mu, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), startOrbit, techRate, techRateRatio_10, techRateRatio_33_over_32, techRateRatio_36, techRateRatio_37, techRateRatio_38, techRateRatio_39, techRateRatio_40, techRateRatio_41, techRateRatio_42, techRateRatio_43, techRateRatio_8, techRateRatio_9, and trigNum.
64 orbitNum = iBooker.
book1D(
"Orbit_Number",
"Orbit_Number", maxNbins, -0.5,
double(maxNbins) - 0.5);
65 trigNum = iBooker.
book1D(
"Number_of_Triggers",
"Number_of_Triggers", 1000, 0, 4E4);
67 eventNum = iBooker.
book1D(
"Number_of_Events",
"Number_of_Events", maxNbins, -0.5,
double(maxNbins) - 0.5);
69 physTrig = iBooker.
book1D(
"Physics_Triggers",
"Physics_Triggers", maxNbins, -0.5,
double(maxNbins) - 0.5);
72 randTrig = iBooker.
book1D(
"Random_Triggers",
"Random_Triggers", maxNbins, -0.5,
double(maxNbins) - 0.5);
74 numberResets = iBooker.
book1D(
"Number_Resets",
"Number_Resets", maxNbins, -0.5,
double(maxNbins) - 0.5);
75 deadTime = iBooker.
book1D(
"DeadTime",
"DeadTime", maxNbins, -0.5,
double(maxNbins) - 0.5);
77 iBooker.
book1D(
"Lost_Final_Trigger",
"Lost_Final_Trigger", maxNbins, -0.5,
double(maxNbins) - 0.5);
80 physRate = iBooker.
book1D(
"Physics_Trigger_Rate",
"Physics_Trigger_Rate", maxNbins, -0.5,
double(maxNbins) - 0.5);
81 randRate = iBooker.
book1D(
"Random_Trigger_Rate",
"Random_Trigger_Rate", maxNbins, -0.5,
double(maxNbins) - 0.5);
82 deadTimePercent = iBooker.
book1D(
"Deadtime_Percent",
"Deadtime_Percent", maxNbins, -0.5,
double(maxNbins) - 0.5);
84 iBooker.
book1D(
"Lost_Physics_Trigger_Rate",
"Lost_Physics_Trigger_Rate", maxNbins, -0.5,
double(maxNbins) - 0.5);
86 "Lost_Physics_Trigger_Rate_Beam_Active",
89 double(maxNbins) - 0.5);
98 iBooker.
setCurrentFolder(
"L1T/L1TScalersSCAL/Level1TriggerRates/AlgorithmRates");
100 sprintf(hname,
"Rate_AlgoBit_%03d",
i);
101 sprintf(mename,
"Rate_AlgoBit _%03d",
i);
102 algoRate[
i] = iBooker.
book1D(hname, mename, maxNbins, -0.5,
double(maxNbins) - 0.5);
106 iBooker.
setCurrentFolder(
"L1T/L1TScalersSCAL/Level1TriggerRates/AlgorithmRates/Integrated");
108 sprintf(hname,
"Integral_AlgoBit_%03d",
i);
109 sprintf(mename,
"Integral_AlgoBit _%03d",
i);
114 iBooker.
setCurrentFolder(
"L1T/L1TScalersSCAL/Level1TriggerRates/TechnicalRates");
116 sprintf(hname,
"Rate_TechBit_%03d",
i);
117 sprintf(mename,
"Rate_TechBit _%03d",
i);
118 techRate[
i] = iBooker.
book1D(hname, mename, maxNbins, -0.5,
double(maxNbins) - 0.5);
122 iBooker.
setCurrentFolder(
"L1T/L1TScalersSCAL/Level1TriggerRates/TechnicalRates/Integrated");
124 sprintf(hname,
"Integral_TechBit_%03d",
i);
125 sprintf(mename,
"Integral_TechBit _%03d",
i);
130 "Integral_TechBit_042_OR_043",
"Integral_TechBit _042_OR_043", maxNbins, -0.5,
double(maxNbins) - 0.5);
134 std::stringstream smu, seg, sjet, sdenom;
137 sdenom <<
"_TechBit_";
139 sdenom <<
"_AlgoBit_";
144 "Rate_Ratio_mu_PhysBit_" + smu.str() + sdenom.str(),
147 double(maxNbins) - 0.5);
152 "Rate_Ratio_egamma_PhysBit_" + seg.str() + sdenom.str(),
155 double(maxNbins) - 0.5);
160 "Rate_Ratio_jet_PhysBit_" + sjet.str() + sdenom.str(),
163 double(maxNbins) - 0.5);
168 "Rate_Ratio_TechBit_8" + sdenom.str(),
171 double(maxNbins) - 0.5);
173 "Rate_Ratio_TechBit_9" + sdenom.str(),
176 double(maxNbins) - 0.5);
178 "Rate_Ratio_TechBit_10" + sdenom.str(),
181 double(maxNbins) - 0.5);
184 "Rate_Ratio_TechBits_33_over_32",
"Rate_Ratio_TechBits_33_over_32", maxNbins, -0.5,
double(maxNbins) - 0.5);
186 "Rate_Ratio_TechBit_36" + sdenom.str(),
189 double(maxNbins) - 0.5);
191 "Rate_Ratio_TechBit_37" + sdenom.str(),
194 double(maxNbins) - 0.5);
196 "Rate_Ratio_TechBit_38" + sdenom.str(),
199 double(maxNbins) - 0.5);
201 "Rate_Ratio_TechBit_39" + sdenom.str(),
204 double(maxNbins) - 0.5);
206 "Rate_Ratio_TechBit_40" + sdenom.str(),
209 double(maxNbins) - 0.5);
211 "Rate_Ratio_TechBit_41" + sdenom.str(),
214 double(maxNbins) - 0.5);
216 "Rate_Ratio_TechBit_42" + sdenom.str(),
219 double(maxNbins) - 0.5);
221 "Rate_Ratio_TechBit_43" + sdenom.str(),
224 double(maxNbins) - 0.5);
227 instLumi = iBooker.
book1D(
"Instant_Lumi",
"Instant_Lumi", maxNbins, -0.5,
double(maxNbins) - 0.5);
228 instLumiErr = iBooker.
book1D(
"Instant_Lumi_Err",
"Instant_Lumi_Err", maxNbins, -0.5,
double(maxNbins) - 0.5);
229 instLumiQlty = iBooker.
book1D(
"Instant_Lumi_Qlty",
"Instant_Lumi_Qlty", maxNbins, -0.5,
double(maxNbins) - 0.5);
230 instEtLumi = iBooker.
book1D(
"Instant_Et_Lumi",
"Instant_Et_Lumi", maxNbins, -0.5,
double(maxNbins) - 0.5);
231 instEtLumiErr = iBooker.
book1D(
"Instant_Et_Lumi_Err",
"Instant_Et_Lumi_Err", maxNbins, -0.5,
double(maxNbins) - 0.5);
233 iBooker.
book1D(
"Instant_Et_Lumi_Qlty",
"Instant_Et_Lumi_Qlty", maxNbins, -0.5,
double(maxNbins) - 0.5);
234 startOrbit = iBooker.
book1D(
"Start_Orbit",
"Start_Orbit", maxNbins, -0.5,
double(maxNbins) - 0.5);
235 numOrbits = iBooker.
book1D(
"Num_Orbits",
"Num_Orbits", maxNbins, -0.5,
double(maxNbins) - 0.5);
238 for (
int i = 0;
i < 4;
i++) {
239 sprintf(hname,
"OrbitNumber_L1A_%d",
i + 1);
240 sprintf(mename,
"OrbitNumber_L1A_%d",
i + 1);
242 sprintf(hname,
"Bunch_Crossing_L1A_%d",
i + 1);
243 sprintf(mename,
"Bunch_Crossing_L1A_%d",
i + 1);
256 for (
int j = 0;
j < 3;
j++) {
257 sprintf(hname,
"BX_Correlation_%d",
j + 1);
258 sprintf(mename,
"BX_Correlation_%d",
j + 1);
261 sprintf(hname,
"Bunch_Crossing_Diff_%d",
j + 1);
262 sprintf(mename,
"Bunch_Crossing_Diff_%d",
j + 1);
264 sprintf(hname,
"Bunch_Crossing_Diff_small_%d",
j + 1);
265 sprintf(mename,
"Bunch_Crossing_Diff_small_%d",
j + 1);
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)