67 bool isHalfModule =
false;
89 meSize_ = iBooker.
book1D(hid,
"Total cluster size", 30, 0., 30.);
102 meMinCol_ = iBooker.
book1D(hid,
"Lowest cluster column", 500, 0., 500.);
106 meMaxCol_ = iBooker.
book1D(hid,
"Highest cluster column", 500, 0., 500.);
110 meX_ = iBooker.
book1D(hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
114 meY_ = iBooker.
book1D(hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
118 meSizeX_ = iBooker.
book1D(hid,
"Cluster x-width (rows)", 10, 0., 10.);
122 meSizeY_ = iBooker.
book1D(hid,
"Cluster y-width (columns)", 15, 0., 15.);
130 hid,
"Number of Clusters (1bin=four pixels)", nbinx, 0.,
float(
ncols_), nbiny, 0.,
float(
nrows_));
136 iBooker.
book1D(hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
142 delete theHistogramId;
146 if (barrel &&
type == 7) {
147 hid = src.
label() +
"_Barrel";
149 "sizeYvsEta_" + hid,
"Cluster size along beamline vs. Cluster position #eta", 60, -3., 3., 40, 0., 40.);
153 if (
type == 1 && barrel) {
157 sprintf(sladder,
"Ladder_%02i", DBladder);
158 hid = src.
label() +
"_" + sladder;
170 meSizeLad_ = iBooker.
book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
180 meMinColLad_ = iBooker.
book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
183 meMaxColLad_ = iBooker.
book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
186 meXLad_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
189 meYLad_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
192 meSizeXLad_ = iBooker.
book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
195 meSizeYLad_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
200 "Number of Clusters (1bin=four pixels)",
212 iBooker.
book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
214 iBooker.
book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
221 if (
type == 2 && barrel) {
225 sprintf(slayer,
"Layer_%i", DBlayer);
226 hid = src.
label() +
"_" + slayer;
234 meSizeLay_ = iBooker.
book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
244 meMinColLay_ = iBooker.
book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
247 meMaxColLay_ = iBooker.
book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
250 meXLay_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
253 meYLay_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
256 meSizeXLay_ = iBooker.
book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
259 meSizeYLay_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
265 "Number of Clusters (1bin=four pixels)",
274 "Number of Clusters (1bin=four pixels)",
287 iBooker.
book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
290 "hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", 2 * nbiny, 0.,
float(2 *
nrows_));
293 iBooker.
book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
300 if (
type == 3 && barrel) {
304 sprintf(smodule,
"Ring_%i", DBmodule);
305 hid = src.
label() +
"_" + smodule;
313 meSizePhi_ = iBooker.
book1D(
"size_" + hid,
"Total cluster size", 30, 0., 30.);
323 meMinColPhi_ = iBooker.
book1D(
"mincol_" + hid,
"Lowest cluster column", 500, 0., 500.);
326 meMaxColPhi_ = iBooker.
book1D(
"maxcol_" + hid,
"Highest cluster column", 500, 0., 500.);
329 meXPhi_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
332 meYPhi_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
335 meSizeXPhi_ = iBooker.
book1D(
"sizeX_" + hid,
"Cluster x-width (rows)", 10, 0., 10.);
338 meSizeYPhi_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
344 "Number of Clusters (1bin=four pixels)",
353 "Number of Clusters (1bin=four pixels)",
366 iBooker.
book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
369 "hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", 2 * nbiny, 0.,
float(2 *
nrows_));
372 iBooker.
book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
380 if (
type == 4 && endcap) {
385 sprintf(sblade,
"Blade_%02i", blade);
386 hid = src.
label() +
"_" + sblade;
410 meXBlade_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
413 meYBlade_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
423 if (
type == 5 && endcap) {
428 sprintf(sdisk,
"Disk_%i", disk);
429 hid = src.
label() +
"_" + sdisk;
453 meXDisk_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
456 meYDisk_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
462 meSizeYDisk_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
467 if (
type == 6 && endcap) {
474 sprintf(slab,
"Panel_%i_Ring_%i", panel, module);
475 hid = src.
label() +
"_" + slab;
499 meXRing_ = iBooker.
book1D(
"x_" + hid,
"Cluster barycenter X (row #)", 200, 0., 200.);
502 meYRing_ = iBooker.
book1D(
"y_" + hid,
"Cluster barycenter Y (column #)", 500, 0., 500.);
508 meSizeYRing_ = iBooker.
book1D(
"sizeY_" + hid,
"Cluster y-width (columns)", 15, 0., 15.);
513 "Number of Clusters (1bin=four pixels)",
525 iBooker.
book1D(
"hitmap_" + hid +
"_px",
"Number of Clusters (1bin=two columns)", nbinx, 0.,
float(
ncols_));
527 iBooker.
book1D(
"hitmap_" + hid +
"_py",
"Number of Clusters (1bin=two rows)", nbiny, 0.,
float(
nrows_));
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * meMinColLay_
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_
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_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
int layerName() const
layer id
T getParameter(std::string const &) const
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 * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * meSizeYPhi_
MonitorElement * mePixClustersPhi_px_
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_