Definition at line 44 of file SiPixelHitEfficiencyModule.cc.
55 bool isHalfModule =
false;
75 meEfficiency_ = iBooker.book1D(hisID,
"Hit efficiency", 1, 0, 1.);
79 meEfficiencyX_ = iBooker.book1D(hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
83 meEfficiencyY_ = iBooker.book1D(hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
87 meEfficiencyAlpha_ = iBooker.book1D(hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
91 meEfficiencyBeta_ = iBooker.book1D(hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
97 meValid_ = iBooker.book1D(hisID,
"# Valid hits", 1, 0, 1.);
102 meMissing_ = iBooker.book1D(hisID,
"# Missing hits", 1, 0, 1.);
105 delete theHistogramId;
112 sprintf(sladder,
"Ladder_%02i", DBladder);
113 hisID =
src.label() +
"_" + sladder;
121 meEfficiencyLad_ = iBooker.book1D(
"efficiency_" + hisID,
"Hit efficiency", 1, 0, 1.);
124 meEfficiencyXLad_ = iBooker.book1D(
"efficiencyX_" + hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
127 meEfficiencyYLad_ = iBooker.book1D(
"efficiencyY_" + hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
131 iBooker.book1D(
"efficiencyAlpha_" + hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
134 meEfficiencyBetaLad_ = iBooker.book1D(
"efficiencyBeta_" + hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
139 meValidLad_ = iBooker.book1D(
"valid_" + hisID,
"# Valid hits", 1, 0, 1.);
142 meValidXLad_ = iBooker.book1D(
"validX_" + hisID,
"# Valid hits in X", nbinX, -1.5, 1.5);
145 meValidYLad_ = iBooker.book1D(
"validY_" + hisID,
"# Valid hits in Y", nbinY, -4., 4.);
148 meValidModLad_ = iBooker.book1D(
"validMod_" + hisID,
"# Valid hits on Module", 4, 0.5, 4.5);
151 meValidAlphaLad_ = iBooker.book1D(
"validAlpha_" + hisID,
"# Valid hits in Alpha", nbinangle, -3.5, 3.5);
154 meValidBetaLad_ = iBooker.book1D(
"validBeta_" + hisID,
"# Valid hits in Beta", nbinangle, -3.5, 3.5);
158 meMissingLad_ = iBooker.book1D(
"missing_" + hisID,
"# Missing hits", 1, 0, 1.);
161 meMissingXLad_ = iBooker.book1D(
"missingX_" + hisID,
"# Missing hits in X", nbinX, -1.5, 1.5);
164 meMissingYLad_ = iBooker.book1D(
"missingY_" + hisID,
"# Missing hits in Y", nbinY, -4., 4.);
167 meMissingModLad_ = iBooker.book1D(
"missingMod_" + hisID,
"# Missing hits on Module", 4, 0.5, 4.5);
170 meMissingAlphaLad_ = iBooker.book1D(
"missingAlpha_" + hisID,
"# Missing hits in Alpha", nbinangle, -3.5, 3.5);
173 meMissingBetaLad_ = iBooker.book1D(
"missingBeta_" + hisID,
"# Missing hits in Beta", nbinangle, -3.5, 3.5);
181 sprintf(slayer,
"Layer_%i", DBlayer);
182 hisID =
src.label() +
"_" + slayer;
186 meEfficiencyLay_ = iBooker.book1D(
"efficiency_" + hisID,
"Hit efficiency", 1, 0, 1.);
189 meEfficiencyXLay_ = iBooker.book1D(
"efficiencyX_" + hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
192 meEfficiencyYLay_ = iBooker.book1D(
"efficiencyY_" + hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
196 iBooker.book1D(
"efficiencyAlpha_" + hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
199 meEfficiencyBetaLay_ = iBooker.book1D(
"efficiencyBeta_" + hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
204 meValidLay_ = iBooker.book1D(
"valid_" + hisID,
"# Valid hits", 1, 0, 1.);
207 meValidXLay_ = iBooker.book1D(
"validX_" + hisID,
"# Valid hits in X", nbinX, -1.5, 1.5);
210 meValidYLay_ = iBooker.book1D(
"validY_" + hisID,
"# Valid hits in Y", nbinY, -4., 4.);
213 meValidAlphaLay_ = iBooker.book1D(
"validAlpha_" + hisID,
"# Valid hits in Alpha", nbinangle, -3.5, 3.5);
216 meValidBetaLay_ = iBooker.book1D(
"validBeta_" + hisID,
"# Valid hits in Beta", nbinangle, -3.5, 3.5);
220 meMissingLay_ = iBooker.book1D(
"missing_" + hisID,
"# Missing hits", 1, 0, 1.);
223 meMissingXLay_ = iBooker.book1D(
"missingX_" + hisID,
"# Missing hits in X", nbinX, -1.5, 1.5);
226 meMissingYLay_ = iBooker.book1D(
"missingY_" + hisID,
"# Missing hits in Y", nbinY, -4., 4.);
229 meMissingAlphaLay_ = iBooker.book1D(
"missingAlpha_" + hisID,
"# Missing hits in Alpha", nbinangle, -3.5, 3.5);
232 meMissingBetaLay_ = iBooker.book1D(
"missingBeta_" + hisID,
"# Missing hits in Beta", nbinangle, -3.5, 3.5);
240 sprintf(smodule,
"Ring_%i", DBmodule);
241 hisID =
src.label() +
"_" + smodule;
245 meEfficiencyPhi_ = iBooker.book1D(
"efficiency_" + hisID,
"Hit efficiency", 1, 0, 1.);
248 meEfficiencyXPhi_ = iBooker.book1D(
"efficiencyX_" + hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
251 meEfficiencyYPhi_ = iBooker.book1D(
"efficiencyY_" + hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
255 iBooker.book1D(
"efficiencyAlpha_" + hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
258 meEfficiencyBetaPhi_ = iBooker.book1D(
"efficiencyBeta_" + hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
263 meValidPhi_ = iBooker.book1D(
"valid_" + hisID,
"# Valid hits", 1, 0, 1.);
266 meValidXPhi_ = iBooker.book1D(
"validX_" + hisID,
"# Valid hits in X", nbinX, -1.5, 1.5);
269 meValidYPhi_ = iBooker.book1D(
"validY_" + hisID,
"# Valid hits in Y", nbinY, -4., 4.);
272 meValidAlphaPhi_ = iBooker.book1D(
"validAlpha_" + hisID,
"# Valid hits in Alpha", nbinangle, -3.5, 3.5);
275 meValidBetaPhi_ = iBooker.book1D(
"validBeta_" + hisID,
"# Valid hits in Beta", nbinangle, -3.5, 3.5);
279 meMissingPhi_ = iBooker.book1D(
"missing_" + hisID,
"# Missing hits", 1, 0, 1.);
282 meMissingXPhi_ = iBooker.book1D(
"missingX_" + hisID,
"# Missing hits in X", nbinX, -1.5, 1.5);
285 meMissingYPhi_ = iBooker.book1D(
"missingY_" + hisID,
"# Missing hits in Y", nbinY, -4., 4.);
288 meMissingAlphaPhi_ = iBooker.book1D(
"missingAlpha_" + hisID,
"# Missing hits in Alpha", nbinangle, -3.5, 3.5);
291 meMissingBetaPhi_ = iBooker.book1D(
"missingBeta_" + hisID,
"# Missing hits in Beta", nbinangle, -3.5, 3.5);
300 sprintf(sblade,
"Blade_%02i", blade);
301 hisID =
src.label() +
"_" + sblade;
305 meEfficiencyBlade_ = iBooker.book1D(
"efficiency_" + hisID,
"Hit efficiency", 1, 0, 1.);
308 meEfficiencyXBlade_ = iBooker.book1D(
"efficiencyX_" + hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
311 meEfficiencyYBlade_ = iBooker.book1D(
"efficiencyY_" + hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
315 iBooker.book1D(
"efficiencyAlpha_" + hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
319 iBooker.book1D(
"efficiencyBeta_" + hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
324 meValidBlade_ = iBooker.book1D(
"valid_" + hisID,
"# Valid hits", 2, 0.5, 2.5);
327 meValidXBlade_ = iBooker.book1D(
"validX_" + hisID,
"# Valid hits in X", nbinX, -1.5, 1.5);
330 meValidYBlade_ = iBooker.book1D(
"validY_" + hisID,
"# Valid hits in Y", nbinY, -4., 4.);
333 meValidAlphaBlade_ = iBooker.book1D(
"validAlpha_" + hisID,
"# Valid hits in Alpha", nbinangle, -3.5, 3.5);
336 meValidBetaBlade_ = iBooker.book1D(
"validBeta_" + hisID,
"# Valid hits in Beta", nbinangle, -3.5, 3.5);
340 meMissingBlade_ = iBooker.book1D(
"missing_" + hisID,
"# Missing hits", 2, 0.5, 2.5);
343 meMissingXBlade_ = iBooker.book1D(
"missingX_" + hisID,
"# Missing hits in X", nbinX, -1.5, 1.5);
346 meMissingYBlade_ = iBooker.book1D(
"missingY_" + hisID,
"# Missing hits in Y", nbinY, -4., 4.);
349 meMissingAlphaBlade_ = iBooker.book1D(
"missingAlpha_" + hisID,
"# Missing hits in Alpha", nbinangle, -3.5, 3.5);
352 meMissingBetaBlade_ = iBooker.book1D(
"missingBeta_" + hisID,
"# Missing hits in Beta", nbinangle, -3.5, 3.5);
361 sprintf(sdisk,
"Disk_%i", disk);
362 hisID =
src.label() +
"_" + sdisk;
366 meEfficiencyDisk_ = iBooker.book1D(
"efficiency_" + hisID,
"Hit efficiency", 1, 0, 1.);
369 meEfficiencyXDisk_ = iBooker.book1D(
"efficiencyX_" + hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
372 meEfficiencyYDisk_ = iBooker.book1D(
"efficiencyY_" + hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
376 iBooker.book1D(
"efficiencyAlpha_" + hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
379 meEfficiencyBetaDisk_ = iBooker.book1D(
"efficiencyBeta_" + hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
384 meValidDisk_ = iBooker.book1D(
"valid_" + hisID,
"# Valid hits", 1, 0, 1.);
387 meValidXDisk_ = iBooker.book1D(
"validX_" + hisID,
"# Valid hits in X", nbinX, -1.5, 1.5);
390 meValidYDisk_ = iBooker.book1D(
"validY_" + hisID,
"# Valid hits in Y", nbinY, -4., 4.);
393 meValidAlphaDisk_ = iBooker.book1D(
"validAlpha_" + hisID,
"# Valid hits in Alpha", nbinangle, -3.5, 3.5);
396 meValidBetaDisk_ = iBooker.book1D(
"validBeta_" + hisID,
"# Valid hits in Beta", nbinangle, -3.5, 3.5);
400 meMissingDisk_ = iBooker.book1D(
"missing_" + hisID,
"# Missing hits", 1, 0, 1.);
403 meMissingXDisk_ = iBooker.book1D(
"missingX_" + hisID,
"# Missing hits in X", nbinX, -1.5, 1.5);
406 meMissingYDisk_ = iBooker.book1D(
"missingY_" + hisID,
"# Missing hits in Y", nbinY, -4., 4.);
409 meMissingAlphaDisk_ = iBooker.book1D(
"missingAlpha_" + hisID,
"# Missing hits in Alpha", nbinangle, -3.5, 3.5);
412 meMissingBetaDisk_ = iBooker.book1D(
"missingBeta_" + hisID,
"# Missing hits in Beta", nbinangle, -3.5, 3.5);
423 sprintf(slab,
"Panel_%i_Ring_%i", panel,
module);
424 hisID =
src.label() +
"_" + slab;
428 meEfficiencyRing_ = iBooker.book1D(
"efficiency_" + hisID,
"Hit efficiency", 1, 0, 1.);
431 meEfficiencyXRing_ = iBooker.book1D(
"efficiencyX_" + hisID,
"Hit efficiency in X", nbinX, -1.5, 1.5);
434 meEfficiencyYRing_ = iBooker.book1D(
"efficiencyY_" + hisID,
"Hit efficiency in Y", nbinY, -4., 4.);
438 iBooker.book1D(
"efficiencyAlpha_" + hisID,
"Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
441 meEfficiencyBetaRing_ = iBooker.book1D(
"efficiencyBeta_" + hisID,
"Hit efficiency in Beta", nbinangle, -3.5, 3.5);
446 meValidRing_ = iBooker.book1D(
"valid_" + hisID,
"# Valid hits", 1, 0, 1.);
449 meValidXRing_ = iBooker.book1D(
"validX_" + hisID,
"# Valid hits in X", nbinX, -1.5, 1.5);
452 meValidYRing_ = iBooker.book1D(
"validY_" + hisID,
"# Valid hits in Y", nbinY, -4., 4.);
455 meValidAlphaRing_ = iBooker.book1D(
"validAlpha_" + hisID,
"# Valid hits in Alpha", nbinangle, -3.5, 3.5);
458 meValidBetaRing_ = iBooker.book1D(
"validBeta_" + hisID,
"# Valid hits in Beta", nbinangle, -3.5, 3.5);
462 meMissingRing_ = iBooker.book1D(
"missing_" + hisID,
"# Missing hits", 1, 0, 1.);
465 meMissingXRing_ = iBooker.book1D(
"missingX_" + hisID,
"# Missing hits in X", nbinX, -1.5, 1.5);
468 meMissingYRing_ = iBooker.book1D(
"missingY_" + hisID,
"# Missing hits in Y", nbinY, -4., 4.);
471 meMissingAlphaRing_ = iBooker.book1D(
"missingAlpha_" + hisID,
"# Missing hits in Alpha", nbinangle, -3.5, 3.5);
474 meMissingBetaRing_ = iBooker.book1D(
"missingBeta_" + hisID,
"# Missing hits in Beta", nbinangle, -3.5, 3.5);
References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), dqm::implementation::IBooker::book1D(), debug_, PixelEndcapName::diskName(), makeMuonMisalignmentScenario::endcap, edm::EventSetup::get(), get, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), id_, PixelBarrelName::isHalfModule(), SiPixelOfflineDQM_client_cff::isUpgrade, PixelBarrelName::ladderName(), PixelBarrelName::layerName(), meEfficiency_, meEfficiencyAlpha_, meEfficiencyAlphaBlade_, meEfficiencyAlphaDisk_, meEfficiencyAlphaLad_, meEfficiencyAlphaLay_, meEfficiencyAlphaPhi_, meEfficiencyAlphaRing_, meEfficiencyBeta_, meEfficiencyBetaBlade_, meEfficiencyBetaDisk_, meEfficiencyBetaLad_, meEfficiencyBetaLay_, meEfficiencyBetaPhi_, meEfficiencyBetaRing_, meEfficiencyBlade_, meEfficiencyDisk_, meEfficiencyLad_, meEfficiencyLay_, meEfficiencyPhi_, meEfficiencyRing_, meEfficiencyX_, meEfficiencyXBlade_, meEfficiencyXDisk_, meEfficiencyXLad_, meEfficiencyXLay_, meEfficiencyXPhi_, meEfficiencyXRing_, meEfficiencyY_, meEfficiencyYBlade_, meEfficiencyYDisk_, meEfficiencyYLad_, meEfficiencyYLay_, meEfficiencyYPhi_, meEfficiencyYRing_, meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingModLad_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidModLad_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, PixelBarrelName::moduleName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), dqm::impl::MonitorElement::setAxisTitle(), SiPixelHistogramId::setHistoId(), TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and updateEfficiencies.