Book histograms.
Definition at line 58 of file SiPixelClusterModule.cc.
References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), PixelEndcapName::diskName(), makeMuonMisalignmentScenario::endcap, edm::EventSetup::get(), edm::ParameterSet::getParameter(), id_, PixelBarrelName::isHalfModule(), edm::InputTag::label(), PixelBarrelName::ladderName(), PixelBarrelName::layerName(), meCharge_, meChargeBlade_, meChargeDisk_, meChargeLad_, meChargeLay_, meChargePhi_, meChargeRing_, meMaxCol_, meMaxColBlade_, meMaxColDisk_, meMaxColLad_, meMaxColLay_, meMaxColPhi_, meMaxColRing_, meMaxRow_, meMaxRowBlade_, meMaxRowDisk_, meMaxRowLad_, meMaxRowLay_, meMaxRowPhi_, meMaxRowRing_, meMinCol_, meMinColBlade_, meMinColDisk_, meMinColLad_, meMinColLay_, meMinColPhi_, meMinColRing_, meMinRow_, meMinRowBlade_, meMinRowDisk_, meMinRowLad_, meMinRowLay_, meMinRowPhi_, meMinRowRing_, meNClusters_, meNClustersBlade_, meNClustersDisk_, meNClustersLad_, meNClustersLay_, meNClustersPhi_, meNClustersRing_, mePixClusters_, mePixClusters_px_, mePixClusters_py_, mePixClustersLad_, mePixClustersLad_px_, mePixClustersLad_py_, mePixClustersLay_, mePixClustersLay_px_, mePixClustersLay_py_, mePixClustersPhi_, mePixClustersPhi_px_, mePixClustersPhi_py_, mePixClustersRing_, mePixClustersRing_px_, mePixClustersRing_py_, meSize_, meSizeBlade_, meSizeDisk_, meSizeLad_, meSizeLay_, meSizePhi_, meSizeRing_, meSizeX_, meSizeXBlade_, meSizeXDisk_, meSizeXLad_, meSizeXLay_, meSizeXPhi_, meSizeXRing_, meSizeY_, meSizeYBlade_, meSizeYDisk_, meSizeYLad_, meSizeYLay_, meSizeYPhi_, meSizeYRing_, meSizeYvsEtaBarrel_, meX_, meXBlade_, meXDisk_, meXLad_, meXLay_, meXPhi_, meXRing_, meY_, meYBlade_, meYDisk_, meYLad_, meYLay_, meYPhi_, meYRing_, PixelBarrelName::moduleName(), ncols_, nrows_, PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), pTT, dqm::impl::MonitorElement::setAxisTitle(), SiPixelHistogramId::setHistoId(), TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
71 bool isHalfModule =
false;
85 meNClusters_ = iBooker.book1D(hid,
"Number of Clusters", 8, 0., 8.);
89 meCharge_ = iBooker.book1D(hid,
"Cluster charge", 100, 0., 200.);
93 meSize_ = iBooker.book1D(hid,
"Total cluster size", 30, 0., 30.);
98 meMinRow_ = iBooker.book1D(hid,
"Lowest cluster row", 200, 0., 200.);
102 meMaxRow_ = iBooker.book1D(hid,
"Highest cluster row", 200, 0., 200.);
106 meMinCol_ = iBooker.book1D(hid,
"Lowest cluster column", 500, 0., 500.);
110 meMaxCol_ = iBooker.book1D(hid,
"Highest cluster column", 500, 0., 500.);
114 meX_ = iBooker.book1D(hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
118 meY_ = iBooker.book1D(hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
122 meSizeX_ = iBooker.book1D(hid,
"Cluster x-width (rows)", 10, 0., 10.);
126 meSizeY_ = iBooker.book1D(hid,
"Cluster y-width (columns)", 15, 0., 15.);
134 hid,
"Number of Clusters (1bin=four pixels)", nbinx, 0.,
float(
ncols_), nbiny, 0.,
float(
nrows_));
140 iBooker.book1D(hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
141 mePixClusters_py_ = iBooker.book1D(hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
146 delete theHistogramId;
150 if (barrel &&
type == 7) {
151 hid = src.
label() +
"_Barrel";
153 "sizeYvsEta_" + hid,
"Cluster size along beamline vs. Cluster position #eta", 60, -3., 3., 40, 0., 40.);
157 if (
type == 1 && barrel) {
161 sprintf(sladder,
"Ladder_%02i", DBladder);
162 hid = src.
label() +
"_" + sladder;
168 meNClustersLad_ = iBooker.book1D(
"nclusters_" + hid,
"Number of Clusters", 8, 0., 8.);
171 meChargeLad_ = iBooker.book1D(
"charge_" + hid,
"Cluster charge", 100, 0., 200.);
174 meSizeLad_ = iBooker.book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
178 meMinRowLad_ = iBooker.book1D(
"minrow_" + hid,
"Lowest cluster row", 200, 0., 200.);
181 meMaxRowLad_ = iBooker.book1D(
"maxrow_" + hid,
"Highest cluster row", 200, 0., 200.);
184 meMinColLad_ = iBooker.book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
187 meMaxColLad_ = iBooker.book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
190 meXLad_ = iBooker.book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
193 meYLad_ = iBooker.book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
196 meSizeXLad_ = iBooker.book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
199 meSizeYLad_ = iBooker.book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
204 "Number of Clusters (1bin=four pixels)",
216 iBooker.book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
218 iBooker.book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
225 if (
type == 2 && barrel) {
229 sprintf(slayer,
"Layer_%i", DBlayer);
230 hid = src.
label() +
"_" + slayer;
232 meNClustersLay_ = iBooker.book1D(
"nclusters_" + hid,
"Number of Clusters", 8, 0., 8.);
235 meChargeLay_ = iBooker.book1D(
"charge_" + hid,
"Cluster charge", 100, 0., 200.);
238 meSizeLay_ = iBooker.book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
242 meMinRowLay_ = iBooker.book1D(
"minrow_" + hid,
"Lowest cluster row", 200, 0., 200.);
245 meMaxRowLay_ = iBooker.book1D(
"maxrow_" + hid,
"Highest cluster row", 200, 0., 200.);
248 meMinColLay_ = iBooker.book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
251 meMaxColLay_ = iBooker.book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
254 meXLay_ = iBooker.book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
257 meYLay_ = iBooker.book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
260 meSizeXLay_ = iBooker.book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
263 meSizeYLay_ = iBooker.book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
269 "Number of Clusters (1bin=four pixels)",
278 "Number of Clusters (1bin=four pixels)",
291 iBooker.book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
294 "hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", 2 * nbiny, 0.,
float(2 *
nrows_));
297 iBooker.book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
304 if (
type == 3 && barrel) {
308 sprintf(smodule,
"Ring_%i", DBmodule);
309 hid = src.
label() +
"_" + smodule;
311 meNClustersPhi_ = iBooker.book1D(
"nclusters_" + hid,
"Number of Clusters", 8, 0., 8.);
314 meChargePhi_ = iBooker.book1D(
"charge_" + hid,
"Cluster charge", 100, 0., 200.);
317 meSizePhi_ = iBooker.book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
321 meMinRowPhi_ = iBooker.book1D(
"minrow_" + hid,
"Lowest cluster row", 200, 0., 200.);
324 meMaxRowPhi_ = iBooker.book1D(
"maxrow_" + hid,
"Highest cluster row", 200, 0., 200.);
327 meMinColPhi_ = iBooker.book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
330 meMaxColPhi_ = iBooker.book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
333 meXPhi_ = iBooker.book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
336 meYPhi_ = iBooker.book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
339 meSizeXPhi_ = iBooker.book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
342 meSizeYPhi_ = iBooker.book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
348 "Number of Clusters (1bin=four pixels)",
357 "Number of Clusters (1bin=four pixels)",
370 iBooker.book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
373 "hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", 2 * nbiny, 0.,
float(2 *
nrows_));
376 iBooker.book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
384 if (
type == 4 && endcap) {
389 sprintf(sblade,
"Blade_%02i", blade);
390 hid = src.
label() +
"_" + sblade;
392 meNClustersBlade_ = iBooker.book1D(
"nclusters_" + hid,
"Number of Clusters", 8, 0., 8.);
395 meChargeBlade_ = iBooker.book1D(
"charge_" + hid,
"Cluster charge", 100, 0., 200.);
398 meSizeBlade_ = iBooker.book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
402 meMinRowBlade_ = iBooker.book1D(
"minrow_" + hid,
"Lowest cluster row", 200, 0., 200.);
405 meMaxRowBlade_ = iBooker.book1D(
"maxrow_" + hid,
"Highest cluster row", 200, 0., 200.);
408 meMinColBlade_ = iBooker.book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
411 meMaxColBlade_ = iBooker.book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
414 meXBlade_ = iBooker.book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
417 meYBlade_ = iBooker.book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
420 meSizeXBlade_ = iBooker.book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
423 meSizeYBlade_ = iBooker.book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
427 if (
type == 5 && endcap) {
432 sprintf(sdisk,
"Disk_%i", disk);
433 hid = src.
label() +
"_" + sdisk;
435 meNClustersDisk_ = iBooker.book1D(
"nclusters_" + hid,
"Number of Clusters", 8, 0., 8.);
438 meChargeDisk_ = iBooker.book1D(
"charge_" + hid,
"Cluster charge", 100, 0., 200.);
441 meSizeDisk_ = iBooker.book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
445 meMinRowDisk_ = iBooker.book1D(
"minrow_" + hid,
"Lowest cluster row", 200, 0., 200.);
448 meMaxRowDisk_ = iBooker.book1D(
"maxrow_" + hid,
"Highest cluster row", 200, 0., 200.);
451 meMinColDisk_ = iBooker.book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
454 meMaxColDisk_ = iBooker.book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
457 meXDisk_ = iBooker.book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
460 meYDisk_ = iBooker.book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
463 meSizeXDisk_ = iBooker.book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
466 meSizeYDisk_ = iBooker.book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
471 if (
type == 6 && endcap) {
478 sprintf(slab,
"Panel_%i_Ring_%i", panel, module);
479 hid = src.
label() +
"_" + slab;
481 meNClustersRing_ = iBooker.book1D(
"nclusters_" + hid,
"Number of Clusters", 8, 0., 8.);
484 meChargeRing_ = iBooker.book1D(
"charge_" + hid,
"Cluster charge", 100, 0., 200.);
487 meSizeRing_ = iBooker.book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
491 meMinRowRing_ = iBooker.book1D(
"minrow_" + hid,
"Lowest cluster row", 200, 0., 200.);
494 meMaxRowRing_ = iBooker.book1D(
"maxrow_" + hid,
"Highest cluster row", 200, 0., 200.);
497 meMinColRing_ = iBooker.book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
500 meMaxColRing_ = iBooker.book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
503 meXRing_ = iBooker.book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
506 meYRing_ = iBooker.book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
509 meSizeXRing_ = iBooker.book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
512 meSizeYRing_ = iBooker.book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
517 "Number of Clusters (1bin=four pixels)",
529 iBooker.book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
531 iBooker.book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * meMinColLay_
T getParameter(std::string const &) const
MonitorElement * meMinRowRing_
MonitorElement * meMaxColLad_
MonitorElement * meSizePhi_
MonitorElement * meCharge_
MonitorElement * mePixClustersLad_px_
MonitorElement * meMaxCol_
MonitorElement * meMaxColPhi_
MonitorElement * meNClustersLad_
MonitorElement * meYBlade_
int moduleName() const
module id (index in z)
MonitorElement * meMinRowLad_
MonitorElement * meSizeYLay_
const TrackerTopology * pTT
MonitorElement * meSizeYLad_
MonitorElement * meSizeXLad_
MonitorElement * meSizeXLay_
MonitorElement * meMinRow_
MonitorElement * meXDisk_
MonitorElement * meMaxRowRing_
MonitorElement * mePixClustersLay_
MonitorElement * meSizeYBlade_
MonitorElement * meMinRowBlade_
MonitorElement * meNClustersPhi_
MonitorElement * meChargePhi_
MonitorElement * meMinColPhi_
MonitorElement * meNClustersBlade_
MonitorElement * mePixClustersPhi_py_
MonitorElement * meMinRowDisk_
MonitorElement * mePixClustersRing_px_
MonitorElement * meMaxRowLad_
MonitorElement * meMinRowLay_
MonitorElement * meMinColBlade_
MonitorElement * meXRing_
MonitorElement * meSizeYDisk_
MonitorElement * meSizeDisk_
MonitorElement * meMaxColRing_
MonitorElement * meMinColLad_
int bladeName() const
blade id
MonitorElement * meMaxRowBlade_
MonitorElement * meChargeRing_
MonitorElement * mePixClustersLad_
bool isHalfModule() const
full or half module
MonitorElement * meMaxRowPhi_
MonitorElement * meMinRowPhi_
MonitorElement * meMinColDisk_
MonitorElement * meMinCol_
MonitorElement * mePixClusters_py_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * mePixClustersLay_px_
MonitorElement * meNClustersDisk_
MonitorElement * meSizeYRing_
MonitorElement * mePixClustersRing_
MonitorElement * meSizeX_
MonitorElement * meSizeY_
MonitorElement * meMaxRowLay_
MonitorElement * meChargeDisk_
MonitorElement * meMaxColBlade_
MonitorElement * mePixClustersPhi_
MonitorElement * meChargeBlade_
MonitorElement * mePixClustersLay_py_
MonitorElement * meMinColRing_
MonitorElement * meNClustersLay_
MonitorElement * meMaxColLay_
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
MonitorElement * meMaxRowDisk_
int ladderName() const
ladder id (index in phi)
MonitorElement * meYRing_
MonitorElement * meNClustersRing_
MonitorElement * meSizeYvsEtaBarrel_
MonitorElement * mePixClustersLad_py_
int layerName() const
layer id
MonitorElement * meYDisk_
MonitorElement * meSizeRing_
MonitorElement * mePixClusters_px_
MonitorElement * meSizeXPhi_
MonitorElement * meSizeXRing_
MonitorElement * mePixClusters_
MonitorElement * meSizeXBlade_
int pannelName() const
pannel id
MonitorElement * meMaxRow_
MonitorElement * meChargeLad_
MonitorElement * meSizeLad_
MonitorElement * meSizeBlade_
MonitorElement * mePixClustersRing_py_
int diskName() const
disk id
MonitorElement * meSizeXDisk_
MonitorElement * meSizeYPhi_
MonitorElement * mePixClustersPhi_px_
T const * product() const
MonitorElement * meXBlade_
MonitorElement * meChargeLay_
MonitorElement * meNClusters_
MonitorElement * meSizeLay_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meMaxColDisk_