68 bool isHalfModule =
false;
97 meMinRow_ = theDMBE->book1D(hid,
"Lowest cluster row",200,0.,200.);
101 meMaxRow_ = theDMBE->book1D(hid,
"Highest cluster row",200,0.,200.);
105 meMinCol_ = theDMBE->book1D(hid,
"Lowest cluster column",500,0.,500.);
109 meMaxCol_ = theDMBE->book1D(hid,
"Highest cluster column",500,0.,500.);
113 meX_ = theDMBE->book1D(hid,
"Cluster barycenter X (row #)",200,0.,200.);
117 meY_ = theDMBE->book1D(hid,
"Cluster barycenter Y (column #)",500,0.,500.);
121 meSizeX_ = theDMBE->book1D(hid,
"Cluster x-width (rows)",10,0.,10.);
125 meSizeY_ = theDMBE->book1D(hid,
"Cluster y-width (columns)",15,0.,15.);
143 delete theHistogramId;
147 if(barrel &&
type==7){
148 hid =
src.label() +
"_Barrel";
149 meSizeYvsEtaBarrel_= theDMBE->book2D(
"sizeYvsEta_" + hid,
"Cluster size along beamline vs. Cluster position #eta",60,-3.,3.,40,0.,40.);
153 if(
type==1 && barrel){
155 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
156 hid =
src.label() +
"_" + sladder;
157 if(isHalfModule) hid +=
"H";
160 meNClustersLad_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
163 meChargeLad_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
166 meSizeLad_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
170 meMinRowLad_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
173 meMaxRowLad_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
176 meMinColLad_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
179 meMaxColLad_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
182 meXLad_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
185 meYLad_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
188 meSizeXLad_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
191 meSizeYLad_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
208 if(
type==2 && barrel){
211 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
212 hid =
src.label() +
"_" + slayer;
214 meNClustersLay_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
217 meChargeLay_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
220 meSizeLay_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
224 meMinRowLay_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
227 meMaxRowLay_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
230 meMinColLay_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
233 meMaxColLay_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
236 meXLay_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
239 meYLay_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
242 meSizeXLay_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
245 meSizeYLay_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
250 mePixClustersLay_ = theDMBE->book2D(
"hitmap_" + hid,
"Number of Clusters (1bin=four pixels)",nbinx,0.,
float(
ncols_),2*nbiny,0.,
float(2*
nrows_));
260 mePixClustersLay_py_ = theDMBE->book1D(
"hitmap_" + hid+
"_py",
"Number of Clusters (1bin=two rows)",2*nbiny,0.,
float(2*
nrows_));
269 if(
type==3 && barrel){
271 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
272 hid =
src.label() +
"_" + smodule;
274 meNClustersPhi_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
277 meChargePhi_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
280 meSizePhi_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
284 meMinRowPhi_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
287 meMaxRowPhi_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
290 meMinColPhi_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
293 meMaxColPhi_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
296 meXPhi_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
299 meYPhi_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
302 meSizeXPhi_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
305 meSizeYPhi_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
310 mePixClustersPhi_ = theDMBE->book2D(
"hitmap_" + hid,
"Number of Clusters (1bin=four pixels)",nbinx,0.,
float(
ncols_),2*nbiny,0.,
float(2*
nrows_));
320 mePixClustersPhi_py_ = theDMBE->book1D(
"hitmap_" + hid+
"_py",
"Number of Clusters (1bin=two rows)",2*nbiny,0.,
float(2*
nrows_));
330 if(
type==4 && endcap){
333 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
334 hid =
src.label() +
"_" + sblade;
336 meNClustersBlade_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
339 meChargeBlade_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
342 meSizeBlade_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
346 meMinRowBlade_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
349 meMaxRowBlade_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
352 meMinColBlade_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
355 meMaxColBlade_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
358 meXBlade_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
361 meYBlade_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
364 meSizeXBlade_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
367 meSizeYBlade_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
371 if(
type==5 && endcap){
374 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
375 hid =
src.label() +
"_" + sdisk;
377 meNClustersDisk_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
380 meChargeDisk_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
383 meSizeDisk_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
387 meMinRowDisk_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
390 meMaxRowDisk_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
393 meMinColDisk_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
396 meMaxColDisk_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
399 meXDisk_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
402 meYDisk_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
405 meSizeXDisk_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
408 meSizeYDisk_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
413 if(
type==6 && endcap){
416 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
417 hid =
src.label() +
"_" + slab;
419 meNClustersRing_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
422 meChargeRing_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
425 meSizeRing_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
429 meMinRowRing_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
432 meMaxRowRing_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
435 meMinColRing_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
438 meMaxColRing_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
441 meXRing_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
444 meYRing_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
447 meSizeXRing_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
450 meSizeYRing_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * meMinColLay_
T getParameter(std::string const &) const
MonitorElement * meMinRowRing_
MonitorElement * meMaxColLad_
MonitorElement * meSizePhi_
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_
MonitorElement * mePixClustersLay_px_
MonitorElement * meNClustersDisk_
MonitorElement * meSizeYRing_
MonitorElement * mePixClustersRing_
MonitorElement * meSizeX_
MonitorElement * meSizeY_
MonitorElement * meMaxRowLay_
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_
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_
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_
MonitorElement * meSizeLay_
MonitorElement * meMaxColDisk_