CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
21 
24 
27 
29 
32 
37 
39 
40 //
41 // class declaration
42 //
43 
45 public:
50 
51  MonitorElement* bookDQMHistogram2D(uint32_t detid,
54  int nchX,
55  double lowX,
56  double highX,
57  int nchY,
58  double lowY,
59  double highY);
61  uint32_t detid,
64  title); // take the detid to determine the size of rows and columns, this saves looking up everything in the cabling map by the user.
65 
67  bool setDQMDirectory(uint32_t detID); //automatically create directory hierachy based on DetID
68 protected:
70 
72 
73 private:
74  void analyze(const edm::Event&, const edm::EventSetup&) override;
75  void endJob() override;
76 
77  // ----------member data ---------------------------
78 
79  // store the number of error per detector id encountered
80  // store the location of the mismatching error in the detector id
81 
84 
89 
91  std::map<uint32_t, MonitorElement*> SiPixelErrorsDigisToCalibDigis_2DErrorInformation_;
92 
94 };
95 
96 #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_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
edm::ESHandle< TrackerGeometry > geom_