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 
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 beginJob() override;
75  void analyze(const edm::Event&, const edm::EventSetup&) override;
76  void endJob() override;
77 
78  // ----------member data ---------------------------
79 
80  // store the number of error per detector id encountered
81  // store the location of the mismatching error in the detector id
82 
85 
90 
92  std::map<uint32_t, MonitorElement*> SiPixelErrorsDigisToCalibDigis_2DErrorInformation_;
93 
95 };
96 
97 #endif
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
SiPixelErrorsDigisToCalibDigis::theHistogramIdWorker_
SiPixelHistogramId * theHistogramIdWorker_
Definition: SiPixelErrorsDigisToCalibDigis.h:87
TrackerGeometry.h
SiPixelErrorsDigisToCalibDigis::daqBE_
DQMStore * daqBE_
Definition: SiPixelErrorsDigisToCalibDigis.h:86
edm::EDGetTokenT
Definition: EDGetToken.h:33
SiPixelErrorsDigisToCalibDigis::outputFilename_
std::string outputFilename_
Definition: SiPixelErrorsDigisToCalibDigis.h:88
SiPixelFedCablingMap.h
DQMStore.h
SiPixelHistogramId.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
SiPixelErrorsDigisToCalibDigis::~SiPixelErrorsDigisToCalibDigis
~SiPixelErrorsDigisToCalibDigis() override
Definition: SiPixelErrorsDigisToCalibDigis.cc:56
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiPixelErrorsDigisToCalibDigis::setDQMDirectory
bool setDQMDirectory(std::string dirName)
Definition: SiPixelErrorsDigisToCalibDigis.cc:153
SiPixelErrorsDigisToCalibDigis::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiPixelErrorsDigisToCalibDigis.h:47
SiPixelErrorsDigisToCalibDigis::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiPixelErrorsDigisToCalibDigis.cc:66
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
Definition: SiPixelErrorsDigisToCalibDigis.cc:38
SiPixelErrorsDigisToCalibDigis::createOutputFile_
bool createOutputFile_
Definition: SiPixelErrorsDigisToCalibDigis.h:89
Service.h
SiPixelErrorsDigisToCalibDigis::siPixelProducerLabel_
edm::InputTag siPixelProducerLabel_
Definition: SiPixelErrorsDigisToCalibDigis.h:83
edm::ESHandle< TrackerGeometry >
SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)
Definition: SiPixelErrorsDigisToCalibDigis.cc:141
PixelGeomDetType.h
SiPixelCalibDigiError.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
SiPixelErrorsDigisToCalibDigis::trackerGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
Definition: SiPixelErrorsDigisToCalibDigis.h:71
SiPixelErrorsDigisToCalibDigis::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiPixelErrorsDigisToCalibDigis.h:46
SiPixelHistogramId
Definition: SiPixelHistogramId.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
Definition: SiPixelErrorsDigisToCalibDigis.h:92
SiPixelCalibDigi.h
edm::EventSetup
Definition: EventSetup.h:58
DetSetVector.h
SiPixelErrorsDigisToCalibDigis
Definition: SiPixelErrorsDigisToCalibDigis.h:44
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
SiPixelErrorsDigisToCalibDigis::temp
MonitorElement * temp
Definition: SiPixelErrorsDigisToCalibDigis.h:94
DetId.h
Frameworkfwd.h
SiPixelFolderOrganizer
Definition: SiPixelFolderOrganizer.h:26
PixelGeomDetUnit.h
SiPixelErrorsDigisToCalibDigis::beginJob
void beginJob() override
Definition: SiPixelErrorsDigisToCalibDigis.cc:115
TrackerOfflineValidation_Dqm_cff.dirName
dirName
Definition: TrackerOfflineValidation_Dqm_cff.py:55
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
SiPixelErrorsDigisToCalibDigis::folderMaker_
SiPixelFolderOrganizer * folderMaker_
Definition: SiPixelErrorsDigisToCalibDigis.h:91
SiPixelFolderOrganizer.h
SiPixelErrorsDigisToCalibDigis::geom_
edm::ESHandle< TrackerGeometry > geom_
Definition: SiPixelErrorsDigisToCalibDigis.h:69
SiPixelErrorsDigisToCalibDigis::endJob
void endJob() override
Definition: SiPixelErrorsDigisToCalibDigis.cc:118
edm::Event
Definition: Event.h:73
SiPixelErrorsDigisToCalibDigis::tPixelCalibDigiError
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
Definition: SiPixelErrorsDigisToCalibDigis.h:84
edm::InputTag
Definition: InputTag.h:15
SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D
MonitorElement * bookDQMHistogram2D(uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Definition: SiPixelErrorsDigisToCalibDigis.cc:128