CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
13 // system include files
14 #include <memory>
15 
16 // user include files
19 
24 
27 
30 
33 
36 
39 
44 
46 
47 //
48 // class declaration
49 //
50 
52  public:
55 
56  MonitorElement* bookDQMHistogram2D(uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY);
57  MonitorElement* bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name,std::string title); // take the detid to determine the size of rows and columns, this saves looking up everything in the cabling map by the user.
58 
60  bool setDQMDirectory(uint32_t detID); //automatically create directory hierachy based on DetID
61  protected:
62 
64 
65  private:
66  virtual void beginJob() ;
67  virtual void analyze(const edm::Event&, const edm::EventSetup&);
68  virtual void endJob() ;
69 
70  // ----------member data ---------------------------
71 
72  // store the number of error per detector id encountered
73  // store the location of the mismatching error in the detector id
74 
77 
82 
84  std::map<uint32_t, MonitorElement*> SiPixelErrorsDigisToCalibDigis_2DErrorInformation_;
85 
87 };
88 
89 #endif
MonitorElement * bookDQMHistogram2D(uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
edm::ESHandle< TrackerGeometry > geom_
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)