|
|
Go to the documentation of this file.
50 : id_(
id), ncols_(
ncols), nrows_(nrows) {}
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;
151 hid =
src.label() +
"_Barrel";
153 "sizeYvsEta_" + hid,
"Cluster size along beamline vs. Cluster position #eta", 60, -3., 3., 40, 0., 40.);
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_));
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_));
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_));
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.);
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.);
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_));
543 int *barrelClusterTotal,
544 int *fpixPClusterTotal,
545 int *fpixMClusterTotal,
546 std::vector<MonitorElement *> &
layers,
547 std::vector<MonitorElement *> &diskspz,
548 std::vector<MonitorElement *> &disksmz,
564 unsigned int numberOfClusters = 0;
565 unsigned int numberOfFpixClusters = 0;
567 if (isearch !=
input.end()) {
571 for (di = isearch->
begin(); di != isearch->
end(); di++) {
574 numberOfFpixClusters++;
576 (*barrelClusterTotal)++;
577 float charge = 0.001 * (di->charge());
581 int sizeX = di->sizeX();
582 int sizeY = di->sizeY();
583 int minPixelRow = di->minPixelRow();
584 int maxPixelRow = di->maxPixelRow();
585 int minPixelCol = di->minPixelCol();
586 int maxPixelCol = di->maxPixelCol();
600 if (!(DBlayer >
layers.size()) && (
layers[DBlayer - 1]))
604 if (clustgp.
z() > 0) {
605 (*fpixPClusterTotal)++;
606 if (!(DBdisk > diskspz.size()) && (diskspz[DBdisk - 1]))
607 diskspz[DBdisk - 1]->
Fill(clustgp.
x(), clustgp.
y());
609 (*fpixMClusterTotal)++;
610 if (!(DBdisk > disksmz.size()) && (disksmz[DBdisk - 1]))
611 disksmz[DBdisk - 1]->
Fill(clustgp.
x(), clustgp.
y());
764 return numberOfFpixClusters;
MonitorElement * meNClustersDisk_
MonitorElement * meXDisk_
MonitorElement * meSizeLad_
MonitorElement * meNClustersPhi_
MonitorElement * meSizeYLay_
T const * product() const
MonitorElement * meMaxColRing_
MonitorElement * meNClustersBlade_
MonitorElement * meSizeYBlade_
MonitorElement * meMinColBlade_
static const std::string input
MonitorElement * meChargeLad_
MonitorElement * mePixClustersPhi_py_
MonitorElement * meChargeRing_
MonitorElement * meMinRowLay_
MonitorElement * meSizeYvsEtaBarrel_
MonitorElement * meChargeBlade_
MonitorElement * meSizePhi_
MonitorElement * meSizeXLad_
MonitorElement * meSizeXLay_
int fill(const edmNew::DetSetVector< SiPixelCluster > &input, const TrackerGeometry *tracker, int *barrelClusterTotal, int *fpixPClusterTotal, int *fpixMClusterTotal, std::vector< MonitorElement * > &layers, std::vector< MonitorElement * > &diskspz, std::vector< MonitorElement * > &disksmz, bool modon=true, bool ladon=false, bool layon=false, bool phion=false, bool bladeon=false, bool diskon=false, bool ringon=false, bool twoD=true, bool reducedSet=false, bool smileyon=false, bool isUpgrade=false)
Fill histograms.
MonitorElement * meMinRow_
MonitorElement * meYRing_
MonitorElement * mePixClusters_px_
MonitorElement * mePixClustersPhi_px_
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
MonitorElement * mePixClusters_py_
MonitorElement * meNClustersRing_
MonitorElement * meMaxRowPhi_
const_iterator begin(bool update=false) const
MonitorElement * meMinRowPhi_
MonitorElement * meSizeYLad_
MonitorElement * meMaxRowDisk_
int layerName() const
layer id
MonitorElement * mePixClustersRing_px_
int pannelName() const
pannel id
MonitorElement * meMaxRowLad_
MonitorElement * meSizeLay_
int bladeName() const
blade id
MonitorElement * meChargeLay_
MonitorElement * meSizeY_
const Plane & surface() const
The nominal surface of the GeomDet.
MonitorElement * mePixClustersLay_px_
MonitorElement * meNClusters_
MonitorElement * meMaxColLad_
MonitorElement * meSizeBlade_
MonitorElement * meMaxColDisk_
MonitorElement * mePixClustersPhi_
MonitorElement * meMinRowBlade_
MonitorElement * meXRing_
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
MonitorElement * meSizeDisk_
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
MonitorElement * meMinColRing_
MonitorElement * meMaxRowRing_
const TrackerTopology * pTT
MonitorElement * mePixClustersLad_px_
MonitorElement * meSizeXPhi_
int ladderName() const
ladder id (index in phi)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
MonitorElement * meMinColLay_
MonitorElement * meMaxColPhi_
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
MonitorElement * meMinColPhi_
MonitorElement * meMaxRow_
void book(const edm::ParameterSet &iConfig, const edm::EventSetup &iSetup, DQMStore::IBooker &iBooker, int type=0, bool twoD=true, bool reducedSet=false, bool isUpgrade=false)
Book histograms.
MonitorElement * meYDisk_
MonitorElement * meSizeYDisk_
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
MonitorElement * meSizeYRing_
MonitorElement * meSizeRing_
MonitorElement * meSizeXBlade_
MonitorElement * mePixClustersLad_
MonitorElement * meMinRowRing_
MonitorElement * meMinRowDisk_
int moduleName() const
module id (index in z)
MonitorElement * meMinCol_
MonitorElement * mePixClustersRing_
MonitorElement * meSizeX_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * meMaxColBlade_
T getParameter(std::string const &) const
MonitorElement * mePixClusters_
MonitorElement * meMaxCol_
MonitorElement * meChargePhi_
MonitorElement * mePixClustersLay_py_
int diskName() const
disk id
MonitorElement * meMaxRowLay_
const_iterator end(bool update=false) const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * mePixClustersRing_py_
MonitorElement * meSizeXDisk_
MonitorElement * mePixClustersLay_
~SiPixelClusterModule()
Destructor.
MonitorElement * meMaxColLay_
MonitorElement * meSizeYPhi_
MonitorElement * mePixClustersLad_py_
MonitorElement * meCharge_
MonitorElement * meMinColDisk_
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * meMaxRowBlade_
MonitorElement * meNClustersLay_
MonitorElement * meYBlade_
MonitorElement * meSizeXRing_
bool isHalfModule() const
full or half module
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meChargeDisk_
MonitorElement * meMinRowLad_
MonitorElement * meNClustersLad_
Geom::Phi< T > phi() const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * meMinColLad_
SiPixelClusterModule()
Default constructor.
MonitorElement * meXBlade_
const data_type * const_iterator