CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
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.
MonitorElement * meNDigisRing_
MonitorElement * mePixDigisLad_py_
MonitorElement * mePixDigis_
MonitorElement * mePixDigisPhi_py_
MonitorElement * meADCRing_
MonitorElement * meNDigis_
MonitorElement * mePixDigisRing_px_
MonitorElement * mePixDigis_py_
std::pair< int, int > getZeroLoEffROCs()
~SiPixelDigiModule()
Destructor.
MonitorElement * meADC_
MonitorElement * mePixDigisDisk_
static std::string const input
Definition: EdmProvDump.cc:47
MonitorElement * meNDigisBlade_
MonitorElement * meADCDisk_
edm::DetSet< PixelDigi >::const_iterator DigiIterator
MonitorElement * mePixDigisPhi_px_
MonitorElement * mePixDigisRing_py_
MonitorElement * mePixRocsDisk_
MonitorElement * mePixRocsLay_
MonitorElement * meZeroOccRocsLay_
MonitorElement * mePixDigisLay_py_
MonitorElement * meADCLad_
MonitorElement * meADCBlade_
dqm::reco::DQMStore DQMStore
MonitorElement * meNDigisLay_
dqm::reco::MonitorElement MonitorElement
SiPixelDigiModule()
Default constructor.
MonitorElement * mePixDigisLad_
MonitorElement * meADCLay_
MonitorElement * mePixDigis_px_
MonitorElement * mePixDigisLad_px_
MonitorElement * mePixDigisLay_
MonitorElement * meNDigisPhi_
MonitorElement * meZeroOccRocsDisk_
MonitorElement * mePixDigisRing_
MonitorElement * meADCPhi_
MonitorElement * mePixDigisPhi_
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.
collection_type::const_iterator const_iterator
Definition: DetSet.h:31
MonitorElement * meNDigisDisk_
MonitorElement * meNDigisLad_
MonitorElement * mePixDigisLay_px_