CMS 3D CMS Logo

SiPixelErrorsDigisToCalibDigis.h
Go to the documentation of this file.
1 #ifndef SiPixelErrorsDigisToCalibDigis_h
2 #define SiPixelErrorsDigisToCalibDigis_h
3 
10 // Original Author: Ricardo Vasquez Sierra on April 9, 2008
11 
12 // system include files
13 #include <memory>
14 
15 // user include files
18 
23 
26 
29 
32 
34 
37 
42 
44 
45 //
46 // class declaration
47 //
48 
50 public:
55 
56  MonitorElement* bookDQMHistogram2D(uint32_t detid,
59  int nchX,
60  double lowX,
61  double highX,
62  int nchY,
63  double lowY,
64  double highY);
65  MonitorElement* bookDQMHistoPlaquetteSummary2D(
66  uint32_t detid,
69  title); // take the detid to determine the size of rows and columns, this saves looking up everything in the cabling map by the user.
70 
72  bool setDQMDirectory(uint32_t detID); //automatically create directory hierachy based on DetID
73 protected:
75 
76 private:
77  void beginJob() override;
78  void analyze(const edm::Event&, const edm::EventSetup&) override;
79  void endJob() override;
80 
81  // ----------member data ---------------------------
82 
83  // store the number of error per detector id encountered
84  // store the location of the mismatching error in the detector id
85 
88 
89  DQMStore* daqBE_;
93 
95  std::map<uint32_t, MonitorElement*> SiPixelErrorsDigisToCalibDigis_2DErrorInformation_;
96 
97  MonitorElement* temp;
98 };
99 
100 #endif
MonitorElement * bookDQMHistogram2D(uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
dqm::legacy::MonitorElement MonitorElement
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
edm::ESHandle< TrackerGeometry > geom_