Book histograms.
Definition at line 58 of file SiPixelClusterModule.cc.
References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), DQMStore::IBooker::book1D(), 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, MonitorElement::setAxisTitle(), SiPixelHistogramId::setHistoId(), TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
71 bool isHalfModule =
false;
93 meSize_ = iBooker.
book1D(hid,
"Total cluster size", 30, 0., 30.);
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_));
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;
174 meSizeLad_ = iBooker.
book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
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;
238 meSizeLay_ = iBooker.
book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
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;
317 meSizePhi_ = iBooker.
book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
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;
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.);
427 if (
type == 5 && endcap) {
432 sprintf(sdisk,
"Disk_%i", disk);
433 hid = src.
label() +
"_" + sdisk;
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.);
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;
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.);
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 * book1D(Args &&...args)
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 * book2D(Args &&...args)
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_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * mePixClustersPhi_px_
T const * product() const
MonitorElement * meXBlade_
MonitorElement * meChargeLay_
MonitorElement * meNClusters_
MonitorElement * meSizeLay_
MonitorElement * meMaxColDisk_