CMS 3D CMS Logo

SiPixelClusterModule.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorCluster_SiPixelClusterModule_h
2 #define SiPixelMonitorCluster_SiPixelClusterModule_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorDigi
6 // Class: SiPixelClusterModule
7 //
8 /*
9 
10  Description: Cluster monitoring elements for a Pixel sensor
11 
12  Implementation:
13  <Notes on implementation>
14 */
15 //
16 // Original Author: Vincenzo Chiochia & Andrew York
17 // Created:
18 //
19 //
20 // Updated by: Lukas Wehrli
21 // for pixel offline DQM
26 
38 #include <cstdint>
39 
41 public:
44 
48  SiPixelClusterModule(const uint32_t &id);
50  SiPixelClusterModule(const uint32_t &id, const int &ncols, const int &nrows);
53 
55 
57  void book(const edm::ParameterSet &iConfig,
58  const edm::EventSetup &iSetup,
59  DQMStore::IBooker &iBooker,
60  int type = 0,
61  bool twoD = true,
62  bool reducedSet = false,
63  bool isUpgrade = false);
66  const TrackerGeometry *tracker,
67  int *barrelClusterTotal,
68  int *fpixPClusterTotal,
69  int *fpixMClusterTotal,
70  std::vector<MonitorElement *> &layers,
71  std::vector<MonitorElement *> &diskspz,
72  std::vector<MonitorElement *> &disksmz,
73  bool modon = true,
74  bool ladon = false,
75  bool layon = false,
76  bool phion = false,
77  bool bladeon = false,
78  bool diskon = false,
79  bool ringon = false,
80  bool twoD = true,
81  bool reducedSet = false,
82  bool smileyon = false,
83  bool isUpgrade = false);
84 
85 private:
87  uint32_t id_;
88  int ncols_;
89  int nrows_;
90  MonitorElement *meNClusters_;
91  MonitorElement *meY_;
92  MonitorElement *meX_;
93  MonitorElement *meCharge_;
94  MonitorElement *meSize_;
95  MonitorElement *meSizeX_;
96  MonitorElement *meSizeY_;
97  MonitorElement *meMinRow_;
98  MonitorElement *meMaxRow_;
99  MonitorElement *meMinCol_;
100  MonitorElement *meMaxCol_;
101  MonitorElement *mePixClusters_;
102  MonitorElement *mePixClusters_px_;
103  MonitorElement *mePixClusters_py_;
104  // MonitorElement* meEdgeHitX_;
105  // MonitorElement* meEdgeHitY_;
106  MonitorElement *meClPosLayer1;
107  MonitorElement *meClPosLayer2;
108  MonitorElement *meClPosLayer3;
109  MonitorElement *meClPosLayer4;
110  MonitorElement *meClPosDisk1pz;
111  MonitorElement *meClPosDisk2pz;
112  MonitorElement *meClPosDisk3pz;
113  MonitorElement *meClPosDisk1mz;
114  MonitorElement *meClPosDisk2mz;
115  MonitorElement *meClPosDisk3mz;
116 
117  // barrel
118  MonitorElement *meNClustersLad_;
119  MonitorElement *meYLad_;
120  MonitorElement *meXLad_;
121  MonitorElement *meChargeLad_;
122  MonitorElement *meSizeLad_;
123  MonitorElement *meSizeXLad_;
124  MonitorElement *meSizeYLad_;
125  MonitorElement *meMinRowLad_;
126  MonitorElement *meMaxRowLad_;
127  MonitorElement *meMinColLad_;
128  MonitorElement *meMaxColLad_;
129  MonitorElement *mePixClustersLad_;
130  MonitorElement *mePixClustersLad_px_;
131  MonitorElement *mePixClustersLad_py_;
132 
133  MonitorElement *meSizeYvsEtaBarrel_;
134 
135  MonitorElement *meNClustersLay_;
136  MonitorElement *meYLay_;
137  MonitorElement *meXLay_;
138  MonitorElement *meChargeLay_;
139  MonitorElement *meSizeLay_;
140  MonitorElement *meSizeXLay_;
141  MonitorElement *meSizeYLay_;
142  MonitorElement *meMinRowLay_;
143  MonitorElement *meMaxRowLay_;
144  MonitorElement *meMinColLay_;
145  MonitorElement *meMaxColLay_;
146  MonitorElement *mePixClustersLay_;
147  MonitorElement *mePixClustersLay_px_;
148  MonitorElement *mePixClustersLay_py_;
149 
150  MonitorElement *meNClustersPhi_;
151  MonitorElement *meYPhi_;
152  MonitorElement *meXPhi_;
153  MonitorElement *meChargePhi_;
154  MonitorElement *meSizePhi_;
155  MonitorElement *meSizeXPhi_;
156  MonitorElement *meSizeYPhi_;
157  MonitorElement *meMinRowPhi_;
158  MonitorElement *meMaxRowPhi_;
159  MonitorElement *meMinColPhi_;
160  MonitorElement *meMaxColPhi_;
161  MonitorElement *mePixClustersPhi_;
162  MonitorElement *mePixClustersPhi_px_;
163  MonitorElement *mePixClustersPhi_py_;
164 
165  // forward
166  MonitorElement *meNClustersBlade_;
167  MonitorElement *meYBlade_;
168  MonitorElement *meXBlade_;
169  MonitorElement *meChargeBlade_;
170  MonitorElement *meSizeBlade_;
171  MonitorElement *meSizeXBlade_;
172  MonitorElement *meSizeYBlade_;
173  MonitorElement *meMinRowBlade_;
174  MonitorElement *meMaxRowBlade_;
175  MonitorElement *meMinColBlade_;
176  MonitorElement *meMaxColBlade_;
177 
178  MonitorElement *meNClustersDisk_;
179  MonitorElement *meYDisk_;
180  MonitorElement *meXDisk_;
181  MonitorElement *meChargeDisk_;
182  MonitorElement *meSizeDisk_;
183  MonitorElement *meSizeXDisk_;
184  MonitorElement *meSizeYDisk_;
185  MonitorElement *meMinRowDisk_;
186  MonitorElement *meMaxRowDisk_;
187  MonitorElement *meMinColDisk_;
188  MonitorElement *meMaxColDisk_;
189 
190  MonitorElement *meNClustersRing_;
191  MonitorElement *meYRing_;
192  MonitorElement *meXRing_;
193  MonitorElement *meChargeRing_;
194  MonitorElement *meSizeRing_;
195  MonitorElement *meSizeXRing_;
196  MonitorElement *meSizeYRing_;
197  MonitorElement *meMinRowRing_;
198  MonitorElement *meMaxRowRing_;
199  MonitorElement *meMinColRing_;
200  MonitorElement *meMaxColRing_;
201  MonitorElement *mePixClustersRing_;
202  MonitorElement *mePixClustersRing_px_;
203  MonitorElement *mePixClustersRing_py_;
204 };
205 #endif
MonitorElement * meMinColLay_
type
Definition: HCALResponse.h:21
MonitorElement * meMinRowRing_
MonitorElement * meMaxColLad_
MonitorElement * meSizePhi_
MonitorElement * meCharge_
MonitorElement * mePixClustersLad_px_
dqm::reco::DQMStore DQMStore
MonitorElement * meClPosLayer4
MonitorElement * meMaxCol_
MonitorElement * meMaxColPhi_
MonitorElement * meNClustersLad_
MonitorElement * meYBlade_
MonitorElement * meMinRowLad_
MonitorElement * meSizeYLay_
const TrackerTopology * pTT
MonitorElement * meSize_
MonitorElement * meSizeYLad_
MonitorElement * meSizeXLad_
MonitorElement * meSizeXLay_
MonitorElement * meMinRow_
MonitorElement * meMaxRowRing_
MonitorElement * mePixClustersLay_
MonitorElement * meSizeYBlade_
SiPixelClusterModule()
Default constructor.
data_type const * const_iterator
Definition: DetSetNew.h:31
MonitorElement * meMinRowBlade_
MonitorElement * meNClustersPhi_
MonitorElement * meChargePhi_
MonitorElement * meMinColPhi_
MonitorElement * meNClustersBlade_
MonitorElement * mePixClustersPhi_py_
MonitorElement * meMinRowDisk_
MonitorElement * mePixClustersRing_px_
MonitorElement * meMaxRowLad_
static std::string const input
Definition: EdmProvDump.cc:48
dqm::reco::MonitorElement MonitorElement
MonitorElement * meMinRowLay_
MonitorElement * meMinColBlade_
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 * meSizeYDisk_
MonitorElement * meSizeDisk_
MonitorElement * meMaxColRing_
MonitorElement * meMinColLad_
MonitorElement * meMaxRowBlade_
MonitorElement * meChargeRing_
MonitorElement * meClPosDisk2mz
MonitorElement * mePixClustersLad_
MonitorElement * meClPosDisk1pz
~SiPixelClusterModule()
Destructor.
MonitorElement * meMaxRowPhi_
MonitorElement * meMinRowPhi_
MonitorElement * meMinColDisk_
MonitorElement * meMinCol_
MonitorElement * mePixClusters_py_
MonitorElement * mePixClustersLay_px_
MonitorElement * meNClustersDisk_
MonitorElement * meSizeYRing_
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 * mePixClustersRing_
MonitorElement * meSizeX_
MonitorElement * meSizeY_
MonitorElement * meMaxRowLay_
MonitorElement * meChargeDisk_
MonitorElement * meMaxColBlade_
MonitorElement * mePixClustersPhi_
MonitorElement * meChargeBlade_
MonitorElement * mePixClustersLay_py_
MonitorElement * meMinColRing_
MonitorElement * meNClustersLay_
MonitorElement * meClPosLayer3
MonitorElement * meMaxColLay_
MonitorElement * meMaxRowDisk_
MonitorElement * meClPosDisk3pz
edmNew::DetSet< SiPixelCluster >::const_iterator ClusterIterator
MonitorElement * meNClustersRing_
MonitorElement * meSizeYvsEtaBarrel_
MonitorElement * mePixClustersLad_py_
MonitorElement * meClPosLayer1
MonitorElement * meSizeRing_
MonitorElement * mePixClusters_px_
MonitorElement * meSizeXPhi_
MonitorElement * meClPosDisk1mz
MonitorElement * meSizeXRing_
MonitorElement * mePixClusters_
MonitorElement * meSizeXBlade_
MonitorElement * meClPosLayer2
MonitorElement * meMaxRow_
MonitorElement * meChargeLad_
MonitorElement * meSizeLad_
MonitorElement * meSizeBlade_
MonitorElement * mePixClustersRing_py_
MonitorElement * meSizeXDisk_
MonitorElement * meClPosDisk3mz
MonitorElement * meSizeYPhi_
MonitorElement * mePixClustersPhi_px_
MonitorElement * meXBlade_
MonitorElement * meChargeLay_
MonitorElement * meClPosDisk2pz
MonitorElement * meNClusters_
MonitorElement * meSizeLay_
MonitorElement * meMaxColDisk_