Book histograms.
Definition at line 66 of file SiPixelClusterModule.cc.
References Reference_intrackfit_cff::barrel, PixelEndcapNameUpgrade::bladeName(), PixelEndcapName::bladeName(), DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), Reference_intrackfit_cff::endcap, edm::ParameterSet::getParameter(), id_, PixelBarrelNameUpgrade::isHalfModule(), PixelBarrelName::isHalfModule(), edm::InputTag::label(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), 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_, python.rootplot.argparse::module, PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), ncols_, nrows_, PixelEndcapNameUpgrade::pannelName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), MonitorElement::setAxisTitle(), SiPixelHistogramId::setHistoId(), alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
70 bool isHalfModule =
false;
74 }
else if (isUpgrade) {
117 meX_ = iBooker.
book1D(hid,
"Cluster barycenter X (row #)",200,0.,200.);
121 meY_ = iBooker.
book1D(hid,
"Cluster barycenter Y (column #)",500,0.,500.);
125 meSizeX_ = iBooker.
book1D(hid,
"Cluster x-width (rows)",10,0.,10.);
129 meSizeY_ = iBooker.
book1D(hid,
"Cluster y-width (columns)",15,0.,15.);
147 delete theHistogramId;
151 if(barrel &&
type==7){
152 hid = src.
label() +
"_Barrel";
153 meSizeYvsEtaBarrel_= iBooker.
book2D(
"sizeYvsEta_" + hid,
"Cluster size along beamline vs. Cluster position #eta",60,-3.,3.,40,0.,40.);
157 if(
type==1 && barrel){
161 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
162 hid = src.
label() +
"_" + sladder;
163 if(isHalfModule) hid +=
"H";
188 meXLad_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
191 meYLad_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
197 meSizeYLad_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
214 if(
type==2 && barrel){
219 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
220 hid = src.
label() +
"_" + slayer;
244 meXLay_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
247 meYLay_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
253 meSizeYLay_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
277 if(
type==3 && barrel){
281 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
282 hid = src.
label() +
"_" + smodule;
306 meXPhi_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
309 meYPhi_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
315 meSizeYPhi_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
340 if(
type==4 && endcap){
345 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
346 hid = src.
label() +
"_" + sblade;
370 meXBlade_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
373 meYBlade_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
383 if(
type==5 && endcap){
388 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
389 hid = src.
label() +
"_" + sdisk;
413 meXDisk_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
416 meYDisk_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
427 if(
type==6 && endcap){
438 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
439 hid = src.
label() +
"_" + slab;
463 meXRing_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
466 meYRing_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
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_
MonitorElement * meSizeYLad_
MonitorElement * meSizeXLad_
MonitorElement * meSizeXLay_
MonitorElement * meMinRow_
MonitorElement * meXDisk_
MonitorElement * meMaxRowRing_
MonitorElement * mePixClustersLay_
MonitorElement * meSizeYBlade_
bool isHalfModule() const
full or half module
MonitorElement * meMinRowBlade_
MonitorElement * meNClustersPhi_
MonitorElement * meChargePhi_
MonitorElement * meMinColPhi_
MonitorElement * meNClustersBlade_
MonitorElement * mePixClustersPhi_py_
MonitorElement * meMinRowDisk_
int plaquetteName() const
plaquetteId (in pannel)
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_
MonitorElement * book1D(Args &&...args)
MonitorElement * mePixClustersLay_px_
MonitorElement * meNClustersDisk_
MonitorElement * meSizeYRing_
MonitorElement * mePixClustersRing_
MonitorElement * meSizeX_
MonitorElement * meSizeY_
MonitorElement * meMaxRowLay_
int bladeName() const
blade id
MonitorElement * meChargeDisk_
MonitorElement * meMaxColBlade_
MonitorElement * mePixClustersPhi_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * meChargeBlade_
MonitorElement * mePixClustersLay_py_
MonitorElement * meMinColRing_
int diskName() const
disk id
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_
int ladderName() const
ladder id (index in phi)
MonitorElement * book2D(Args &&...args)
MonitorElement * meNClustersRing_
MonitorElement * meSizeYvsEtaBarrel_
int moduleName() const
module id (index in z)
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_
int pannelName() const
pannel id
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * mePixClustersPhi_px_
MonitorElement * meXBlade_
MonitorElement * meChargeLay_
int layerName() const
layer id
MonitorElement * meNClusters_
MonitorElement * meSizeLay_
MonitorElement * meMaxColDisk_