69 bool isHalfModule =
false;
98 meMinRow_ = theDMBE->book1D(hid,
"Lowest cluster row",200,0.,200.);
102 meMaxRow_ = theDMBE->book1D(hid,
"Highest cluster row",200,0.,200.);
106 meMinCol_ = theDMBE->book1D(hid,
"Lowest cluster column",500,0.,500.);
110 meMaxCol_ = theDMBE->book1D(hid,
"Highest cluster column",500,0.,500.);
114 meX_ = theDMBE->book1D(hid,
"Cluster barycenter X (row #)",200,0.,200.);
118 meY_ = theDMBE->book1D(hid,
"Cluster barycenter Y (column #)",500,0.,500.);
122 meSizeX_ = theDMBE->book1D(hid,
"Cluster x-width (rows)",10,0.,10.);
126 meSizeY_ = theDMBE->book1D(hid,
"Cluster y-width (columns)",15,0.,15.);
144 delete theHistogramId;
148 if(barrel &&
type==7){
149 hid =
src.label() +
"_Barrel";
150 meSizeYvsEtaBarrel_= theDMBE->book2D(
"sizeYvsEta_" + hid,
"Cluster size along beamline vs. Cluster position #eta",60,-3.,3.,40,0.,40.);
154 if(
type==1 && barrel){
156 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
157 hid =
src.label() +
"_" + sladder;
158 if(isHalfModule) hid +=
"H";
161 meNClustersLad_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
164 meChargeLad_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
167 meSizeLad_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
171 meMinRowLad_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
174 meMaxRowLad_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
177 meMinColLad_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
180 meMaxColLad_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
183 meXLad_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
186 meYLad_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
189 meSizeXLad_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
192 meSizeYLad_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
209 if(
type==2 && barrel){
212 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
213 hid =
src.label() +
"_" + slayer;
215 meNClustersLay_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
218 meChargeLay_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
221 meSizeLay_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
225 meMinRowLay_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
228 meMaxRowLay_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
231 meMinColLay_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
234 meMaxColLay_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
237 meXLay_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
240 meYLay_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
243 meSizeXLay_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
246 meSizeYLay_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
251 mePixClustersLay_ = theDMBE->book2D(
"hitmap_" + hid,
"Number of Clusters (1bin=four pixels)",nbinx,0.,
float(
ncols_),2*nbiny,0.,
float(2*
nrows_));
261 mePixClustersLay_py_ = theDMBE->book1D(
"hitmap_" + hid+
"_py",
"Number of Clusters (1bin=two rows)",2*nbiny,0.,
float(2*
nrows_));
270 if(
type==3 && barrel){
272 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
273 hid =
src.label() +
"_" + smodule;
275 meNClustersPhi_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
278 meChargePhi_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
281 meSizePhi_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
285 meMinRowPhi_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
288 meMaxRowPhi_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
291 meMinColPhi_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
294 meMaxColPhi_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
297 meXPhi_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
300 meYPhi_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
303 meSizeXPhi_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
306 meSizeYPhi_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
311 mePixClustersPhi_ = theDMBE->book2D(
"hitmap_" + hid,
"Number of Clusters (1bin=four pixels)",nbinx,0.,
float(
ncols_),2*nbiny,0.,
float(2*
nrows_));
321 mePixClustersPhi_py_ = theDMBE->book1D(
"hitmap_" + hid+
"_py",
"Number of Clusters (1bin=two rows)",2*nbiny,0.,
float(2*
nrows_));
331 if(
type==4 && endcap){
334 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
335 hid =
src.label() +
"_" + sblade;
337 meNClustersBlade_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
340 meChargeBlade_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
343 meSizeBlade_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
347 meMinRowBlade_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
350 meMaxRowBlade_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
353 meMinColBlade_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
356 meMaxColBlade_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
359 meXBlade_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
362 meYBlade_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
365 meSizeXBlade_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
368 meSizeYBlade_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
372 if(
type==5 && endcap){
375 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
376 hid =
src.label() +
"_" + sdisk;
378 meNClustersDisk_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
381 meChargeDisk_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
384 meSizeDisk_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
388 meMinRowDisk_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
391 meMaxRowDisk_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
394 meMinColDisk_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
397 meMaxColDisk_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
400 meXDisk_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
403 meYDisk_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
406 meSizeXDisk_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
409 meSizeYDisk_ = theDMBE->book1D(
"sizeY_" + hid,
"Cluster y-width (columns)",15,0.,15.);
414 if(
type==6 && endcap){
417 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
418 hid =
src.label() +
"_" + slab;
420 meNClustersRing_ = theDMBE->book1D(
"nclusters_" + hid,
"Number of Clusters",8,0.,8.);
423 meChargeRing_ = theDMBE->book1D(
"charge_" + hid,
"Cluster charge",100,0.,200.);
426 meSizeRing_ = theDMBE->book1D(
"size_" + hid,
"Total cluster size",30,0.,30.);
430 meMinRowRing_ = theDMBE->book1D(
"minrow_" + hid,
"Lowest cluster row",200,0.,200.);
433 meMaxRowRing_ = theDMBE->book1D(
"maxrow_" + hid,
"Highest cluster row",200,0.,200.);
436 meMinColRing_ = theDMBE->book1D(
"mincol_" + hid,
"Lowest cluster column",500,0.,500.);
439 meMaxColRing_ = theDMBE->book1D(
"maxcol_" + hid,
"Highest cluster column",500,0.,500.);
442 meXRing_ = theDMBE->book1D(
"x_" + hid,
"Cluster barycenter X (row #)",200,0.,200.);
445 meYRing_ = theDMBE->book1D(
"y_" + hid,
"Cluster barycenter Y (column #)",500,0.,500.);
448 meSizeXRing_ = theDMBE->book1D(
"sizeX_" + hid,
"Cluster x-width (rows)",10,0.,10.);
451 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_