CMS 3D CMS Logo

SiPixelDigiModule.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorDigi_SiPixelDigiModule_h
2 #define SiPixelMonitorDigi_SiPixelDigiModule_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorDigi
6 // Class: SiPixelDigiModule
7 //
15 //
16 // Original Author: Vincenzo Chiochia
17 // Created:
18 //
19 //
20 // Updated by: Lukas Wehrli
21 // for pixel offline DQM
22 
31 
42 #include <cstdint>
43 
45 public:
48 
52  SiPixelDigiModule(const uint32_t& id);
54  SiPixelDigiModule(const uint32_t& id, const int& ncols, const int& nrows);
57 
59 
61  void book(const edm::ParameterSet& iConfig,
62  const edm::EventSetup& iSetup,
63  DQMStore::IBooker& iBooker,
64  int type = 0,
65  bool twoD = true,
66  bool hiRes = false,
67  bool reducedSet = false,
68  bool additInfo = false,
69  bool isUpgrade = false);
71  // int fill(const edm::DetSetVector<PixelDigi> & input, bool modon=true,
72  // bool ladon=false, bool layon=false, bool phion=false,
73  // bool bladeon=false, bool diskon=false, bool ringon=false,
74  // bool twoD=true, bool reducedSet=false, bool twoDimModOn = true, bool twoDimOnlyLayDisk = false,
75  // int &nDigisA, int &nDigisB);
77  const edm::EventSetup& iSetup,
78  MonitorElement* combBarrel,
79  MonitorElement* chanBarrel,
80  std::vector<MonitorElement*>& chanBarrelL,
81  MonitorElement* combEndcap,
82  const bool modon,
83  const bool ladon,
84  const bool layon,
85  const bool phion,
86  const bool bladeon,
87  const bool diskon,
88  const bool ringon,
89  const bool twoD,
90  const bool reducedSet,
91  const bool twoDimModOn,
92  const bool twoDimOnlyLayDisk,
93  int& nDigisA,
94  int& nDigisB,
95  bool isUpgrade);
96  void
97  resetRocMap(); // This is to move the rocmap reset from the Source to the Module where the map is booked. Necessary for multithread safety.
98  std::pair<int, int> getZeroLoEffROCs(); // Moved from Souce.cc. Gets number of zero and low eff ROCs from each module.
99 private:
100  uint32_t id_;
101  int ncols_;
102  int nrows_;
108 
109  //barrel:
115 
123 
129 
130  //forward:
133 
139 
145 
146  //int nEventDigis_;
147 };
148 #endif
edm::DetSetVector
Definition: DetSetVector.h:61
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
SiPixelDigiModule::mePixDigisDisk_
MonitorElement * mePixDigisDisk_
Definition: SiPixelDigiModule.h:136
SiPixelDigiModule::mePixDigisLay_px_
MonitorElement * mePixDigisLay_px_
Definition: SiPixelDigiModule.h:121
hgcalPlots.ncols
ncols
Definition: hgcalPlots.py:105
input
static const std::string input
Definition: EdmProvDump.cc:48
TrackerGeometry.h
PixelTopology.h
SiPixelDigiModule::resetRocMap
void resetRocMap()
Definition: SiPixelDigiModule.cc:604
SiPixelDigiModule::meZeroOccRocsLay_
MonitorElement * meZeroOccRocsLay_
Definition: SiPixelDigiModule.h:120
ESHandle.h
SiPixelDigiModule::mePixDigisLay_
MonitorElement * mePixDigisLay_
Definition: SiPixelDigiModule.h:118
SiPixelDigiModule::nrows_
int nrows_
Definition: SiPixelDigiModule.h:102
SiPixelOfflineDQM_source_cff.reducedSet
reducedSet
Definition: SiPixelOfflineDQM_source_cff.py:8
SiPixelDigiModule::mePixDigisPhi_py_
MonitorElement * mePixDigisPhi_py_
Definition: SiPixelDigiModule.h:128
SiPixelDigiModule::meNDigisLad_
MonitorElement * meNDigisLad_
Definition: SiPixelDigiModule.h:110
SiPixelDigiModule::fill
int fill(const edm::DetSetVector< PixelDigi > &input, const edm::EventSetup &iSetup, MonitorElement *combBarrel, MonitorElement *chanBarrel, std::vector< MonitorElement * > &chanBarrelL, MonitorElement *combEndcap, const bool modon, const bool ladon, const bool layon, const bool phion, const bool bladeon, const bool diskon, const bool ringon, const bool twoD, const bool reducedSet, const bool twoDimModOn, const bool twoDimOnlyLayDisk, int &nDigisA, int &nDigisB, bool isUpgrade)
Fill histograms.
Definition: SiPixelDigiModule.cc:323
SiPixelDigiModule::meADCLad_
MonitorElement * meADCLad_
Definition: SiPixelDigiModule.h:111
SiPixelDigiModule::meADCBlade_
MonitorElement * meADCBlade_
Definition: SiPixelDigiModule.h:132
GlobalPixel.h
SiPixelDigiModule::mePixDigisRing_py_
MonitorElement * mePixDigisRing_py_
Definition: SiPixelDigiModule.h:144
GeomDetType.h
SiPixelDigiModule::meADCPhi_
MonitorElement * meADCPhi_
Definition: SiPixelDigiModule.h:125
SiPixelDigiModule::mePixDigisLad_py_
MonitorElement * mePixDigisLad_py_
Definition: SiPixelDigiModule.h:114
SiPixelDigiModule::mePixDigis_
MonitorElement * mePixDigis_
Definition: SiPixelDigiModule.h:105
GluedGeomDet.h
SiPixelFedCablingMap.h
DQMStore.h
SiPixelDigiModule::meNDigis_
MonitorElement * meNDigis_
Definition: SiPixelDigiModule.h:103
SiPixelDigiModule::meADCLay_
MonitorElement * meADCLay_
Definition: SiPixelDigiModule.h:117
PixelDigi.h
SiPixelDigiModule::id_
uint32_t id_
Definition: SiPixelDigiModule.h:100
SiPixelDigiModule::meADCDisk_
MonitorElement * meADCDisk_
Definition: SiPixelDigiModule.h:135
SiPixelDigiModule::book
void book(const edm::ParameterSet &iConfig, const edm::EventSetup &iSetup, DQMStore::IBooker &iBooker, int type=0, bool twoD=true, bool hiRes=false, bool reducedSet=false, bool additInfo=false, bool isUpgrade=false)
Book histograms.
Definition: SiPixelDigiModule.cc:41
SiPixelDigiModule
Definition: SiPixelDigiModule.h:44
SiPixelDigiModule::meNDigisLay_
MonitorElement * meNDigisLay_
Definition: SiPixelDigiModule.h:116
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiPixelDigiModule::meNDigisPhi_
MonitorElement * meNDigisPhi_
Definition: SiPixelDigiModule.h:124
SiPixelDigiModule::mePixDigis_px_
MonitorElement * mePixDigis_px_
Definition: SiPixelDigiModule.h:106
SiPixelDigiModule::mePixDigisRing_px_
MonitorElement * mePixDigisRing_px_
Definition: SiPixelDigiModule.h:143
SiPixelDigiModule::mePixDigis_py_
MonitorElement * mePixDigis_py_
Definition: SiPixelDigiModule.h:107
SiPixelDigiModule::meZeroOccRocsDisk_
MonitorElement * meZeroOccRocsDisk_
Definition: SiPixelDigiModule.h:138
SiPixelDigiModule::DQMStore
dqm::reco::DQMStore DQMStore
Definition: SiPixelDigiModule.h:46
PixelGeomDetType.h
SiPixelDigiModule::mePixRocsDisk_
MonitorElement * mePixRocsDisk_
Definition: SiPixelDigiModule.h:137
TrackerDigiGeometryRecord.h
SiPixelDigiModule::mePixDigisLay_py_
MonitorElement * mePixDigisLay_py_
Definition: SiPixelDigiModule.h:122
edm::ParameterSet
Definition: ParameterSet.h:36
SiPixelFedCablingMapRcd.h
SiPixelDigiModule::DigiIterator
edm::DetSet< PixelDigi >::const_iterator DigiIterator
Definition: SiPixelDigiModule.h:58
SiPixelDigiModule::mePixDigisRing_
MonitorElement * mePixDigisRing_
Definition: SiPixelDigiModule.h:142
SiPixelDigiModule::mePixRocsLay_
MonitorElement * mePixRocsLay_
Definition: SiPixelDigiModule.h:119
SiPixelOfflineDQM_source_cff.hiRes
hiRes
Definition: SiPixelOfflineDQM_source_cff.py:43
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
GeometricDet.h
SiPixelDigiModule::mePixDigisPhi_px_
MonitorElement * mePixDigisPhi_px_
Definition: SiPixelDigiModule.h:127
SiPixelDigiModule::mePixDigisLad_
MonitorElement * mePixDigisLad_
Definition: SiPixelDigiModule.h:112
GeomDet.h
type
type
Definition: HCALResponse.h:21
SiPixelDigiModule::SiPixelDigiModule
SiPixelDigiModule()
Default constructor.
Definition: SiPixelDigiModule.cc:28
SiPixelDigiModule::meADCRing_
MonitorElement * meADCRing_
Definition: SiPixelDigiModule.h:141
SiPixelDigiModule::MonitorElement
dqm::reco::MonitorElement MonitorElement
Definition: SiPixelDigiModule.h:47
SiPixelDigiModule::meNDigisRing_
MonitorElement * meNDigisRing_
Definition: SiPixelDigiModule.h:140
PixelGeomDetUnit.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelDigiModule::meNDigisDisk_
MonitorElement * meNDigisDisk_
Definition: SiPixelDigiModule.h:134
SiPixelDigiModule::mePixDigisLad_px_
MonitorElement * mePixDigisLad_px_
Definition: SiPixelDigiModule.h:113
ParameterSet.h
SiPixelDigiModule::ncols_
int ncols_
Definition: SiPixelDigiModule.h:101
SiPixelOfflineDQM_client_cff.isUpgrade
isUpgrade
Definition: SiPixelOfflineDQM_client_cff.py:19
SiPixelDigiModule::~SiPixelDigiModule
~SiPixelDigiModule()
Destructor.
Definition: SiPixelDigiModule.cc:37
SiPixelDigiModule::meADC_
MonitorElement * meADC_
Definition: SiPixelDigiModule.h:104
SiPixelOfflineDQM_source_cff.twoDimModOn
twoDimModOn
Definition: SiPixelOfflineDQM_source_cff.py:44
SiPixelDigiModule::mePixDigisPhi_
MonitorElement * mePixDigisPhi_
Definition: SiPixelDigiModule.h:126
SiPixelDigiModule::getZeroLoEffROCs
std::pair< int, int > getZeroLoEffROCs()
Definition: SiPixelDigiModule.cc:612
SiPixelOfflineDQM_source_cff.twoDimOnlyLayDisk
twoDimOnlyLayDisk
Definition: SiPixelOfflineDQM_source_cff.py:45
SiPixelFrameReverter.h
SiPixelDigiModule::meNDigisBlade_
MonitorElement * meNDigisBlade_
Definition: SiPixelDigiModule.h:131
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31