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 
28 #include <cstdint>
29 
31 public:
34 
38  SiPixelDigiModule(const uint32_t& id);
40  SiPixelDigiModule(const uint32_t& id, const int& ncols, const int& nrows);
43 
45 
47  void book(const edm::ParameterSet& iConfig,
48  const TrackerTopology* pTT,
49  DQMStore::IBooker& iBooker,
50  int type = 0,
51  bool twoD = true,
52  bool hiRes = false,
53  bool reducedSet = false,
54  bool additInfo = false,
55  bool isUpgrade = false);
57  // int fill(const edm::DetSetVector<PixelDigi> & input, bool modon=true,
58  // bool ladon=false, bool layon=false, bool phion=false,
59  // bool bladeon=false, bool diskon=false, bool ringon=false,
60  // bool twoD=true, bool reducedSet=false, bool twoDimModOn = true, bool twoDimOnlyLayDisk = false,
61  // int &nDigisA, int &nDigisB);
63  const TrackerTopology* pTT,
64  MonitorElement* combBarrel,
65  MonitorElement* chanBarrel,
66  std::vector<MonitorElement*>& chanBarrelL,
67  MonitorElement* combEndcap,
68  const bool modon,
69  const bool ladon,
70  const bool layon,
71  const bool phion,
72  const bool bladeon,
73  const bool diskon,
74  const bool ringon,
75  const bool twoD,
76  const bool reducedSet,
77  const bool twoDimModOn,
78  const bool twoDimOnlyLayDisk,
79  int& nDigisA,
80  int& nDigisB,
81  bool isUpgrade);
82  void
83  resetRocMap(); // This is to move the rocmap reset from the Source to the Module where the map is booked. Necessary for multithread safety.
84  std::pair<int, int> getZeroLoEffROCs(); // Moved from Souce.cc. Gets number of zero and low eff ROCs from each module.
85 private:
86  uint32_t id_;
87  int ncols_;
88  int nrows_;
94 
95  //barrel:
101 
109 
115 
116  //forward:
119 
125 
131 
132  //int nEventDigis_;
133 };
134 #endif
edm::DetSetVector< PixelDigi >
dqm::impl::MonitorElement
Definition: MonitorElement.h:99
SiPixelDigiModule::mePixDigisDisk_
MonitorElement * mePixDigisDisk_
Definition: SiPixelDigiModule.h:122
SiPixelDigiModule::mePixDigisLay_px_
MonitorElement * mePixDigisLay_px_
Definition: SiPixelDigiModule.h:107
hgcalPlots.ncols
ncols
Definition: hgcalPlots.py:104
SiPixelDigiModule::fill
int fill(const edm::DetSetVector< PixelDigi > &input, const TrackerTopology *pTT, 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:316
input
static const std::string input
Definition: EdmProvDump.cc:48
SiPixelDigiModule::resetRocMap
void resetRocMap()
Definition: SiPixelDigiModule.cc:593
SiPixelDigiModule::meZeroOccRocsLay_
MonitorElement * meZeroOccRocsLay_
Definition: SiPixelDigiModule.h:106
SiPixelDigiModule::mePixDigisLay_
MonitorElement * mePixDigisLay_
Definition: SiPixelDigiModule.h:104
SiPixelDigiModule::nrows_
int nrows_
Definition: SiPixelDigiModule.h:88
SiPixelOfflineDQM_source_cff.reducedSet
reducedSet
Definition: SiPixelOfflineDQM_source_cff.py:8
SiPixelDigiModule::mePixDigisPhi_py_
MonitorElement * mePixDigisPhi_py_
Definition: SiPixelDigiModule.h:114
SiPixelDigiModule::meNDigisLad_
MonitorElement * meNDigisLad_
Definition: SiPixelDigiModule.h:96
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelDigiModule::meADCLad_
MonitorElement * meADCLad_
Definition: SiPixelDigiModule.h:97
SiPixelDigiModule::meADCBlade_
MonitorElement * meADCBlade_
Definition: SiPixelDigiModule.h:118
SiPixelDigiModule::mePixDigisRing_py_
MonitorElement * mePixDigisRing_py_
Definition: SiPixelDigiModule.h:130
SiPixelDigiModule::meADCPhi_
MonitorElement * meADCPhi_
Definition: SiPixelDigiModule.h:111
SiPixelDigiModule::mePixDigisLad_py_
MonitorElement * mePixDigisLad_py_
Definition: SiPixelDigiModule.h:100
SiPixelDigiModule::mePixDigis_
MonitorElement * mePixDigis_
Definition: SiPixelDigiModule.h:91
DQMStore.h
SiPixelDigiModule::meNDigis_
MonitorElement * meNDigis_
Definition: SiPixelDigiModule.h:89
SiPixelDigiModule::meADCLay_
MonitorElement * meADCLay_
Definition: SiPixelDigiModule.h:103
PixelDigi.h
SiPixelDigiModule::id_
uint32_t id_
Definition: SiPixelDigiModule.h:86
SiPixelDigiModule::meADCDisk_
MonitorElement * meADCDisk_
Definition: SiPixelDigiModule.h:121
SiPixelDigiModule
Definition: SiPixelDigiModule.h:30
TrackerTopology.h
TrackerTopologyRcd.h
SiPixelDigiModule::meNDigisLay_
MonitorElement * meNDigisLay_
Definition: SiPixelDigiModule.h:102
dqm::legacy::DQMStore
Definition: DQMStore.h:728
SiPixelDigiModule::book
void book(const edm::ParameterSet &iConfig, const TrackerTopology *pTT, 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:39
SiPixelDigiModule::meNDigisPhi_
MonitorElement * meNDigisPhi_
Definition: SiPixelDigiModule.h:110
SiPixelDigiModule::mePixDigis_px_
MonitorElement * mePixDigis_px_
Definition: SiPixelDigiModule.h:92
SiPixelDigiModule::mePixDigisRing_px_
MonitorElement * mePixDigisRing_px_
Definition: SiPixelDigiModule.h:129
SiPixelDigiModule::mePixDigis_py_
MonitorElement * mePixDigis_py_
Definition: SiPixelDigiModule.h:93
SiPixelDigiModule::meZeroOccRocsDisk_
MonitorElement * meZeroOccRocsDisk_
Definition: SiPixelDigiModule.h:124
SiPixelDigiModule::DQMStore
dqm::reco::DQMStore DQMStore
Definition: SiPixelDigiModule.h:32
SiPixelDigiModule::mePixRocsDisk_
MonitorElement * mePixRocsDisk_
Definition: SiPixelDigiModule.h:123
SiPixelDigiModule::mePixDigisLay_py_
MonitorElement * mePixDigisLay_py_
Definition: SiPixelDigiModule.h:108
edm::ParameterSet
Definition: ParameterSet.h:47
SiPixelDigiModule::DigiIterator
edm::DetSet< PixelDigi >::const_iterator DigiIterator
Definition: SiPixelDigiModule.h:44
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
SiPixelDigiModule::mePixDigisRing_
MonitorElement * mePixDigisRing_
Definition: SiPixelDigiModule.h:128
SiPixelDigiModule::mePixRocsLay_
MonitorElement * mePixRocsLay_
Definition: SiPixelDigiModule.h:105
SiPixelOfflineDQM_source_cff.hiRes
hiRes
Definition: SiPixelOfflineDQM_source_cff.py:43
DetSetVector.h
SiPixelDigiModule::mePixDigisPhi_px_
MonitorElement * mePixDigisPhi_px_
Definition: SiPixelDigiModule.h:113
SiPixelDigiModule::mePixDigisLad_
MonitorElement * mePixDigisLad_
Definition: SiPixelDigiModule.h:98
SiPixelDigiModule::SiPixelDigiModule
SiPixelDigiModule()
Default constructor.
Definition: SiPixelDigiModule.cc:26
SiPixelDigiModule::meADCRing_
MonitorElement * meADCRing_
Definition: SiPixelDigiModule.h:127
SiPixelDigiModule::MonitorElement
dqm::reco::MonitorElement MonitorElement
Definition: SiPixelDigiModule.h:33
SiPixelDigiModule::meNDigisRing_
MonitorElement * meNDigisRing_
Definition: SiPixelDigiModule.h:126
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelDigiModule::meNDigisDisk_
MonitorElement * meNDigisDisk_
Definition: SiPixelDigiModule.h:120
SiPixelDigiModule::mePixDigisLad_px_
MonitorElement * mePixDigisLad_px_
Definition: SiPixelDigiModule.h:99
SiPixelDigiModule::ncols_
int ncols_
Definition: SiPixelDigiModule.h:87
SiPixelOfflineDQM_client_cff.isUpgrade
isUpgrade
Definition: SiPixelOfflineDQM_client_cff.py:19
SiPixelDigiModule::~SiPixelDigiModule
~SiPixelDigiModule()
Destructor.
Definition: SiPixelDigiModule.cc:35
SiPixelDigiModule::meADC_
MonitorElement * meADC_
Definition: SiPixelDigiModule.h:90
SiPixelOfflineDQM_source_cff.twoDimModOn
twoDimModOn
Definition: SiPixelOfflineDQM_source_cff.py:44
SiPixelDigiModule::mePixDigisPhi_
MonitorElement * mePixDigisPhi_
Definition: SiPixelDigiModule.h:112
SiPixelDigiModule::getZeroLoEffROCs
std::pair< int, int > getZeroLoEffROCs()
Definition: SiPixelDigiModule.cc:601
SiPixelOfflineDQM_source_cff.twoDimOnlyLayDisk
twoDimOnlyLayDisk
Definition: SiPixelOfflineDQM_source_cff.py:45
SiPixelDigiModule::meNDigisBlade_
MonitorElement * meNDigisBlade_
Definition: SiPixelDigiModule.h:117
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31