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_;
104  // MonitorElement* meEdgeHitX_;
105  // MonitorElement* meEdgeHitY_;
116 
117  // barrel
132 
134 
149 
164 
165  // forward
177 
189 
204 };
205 #endif
SiPixelClusterModule::meNClustersDisk_
MonitorElement * meNClustersDisk_
Definition: SiPixelClusterModule.h:178
SiPixelClusterModule::meXDisk_
MonitorElement * meXDisk_
Definition: SiPixelClusterModule.h:180
SiPixelClusterModule::meSizeLad_
MonitorElement * meSizeLad_
Definition: SiPixelClusterModule.h:122
SiPixelClusterModule::meNClustersPhi_
MonitorElement * meNClustersPhi_
Definition: SiPixelClusterModule.h:150
SiPixelClusterModule::meSizeYLay_
MonitorElement * meSizeYLay_
Definition: SiPixelClusterModule.h:141
SiPixelClusterModule::meMaxColRing_
MonitorElement * meMaxColRing_
Definition: SiPixelClusterModule.h:200
SiPixelClusterModule::meNClustersBlade_
MonitorElement * meNClustersBlade_
Definition: SiPixelClusterModule.h:166
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
SiPixelClusterModule::ncols_
int ncols_
Definition: SiPixelClusterModule.h:88
SiPixelClusterModule::meXPhi_
MonitorElement * meXPhi_
Definition: SiPixelClusterModule.h:152
hgcalPlots.ncols
ncols
Definition: hgcalPlots.py:105
SiPixelClusterModule::meClPosLayer4
MonitorElement * meClPosLayer4
Definition: SiPixelClusterModule.h:109
SiPixelClusterModule::meSizeYBlade_
MonitorElement * meSizeYBlade_
Definition: SiPixelClusterModule.h:172
SiPixelClusterModule::MonitorElement
dqm::reco::MonitorElement MonitorElement
Definition: SiPixelClusterModule.h:43
SiPixelClusterModule::meMinColBlade_
MonitorElement * meMinColBlade_
Definition: SiPixelClusterModule.h:175
input
static const std::string input
Definition: EdmProvDump.cc:48
TrackerGeometry.h
PixelTopology.h
SiPixelClusterModule::meChargeLad_
MonitorElement * meChargeLad_
Definition: SiPixelClusterModule.h:121
SiPixelClusterModule::mePixClustersPhi_py_
MonitorElement * mePixClustersPhi_py_
Definition: SiPixelClusterModule.h:163
SiPixelClusterModule::meChargeRing_
MonitorElement * meChargeRing_
Definition: SiPixelClusterModule.h:193
SiPixelClusterModule::meClPosDisk2mz
MonitorElement * meClPosDisk2mz
Definition: SiPixelClusterModule.h:114
SiPixelClusterModule::meMinRowLay_
MonitorElement * meMinRowLay_
Definition: SiPixelClusterModule.h:142
SiPixelClusterModule::meSizeYvsEtaBarrel_
MonitorElement * meSizeYvsEtaBarrel_
Definition: SiPixelClusterModule.h:133
SiPixelClusterModule::id_
uint32_t id_
Definition: SiPixelClusterModule.h:87
ESHandle.h
SiPixelClusterModule::meChargeBlade_
MonitorElement * meChargeBlade_
Definition: SiPixelClusterModule.h:169
SiPixelOfflineDQM_source_cff.reducedSet
reducedSet
Definition: SiPixelOfflineDQM_source_cff.py:8
SiPixelClusterModule::meSizePhi_
MonitorElement * meSizePhi_
Definition: SiPixelClusterModule.h:154
SiPixelClusterModule::meSizeXLad_
MonitorElement * meSizeXLad_
Definition: SiPixelClusterModule.h:123
SiPixelClusterModule::meSizeXLay_
MonitorElement * meSizeXLay_
Definition: SiPixelClusterModule.h:140
SiPixelClusterModule::ClusterIterator
edmNew::DetSet< SiPixelCluster >::const_iterator ClusterIterator
Definition: SiPixelClusterModule.h:54
SiPixelClusterModule::fill
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.
Definition: SiPixelClusterModule.cc:541
SiPixelClusterModule::meMinRow_
MonitorElement * meMinRow_
Definition: SiPixelClusterModule.h:97
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelClusterModule::nrows_
int nrows_
Definition: SiPixelClusterModule.h:89
SiPixelClusterModule::meYRing_
MonitorElement * meYRing_
Definition: SiPixelClusterModule.h:191
SiPixelClusterModule::mePixClusters_px_
MonitorElement * mePixClusters_px_
Definition: SiPixelClusterModule.h:102
SiPixelCluster.h
SiPixelClusterModule::mePixClustersPhi_px_
MonitorElement * mePixClustersPhi_px_
Definition: SiPixelClusterModule.h:162
SiPixelClusterModule::mePixClusters_py_
MonitorElement * mePixClusters_py_
Definition: SiPixelClusterModule.h:103
GeomDetType.h
SiPixelClusterModule::meNClustersRing_
MonitorElement * meNClustersRing_
Definition: SiPixelClusterModule.h:190
GluedGeomDet.h
DQMStore.h
SiPixelClusterModule::meMaxRowPhi_
MonitorElement * meMaxRowPhi_
Definition: SiPixelClusterModule.h:158
SiPixelClusterModule::meMinRowPhi_
MonitorElement * meMinRowPhi_
Definition: SiPixelClusterModule.h:157
SiPixelClusterModule::meSizeYLad_
MonitorElement * meSizeYLad_
Definition: SiPixelClusterModule.h:124
SiPixelClusterModule::meMaxRowDisk_
MonitorElement * meMaxRowDisk_
Definition: SiPixelClusterModule.h:186
SiPixelClusterModule::mePixClustersRing_px_
MonitorElement * mePixClustersRing_px_
Definition: SiPixelClusterModule.h:202
SiPixelClusterModule::meMaxRowLad_
MonitorElement * meMaxRowLad_
Definition: SiPixelClusterModule.h:126
SiPixelClusterModule::meSizeLay_
MonitorElement * meSizeLay_
Definition: SiPixelClusterModule.h:139
SiPixelClusterModule::meClPosLayer2
MonitorElement * meClPosLayer2
Definition: SiPixelClusterModule.h:107
SiPixelClusterModule::meChargeLay_
MonitorElement * meChargeLay_
Definition: SiPixelClusterModule.h:138
SiPixelClusterModule::meSizeY_
MonitorElement * meSizeY_
Definition: SiPixelClusterModule.h:96
TrackerTopology.h
SiPixelClusterModule::mePixClustersLay_px_
MonitorElement * mePixClustersLay_px_
Definition: SiPixelClusterModule.h:147
SiPixelClusterModule::meNClusters_
MonitorElement * meNClusters_
Definition: SiPixelClusterModule.h:90
SiPixelClusterModule::meMaxColLad_
MonitorElement * meMaxColLad_
Definition: SiPixelClusterModule.h:128
SiPixelClusterModule::meClPosLayer1
MonitorElement * meClPosLayer1
Definition: SiPixelClusterModule.h:106
SiPixelClusterModule::meSizeBlade_
MonitorElement * meSizeBlade_
Definition: SiPixelClusterModule.h:170
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiPixelClusterModule::meSize_
MonitorElement * meSize_
Definition: SiPixelClusterModule.h:94
SiPixelClusterModule::meMaxColDisk_
MonitorElement * meMaxColDisk_
Definition: SiPixelClusterModule.h:188
SiPixelClusterModule::mePixClustersPhi_
MonitorElement * mePixClustersPhi_
Definition: SiPixelClusterModule.h:161
SiPixelClusterModule::meMinRowBlade_
MonitorElement * meMinRowBlade_
Definition: SiPixelClusterModule.h:173
SiPixelClusterModule::meXRing_
MonitorElement * meXRing_
Definition: SiPixelClusterModule.h:192
SiPixelClusterModule::meSizeDisk_
MonitorElement * meSizeDisk_
Definition: SiPixelClusterModule.h:182
SiPixelClusterModule::meMinColRing_
MonitorElement * meMinColRing_
Definition: SiPixelClusterModule.h:199
SiPixelClusterModule::meMaxRowRing_
MonitorElement * meMaxRowRing_
Definition: SiPixelClusterModule.h:198
SiPixelClusterModule::pTT
const TrackerTopology * pTT
Definition: SiPixelClusterModule.h:86
SiPixelClusterModule::mePixClustersLad_px_
MonitorElement * mePixClustersLad_px_
Definition: SiPixelClusterModule.h:130
SiPixelClusterModule::meSizeXPhi_
MonitorElement * meSizeXPhi_
Definition: SiPixelClusterModule.h:155
PixelGeomDetType.h
SiPixelClusterModule::meMinColLay_
MonitorElement * meMinColLay_
Definition: SiPixelClusterModule.h:144
SiPixelClusterModule::meMaxColPhi_
MonitorElement * meMaxColPhi_
Definition: SiPixelClusterModule.h:160
SiPixelClusterModule::meXLad_
MonitorElement * meXLad_
Definition: SiPixelClusterModule.h:120
SiPixelClusterModule::meXLay_
MonitorElement * meXLay_
Definition: SiPixelClusterModule.h:137
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
SiPixelClusterModule::meClPosDisk1mz
MonitorElement * meClPosDisk1mz
Definition: SiPixelClusterModule.h:113
SiPixelClusterModule::meMinColPhi_
MonitorElement * meMinColPhi_
Definition: SiPixelClusterModule.h:159
TrackerDigiGeometryRecord.h
SiPixelClusterModule::meMaxRow_
MonitorElement * meMaxRow_
Definition: SiPixelClusterModule.h:98
edm::ParameterSet
Definition: ParameterSet.h:36
SiPixelClusterModule::book
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.
Definition: SiPixelClusterModule.cc:58
SiPixelClusterModule::meYDisk_
MonitorElement * meYDisk_
Definition: SiPixelClusterModule.h:179
SiPixelClusterModule::meSizeYDisk_
MonitorElement * meSizeYDisk_
Definition: SiPixelClusterModule.h:184
SiPixelClusterModule::meSizeYRing_
MonitorElement * meSizeYRing_
Definition: SiPixelClusterModule.h:196
SiPixelClusterModule::meSizeRing_
MonitorElement * meSizeRing_
Definition: SiPixelClusterModule.h:194
SiPixelClusterModule::meSizeXBlade_
MonitorElement * meSizeXBlade_
Definition: SiPixelClusterModule.h:171
SiPixelClusterModule::mePixClustersLad_
MonitorElement * mePixClustersLad_
Definition: SiPixelClusterModule.h:129
SiPixelClusterModule::meMinRowRing_
MonitorElement * meMinRowRing_
Definition: SiPixelClusterModule.h:197
SiPixelClusterModule::meClPosDisk1pz
MonitorElement * meClPosDisk1pz
Definition: SiPixelClusterModule.h:110
SiPixelClusterModule::meMinRowDisk_
MonitorElement * meMinRowDisk_
Definition: SiPixelClusterModule.h:185
SiPixelClusterModule::meYLay_
MonitorElement * meYLay_
Definition: SiPixelClusterModule.h:136
edm::EventSetup
Definition: EventSetup.h:57
GeometricDet.h
SiPixelClusterModule::meMinCol_
MonitorElement * meMinCol_
Definition: SiPixelClusterModule.h:99
SiPixelClusterModule::mePixClustersRing_
MonitorElement * mePixClustersRing_
Definition: SiPixelClusterModule.h:201
SiPixelClusterModule::meSizeX_
MonitorElement * meSizeX_
Definition: SiPixelClusterModule.h:95
SiPixelClusterModule::meClPosDisk3pz
MonitorElement * meClPosDisk3pz
Definition: SiPixelClusterModule.h:112
SiPixelClusterModule::meMaxColBlade_
MonitorElement * meMaxColBlade_
Definition: SiPixelClusterModule.h:176
SiPixelClusterModule::mePixClusters_
MonitorElement * mePixClusters_
Definition: SiPixelClusterModule.h:101
GeomDet.h
edmNew::DetSetVector
Definition: DetSetNew.h:13
type
type
Definition: HCALResponse.h:21
SiPixelClusterModule::meMaxCol_
MonitorElement * meMaxCol_
Definition: SiPixelClusterModule.h:100
SiPixelClusterModule::meChargePhi_
MonitorElement * meChargePhi_
Definition: SiPixelClusterModule.h:153
SiPixelClusterModule::mePixClustersLay_py_
MonitorElement * mePixClustersLay_py_
Definition: SiPixelClusterModule.h:148
SiPixelClusterModule::meMaxRowLay_
MonitorElement * meMaxRowLay_
Definition: SiPixelClusterModule.h:143
SiPixelClusterModule::mePixClustersRing_py_
MonitorElement * mePixClustersRing_py_
Definition: SiPixelClusterModule.h:203
SiPixelClusterModule::meClPosDisk2pz
MonitorElement * meClPosDisk2pz
Definition: SiPixelClusterModule.h:111
SiPixelClusterModule::meSizeXDisk_
MonitorElement * meSizeXDisk_
Definition: SiPixelClusterModule.h:183
PixelGeomDetUnit.h
SiPixelClusterModule::mePixClustersLay_
MonitorElement * mePixClustersLay_
Definition: SiPixelClusterModule.h:146
SiPixelClusterModule::meClPosLayer3
MonitorElement * meClPosLayer3
Definition: SiPixelClusterModule.h:108
SiPixelClusterModule::~SiPixelClusterModule
~SiPixelClusterModule()
Destructor.
Definition: SiPixelClusterModule.cc:54
SiPixelClusterModule::meMaxColLay_
MonitorElement * meMaxColLay_
Definition: SiPixelClusterModule.h:145
SiPixelClusterModule::DQMStore
dqm::reco::DQMStore DQMStore
Definition: SiPixelClusterModule.h:42
SiPixelClusterModule::meY_
MonitorElement * meY_
Definition: SiPixelClusterModule.h:91
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelClusterModule::meClPosDisk3mz
MonitorElement * meClPosDisk3mz
Definition: SiPixelClusterModule.h:115
SiPixelClusterModule::meSizeYPhi_
MonitorElement * meSizeYPhi_
Definition: SiPixelClusterModule.h:156
SiPixelClusterModule::mePixClustersLad_py_
MonitorElement * mePixClustersLad_py_
Definition: SiPixelClusterModule.h:131
SiPixelClusterModule::meCharge_
MonitorElement * meCharge_
Definition: SiPixelClusterModule.h:93
SiPixelClusterModule::meMinColDisk_
MonitorElement * meMinColDisk_
Definition: SiPixelClusterModule.h:187
SiPixelClusterModule::meMaxRowBlade_
MonitorElement * meMaxRowBlade_
Definition: SiPixelClusterModule.h:174
ParameterSet.h
SiPixelOfflineDQM_client_cff.isUpgrade
isUpgrade
Definition: SiPixelOfflineDQM_client_cff.py:19
SiPixelClusterModule::meX_
MonitorElement * meX_
Definition: SiPixelClusterModule.h:92
SiPixelClusterModule::meNClustersLay_
MonitorElement * meNClustersLay_
Definition: SiPixelClusterModule.h:135
SiPixelClusterModule::meYBlade_
MonitorElement * meYBlade_
Definition: SiPixelClusterModule.h:167
SiPixelClusterModule::meYPhi_
MonitorElement * meYPhi_
Definition: SiPixelClusterModule.h:151
SiPixelClusterModule::meYLad_
MonitorElement * meYLad_
Definition: SiPixelClusterModule.h:119
SiPixelClusterModule::meSizeXRing_
MonitorElement * meSizeXRing_
Definition: SiPixelClusterModule.h:195
SiPixelClusterModule
Definition: SiPixelClusterModule.h:40
DetSetVectorNew.h
SiPixelClusterModule::meChargeDisk_
MonitorElement * meChargeDisk_
Definition: SiPixelClusterModule.h:181
SiPixelClusterModule::meMinRowLad_
MonitorElement * meMinRowLad_
Definition: SiPixelClusterModule.h:125
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
SiPixelClusterModule::meNClustersLad_
MonitorElement * meNClustersLad_
Definition: SiPixelClusterModule.h:118
SiPixelClusterModule::meMinColLad_
MonitorElement * meMinColLad_
Definition: SiPixelClusterModule.h:127
SiPixelClusterModule::SiPixelClusterModule
SiPixelClusterModule()
Default constructor.
Definition: SiPixelClusterModule.cc:45
TrackerGeometry
Definition: TrackerGeometry.h:14
SiPixelClusterModule::meXBlade_
MonitorElement * meXBlade_
Definition: SiPixelClusterModule.h:168
edmNew::DetSet::const_iterator
const data_type * const_iterator
Definition: DetSetNew.h:31