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 
32 #include <boost/cstdint.hpp>
33 
44 
46 
47  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, 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);
63 // int fill(const edm::DetSetVector<PixelDigi> & input, bool modon=true,
64 // bool ladon=false, bool layon=false, bool phion=false,
65 // bool bladeon=false, bool diskon=false, bool ringon=false,
66 // bool twoD=true, bool reducedSet=false, bool twoDimModOn = true, bool twoDimOnlyLayDisk = false,
67 // int &nDigisA, int &nDigisB);
68  int fill(const edm::DetSetVector<PixelDigi>& input, const edm::EventSetup& iSetup,
69  MonitorElement* combBarrel, MonitorElement* chanBarrel, std::vector<MonitorElement*>& chanBarrelL, MonitorElement* combEndcap,
70  const bool modon, const bool ladon, const bool layon, const bool phion,
71  const bool bladeon, const bool diskon, const bool ringon,
72  const bool twoD, const bool reducedSet, const bool twoDimModOn, const bool twoDimOnlyLayDisk,
73  int &nDigisA, int &nDigisB, bool isUpgrade);
74  void resetRocMap(); // This is to move the rocmap reset from the Source to the Module where the map is booked. Necessary for multithread safety.
75  std::pair<int,int> getZeroLoEffROCs(); // Moved from Souce.cc. Gets number of zero and low eff ROCs from each module.
76  private:
77 
78  uint32_t id_;
79  int ncols_;
80  int nrows_;
86 
87  //barrel:
93 
101 
107 
108  //forward:
111 
117 
123 
124  //int nEventDigis_;
125 
126 };
127 #endif
type
Definition: HCALResponse.h:21
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:48
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_
MonitorElement * meNDigisLay_
SiPixelDigiModule()
Default constructor.
MonitorElement * mePixDigisLad_
MonitorElement * meADCLay_
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.
MonitorElement * mePixDigis_px_
MonitorElement * mePixDigisLad_px_
MonitorElement * mePixDigisLay_
MonitorElement * meNDigisPhi_
MonitorElement * meZeroOccRocsDisk_
MonitorElement * mePixDigisRing_
MonitorElement * meADCPhi_
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.
MonitorElement * mePixDigisPhi_
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
MonitorElement * meNDigisDisk_
MonitorElement * meNDigisLad_
MonitorElement * mePixDigisLay_px_