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
29 #include <cstdint>
30 
32 public:
35 
39  SiPixelClusterModule(const uint32_t &id);
41  SiPixelClusterModule(const uint32_t &id, const int &ncols, const int &nrows);
44 
46 
48  void book(const edm::ParameterSet &iConfig,
49  const TrackerTopology *pTT,
50  DQMStore::IBooker &iBooker,
51  int type = 0,
52  bool twoD = true,
53  bool reducedSet = false,
54  bool isUpgrade = false);
57  const TrackerTopology *pTT,
58  const TrackerGeometry *tracker,
59  int *barrelClusterTotal,
60  int *fpixPClusterTotal,
61  int *fpixMClusterTotal,
62  std::vector<MonitorElement *> &layers,
63  std::vector<MonitorElement *> &diskspz,
64  std::vector<MonitorElement *> &disksmz,
65  bool modon = true,
66  bool ladon = false,
67  bool layon = false,
68  bool phion = false,
69  bool bladeon = false,
70  bool diskon = false,
71  bool ringon = false,
72  bool twoD = true,
73  bool reducedSet = false,
74  bool smileyon = false,
75  bool isUpgrade = false);
76 
77 private:
78  uint32_t id_;
79  int ncols_;
80  int nrows_;
95  // MonitorElement* meEdgeHitX_;
96  // MonitorElement* meEdgeHitY_;
107 
108  // barrel
123 
125 
140 
155 
156  // forward
168 
180 
195 };
196 #endif
SiPixelClusterModule::meNClustersDisk_
MonitorElement * meNClustersDisk_
Definition: SiPixelClusterModule.h:169
SiPixelClusterModule::meXDisk_
MonitorElement * meXDisk_
Definition: SiPixelClusterModule.h:171
SiPixelClusterModule::meSizeLad_
MonitorElement * meSizeLad_
Definition: SiPixelClusterModule.h:113
SiPixelClusterModule::meNClustersPhi_
MonitorElement * meNClustersPhi_
Definition: SiPixelClusterModule.h:141
SiPixelClusterModule::meSizeYLay_
MonitorElement * meSizeYLay_
Definition: SiPixelClusterModule.h:132
SiPixelClusterModule::meMaxColRing_
MonitorElement * meMaxColRing_
Definition: SiPixelClusterModule.h:191
SiPixelClusterModule::meNClustersBlade_
MonitorElement * meNClustersBlade_
Definition: SiPixelClusterModule.h:157
dqm::impl::MonitorElement
Definition: MonitorElement.h:99
SiPixelClusterModule::ncols_
int ncols_
Definition: SiPixelClusterModule.h:79
SiPixelClusterModule::meXPhi_
MonitorElement * meXPhi_
Definition: SiPixelClusterModule.h:143
hgcalPlots.ncols
ncols
Definition: hgcalPlots.py:104
SiPixelClusterModule::meClPosLayer4
MonitorElement * meClPosLayer4
Definition: SiPixelClusterModule.h:100
SiPixelClusterModule::meSizeYBlade_
MonitorElement * meSizeYBlade_
Definition: SiPixelClusterModule.h:163
SiPixelClusterModule::MonitorElement
dqm::reco::MonitorElement MonitorElement
Definition: SiPixelClusterModule.h:34
SiPixelClusterModule::meMinColBlade_
MonitorElement * meMinColBlade_
Definition: SiPixelClusterModule.h:166
input
static const std::string input
Definition: EdmProvDump.cc:48
TrackerGeometry.h
SiPixelClusterModule::meChargeLad_
MonitorElement * meChargeLad_
Definition: SiPixelClusterModule.h:112
SiPixelClusterModule::mePixClustersPhi_py_
MonitorElement * mePixClustersPhi_py_
Definition: SiPixelClusterModule.h:154
SiPixelClusterModule::meChargeRing_
MonitorElement * meChargeRing_
Definition: SiPixelClusterModule.h:184
SiPixelClusterModule::meClPosDisk2mz
MonitorElement * meClPosDisk2mz
Definition: SiPixelClusterModule.h:105
SiPixelClusterModule::meMinRowLay_
MonitorElement * meMinRowLay_
Definition: SiPixelClusterModule.h:133
SiPixelClusterModule::meSizeYvsEtaBarrel_
MonitorElement * meSizeYvsEtaBarrel_
Definition: SiPixelClusterModule.h:124
SiPixelClusterModule::id_
uint32_t id_
Definition: SiPixelClusterModule.h:78
SiPixelClusterModule::meChargeBlade_
MonitorElement * meChargeBlade_
Definition: SiPixelClusterModule.h:160
SiPixelOfflineDQM_source_cff.reducedSet
reducedSet
Definition: SiPixelOfflineDQM_source_cff.py:8
SiPixelClusterModule::meSizePhi_
MonitorElement * meSizePhi_
Definition: SiPixelClusterModule.h:145
SiPixelClusterModule::meSizeXLad_
MonitorElement * meSizeXLad_
Definition: SiPixelClusterModule.h:114
SiPixelClusterModule::meSizeXLay_
MonitorElement * meSizeXLay_
Definition: SiPixelClusterModule.h:131
SiPixelClusterModule::ClusterIterator
edmNew::DetSet< SiPixelCluster >::const_iterator ClusterIterator
Definition: SiPixelClusterModule.h:45
SiPixelClusterModule::meMinRow_
MonitorElement * meMinRow_
Definition: SiPixelClusterModule.h:88
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelClusterModule::nrows_
int nrows_
Definition: SiPixelClusterModule.h:80
SiPixelClusterModule::meYRing_
MonitorElement * meYRing_
Definition: SiPixelClusterModule.h:182
SiPixelClusterModule::mePixClusters_px_
MonitorElement * mePixClusters_px_
Definition: SiPixelClusterModule.h:93
SiPixelCluster.h
SiPixelClusterModule::mePixClustersPhi_px_
MonitorElement * mePixClustersPhi_px_
Definition: SiPixelClusterModule.h:153
SiPixelClusterModule::book
void book(const edm::ParameterSet &iConfig, const TrackerTopology *pTT, DQMStore::IBooker &iBooker, int type=0, bool twoD=true, bool reducedSet=false, bool isUpgrade=false)
Book histograms.
Definition: SiPixelClusterModule.cc:58
SiPixelClusterModule::mePixClusters_py_
MonitorElement * mePixClusters_py_
Definition: SiPixelClusterModule.h:94
SiPixelClusterModule::meNClustersRing_
MonitorElement * meNClustersRing_
Definition: SiPixelClusterModule.h:181
DQMStore.h
SiPixelClusterModule::meMaxRowPhi_
MonitorElement * meMaxRowPhi_
Definition: SiPixelClusterModule.h:149
SiPixelClusterModule::meMinRowPhi_
MonitorElement * meMinRowPhi_
Definition: SiPixelClusterModule.h:148
SiPixelClusterModule::meSizeYLad_
MonitorElement * meSizeYLad_
Definition: SiPixelClusterModule.h:115
SiPixelClusterModule::meMaxRowDisk_
MonitorElement * meMaxRowDisk_
Definition: SiPixelClusterModule.h:177
SiPixelClusterModule::mePixClustersRing_px_
MonitorElement * mePixClustersRing_px_
Definition: SiPixelClusterModule.h:193
SiPixelClusterModule::meMaxRowLad_
MonitorElement * meMaxRowLad_
Definition: SiPixelClusterModule.h:117
SiPixelClusterModule::meSizeLay_
MonitorElement * meSizeLay_
Definition: SiPixelClusterModule.h:130
SiPixelClusterModule::meClPosLayer2
MonitorElement * meClPosLayer2
Definition: SiPixelClusterModule.h:98
SiPixelClusterModule::meChargeLay_
MonitorElement * meChargeLay_
Definition: SiPixelClusterModule.h:129
SiPixelClusterModule::meSizeY_
MonitorElement * meSizeY_
Definition: SiPixelClusterModule.h:87
TrackerTopology.h
SiPixelClusterModule::mePixClustersLay_px_
MonitorElement * mePixClustersLay_px_
Definition: SiPixelClusterModule.h:138
SiPixelClusterModule::meNClusters_
MonitorElement * meNClusters_
Definition: SiPixelClusterModule.h:81
SiPixelClusterModule::meMaxColLad_
MonitorElement * meMaxColLad_
Definition: SiPixelClusterModule.h:119
SiPixelClusterModule::meClPosLayer1
MonitorElement * meClPosLayer1
Definition: SiPixelClusterModule.h:97
TrackerTopologyRcd.h
SiPixelClusterModule::meSizeBlade_
MonitorElement * meSizeBlade_
Definition: SiPixelClusterModule.h:161
dqm::legacy::DQMStore
Definition: DQMStore.h:728
SiPixelClusterModule::meSize_
MonitorElement * meSize_
Definition: SiPixelClusterModule.h:85
SiPixelClusterModule::meMaxColDisk_
MonitorElement * meMaxColDisk_
Definition: SiPixelClusterModule.h:179
SiPixelClusterModule::mePixClustersPhi_
MonitorElement * mePixClustersPhi_
Definition: SiPixelClusterModule.h:152
SiPixelClusterModule::meMinRowBlade_
MonitorElement * meMinRowBlade_
Definition: SiPixelClusterModule.h:164
SiPixelClusterModule::meXRing_
MonitorElement * meXRing_
Definition: SiPixelClusterModule.h:183
SiPixelClusterModule::meSizeDisk_
MonitorElement * meSizeDisk_
Definition: SiPixelClusterModule.h:173
SiPixelClusterModule::meMinColRing_
MonitorElement * meMinColRing_
Definition: SiPixelClusterModule.h:190
SiPixelClusterModule::meMaxRowRing_
MonitorElement * meMaxRowRing_
Definition: SiPixelClusterModule.h:189
SiPixelClusterModule::mePixClustersLad_px_
MonitorElement * mePixClustersLad_px_
Definition: SiPixelClusterModule.h:121
SiPixelClusterModule::meSizeXPhi_
MonitorElement * meSizeXPhi_
Definition: SiPixelClusterModule.h:146
SiPixelClusterModule::meMinColLay_
MonitorElement * meMinColLay_
Definition: SiPixelClusterModule.h:135
SiPixelClusterModule::meMaxColPhi_
MonitorElement * meMaxColPhi_
Definition: SiPixelClusterModule.h:151
SiPixelClusterModule::meXLad_
MonitorElement * meXLad_
Definition: SiPixelClusterModule.h:111
SiPixelClusterModule::meXLay_
MonitorElement * meXLay_
Definition: SiPixelClusterModule.h:128
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
SiPixelClusterModule::meClPosDisk1mz
MonitorElement * meClPosDisk1mz
Definition: SiPixelClusterModule.h:104
SiPixelClusterModule::meMinColPhi_
MonitorElement * meMinColPhi_
Definition: SiPixelClusterModule.h:150
SiPixelClusterModule::meMaxRow_
MonitorElement * meMaxRow_
Definition: SiPixelClusterModule.h:89
edm::ParameterSet
Definition: ParameterSet.h:47
SiPixelClusterModule::meYDisk_
MonitorElement * meYDisk_
Definition: SiPixelClusterModule.h:170
SiPixelClusterModule::meSizeYDisk_
MonitorElement * meSizeYDisk_
Definition: SiPixelClusterModule.h:175
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
SiPixelClusterModule::meSizeYRing_
MonitorElement * meSizeYRing_
Definition: SiPixelClusterModule.h:187
SiPixelClusterModule::meSizeRing_
MonitorElement * meSizeRing_
Definition: SiPixelClusterModule.h:185
SiPixelClusterModule::meSizeXBlade_
MonitorElement * meSizeXBlade_
Definition: SiPixelClusterModule.h:162
SiPixelClusterModule::mePixClustersLad_
MonitorElement * mePixClustersLad_
Definition: SiPixelClusterModule.h:120
SiPixelClusterModule::meMinRowRing_
MonitorElement * meMinRowRing_
Definition: SiPixelClusterModule.h:188
SiPixelClusterModule::meClPosDisk1pz
MonitorElement * meClPosDisk1pz
Definition: SiPixelClusterModule.h:101
SiPixelClusterModule::meMinRowDisk_
MonitorElement * meMinRowDisk_
Definition: SiPixelClusterModule.h:176
SiPixelClusterModule::meYLay_
MonitorElement * meYLay_
Definition: SiPixelClusterModule.h:127
SiPixelClusterModule::meMinCol_
MonitorElement * meMinCol_
Definition: SiPixelClusterModule.h:90
SiPixelClusterModule::mePixClustersRing_
MonitorElement * mePixClustersRing_
Definition: SiPixelClusterModule.h:192
SiPixelClusterModule::meSizeX_
MonitorElement * meSizeX_
Definition: SiPixelClusterModule.h:86
SiPixelClusterModule::meClPosDisk3pz
MonitorElement * meClPosDisk3pz
Definition: SiPixelClusterModule.h:103
SiPixelClusterModule::meMaxColBlade_
MonitorElement * meMaxColBlade_
Definition: SiPixelClusterModule.h:167
SiPixelClusterModule::mePixClusters_
MonitorElement * mePixClusters_
Definition: SiPixelClusterModule.h:92
edmNew::DetSetVector
Definition: DetSetNew.h:13
SiPixelClusterModule::meMaxCol_
MonitorElement * meMaxCol_
Definition: SiPixelClusterModule.h:91
SiPixelClusterModule::meChargePhi_
MonitorElement * meChargePhi_
Definition: SiPixelClusterModule.h:144
SiPixelClusterModule::mePixClustersLay_py_
MonitorElement * mePixClustersLay_py_
Definition: SiPixelClusterModule.h:139
SiPixelClusterModule::fill
int fill(const edmNew::DetSetVector< SiPixelCluster > &input, const TrackerTopology *pTT, 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.
Definition: SiPixelClusterModule.cc:537
SiPixelClusterModule::meMaxRowLay_
MonitorElement * meMaxRowLay_
Definition: SiPixelClusterModule.h:134
SiPixelClusterModule::mePixClustersRing_py_
MonitorElement * mePixClustersRing_py_
Definition: SiPixelClusterModule.h:194
SiPixelClusterModule::meClPosDisk2pz
MonitorElement * meClPosDisk2pz
Definition: SiPixelClusterModule.h:102
SiPixelClusterModule::meSizeXDisk_
MonitorElement * meSizeXDisk_
Definition: SiPixelClusterModule.h:174
PixelGeomDetUnit.h
SiPixelClusterModule::mePixClustersLay_
MonitorElement * mePixClustersLay_
Definition: SiPixelClusterModule.h:137
SiPixelClusterModule::meClPosLayer3
MonitorElement * meClPosLayer3
Definition: SiPixelClusterModule.h:99
SiPixelClusterModule::~SiPixelClusterModule
~SiPixelClusterModule()
Destructor.
Definition: SiPixelClusterModule.cc:54
SiPixelClusterModule::meMaxColLay_
MonitorElement * meMaxColLay_
Definition: SiPixelClusterModule.h:136
SiPixelClusterModule::DQMStore
dqm::reco::DQMStore DQMStore
Definition: SiPixelClusterModule.h:33
SiPixelClusterModule::meY_
MonitorElement * meY_
Definition: SiPixelClusterModule.h:82
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelClusterModule::meClPosDisk3mz
MonitorElement * meClPosDisk3mz
Definition: SiPixelClusterModule.h:106
SiPixelClusterModule::meSizeYPhi_
MonitorElement * meSizeYPhi_
Definition: SiPixelClusterModule.h:147
SiPixelClusterModule::mePixClustersLad_py_
MonitorElement * mePixClustersLad_py_
Definition: SiPixelClusterModule.h:122
SiPixelClusterModule::meCharge_
MonitorElement * meCharge_
Definition: SiPixelClusterModule.h:84
SiPixelClusterModule::meMinColDisk_
MonitorElement * meMinColDisk_
Definition: SiPixelClusterModule.h:178
SiPixelClusterModule::meMaxRowBlade_
MonitorElement * meMaxRowBlade_
Definition: SiPixelClusterModule.h:165
SiPixelOfflineDQM_client_cff.isUpgrade
isUpgrade
Definition: SiPixelOfflineDQM_client_cff.py:19
SiPixelClusterModule::meX_
MonitorElement * meX_
Definition: SiPixelClusterModule.h:83
SiPixelClusterModule::meNClustersLay_
MonitorElement * meNClustersLay_
Definition: SiPixelClusterModule.h:126
SiPixelClusterModule::meYBlade_
MonitorElement * meYBlade_
Definition: SiPixelClusterModule.h:158
SiPixelClusterModule::meYPhi_
MonitorElement * meYPhi_
Definition: SiPixelClusterModule.h:142
SiPixelClusterModule::meYLad_
MonitorElement * meYLad_
Definition: SiPixelClusterModule.h:110
SiPixelClusterModule::meSizeXRing_
MonitorElement * meSizeXRing_
Definition: SiPixelClusterModule.h:186
SiPixelClusterModule
Definition: SiPixelClusterModule.h:31
DetSetVectorNew.h
SiPixelClusterModule::meChargeDisk_
MonitorElement * meChargeDisk_
Definition: SiPixelClusterModule.h:172
SiPixelClusterModule::meMinRowLad_
MonitorElement * meMinRowLad_
Definition: SiPixelClusterModule.h:116
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
SiPixelClusterModule::meNClustersLad_
MonitorElement * meNClustersLad_
Definition: SiPixelClusterModule.h:109
SiPixelClusterModule::meMinColLad_
MonitorElement * meMinColLad_
Definition: SiPixelClusterModule.h:118
SiPixelClusterModule::SiPixelClusterModule
SiPixelClusterModule()
Default constructor.
Definition: SiPixelClusterModule.cc:45
TrackerGeometry
Definition: TrackerGeometry.h:14
SiPixelClusterModule::meXBlade_
MonitorElement * meXBlade_
Definition: SiPixelClusterModule.h:159
edmNew::DetSet::const_iterator
const data_type * const_iterator
Definition: DetSetNew.h:31