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);
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 
93 
95  std::map<uint32_t, MonitorElement*> SiPixelErrorsDigisToCalibDigis_2DErrorInformation_;
96 
98 };
99 
100 #endif
SiPixelErrorsDigisToCalibDigis::theHistogramIdWorker_
SiPixelHistogramId * theHistogramIdWorker_
Definition: SiPixelErrorsDigisToCalibDigis.h:90
TrackerGeometry.h
SiPixelErrorsDigisToCalibDigis::daqBE_
DQMStore * daqBE_
Definition: SiPixelErrorsDigisToCalibDigis.h:89
ESHandle.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
SiPixelErrorsDigisToCalibDigis::outputFilename_
std::string outputFilename_
Definition: SiPixelErrorsDigisToCalibDigis.h:91
SiPixelFedCablingMap.h
DQMStore.h
SiPixelHistogramId.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
SiPixelErrorsDigisToCalibDigis::~SiPixelErrorsDigisToCalibDigis
~SiPixelErrorsDigisToCalibDigis() override
Definition: SiPixelErrorsDigisToCalibDigis.cc:60
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
SiPixelErrorsDigisToCalibDigis::setDQMDirectory
bool setDQMDirectory(std::string dirName)
Definition: SiPixelErrorsDigisToCalibDigis.cc:157
MakerMacros.h
SiPixelErrorsDigisToCalibDigis::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiPixelErrorsDigisToCalibDigis.h:52
SiPixelErrorsDigisToCalibDigis::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiPixelErrorsDigisToCalibDigis.cc:70
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
Definition: SiPixelErrorsDigisToCalibDigis.cc:44
SiPixelErrorsDigisToCalibDigis::createOutputFile_
bool createOutputFile_
Definition: SiPixelErrorsDigisToCalibDigis.h:92
Service.h
SiPixelErrorsDigisToCalibDigis::siPixelProducerLabel_
edm::InputTag siPixelProducerLabel_
Definition: SiPixelErrorsDigisToCalibDigis.h:86
edm::ESHandle< TrackerGeometry >
SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)
Definition: SiPixelErrorsDigisToCalibDigis.cc:145
PixelGeomDetType.h
SiPixelCalibDigiError.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
SiPixelErrorsDigisToCalibDigis::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiPixelErrorsDigisToCalibDigis.h:51
SiPixelHistogramId
Definition: SiPixelHistogramId.h:25
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
Definition: SiPixelErrorsDigisToCalibDigis.h:95
SiPixelCalibDigi.h
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
SiPixelErrorsDigisToCalibDigis
Definition: SiPixelErrorsDigisToCalibDigis.h:49
InputTag.h
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
SiPixelErrorsDigisToCalibDigis::temp
MonitorElement * temp
Definition: SiPixelErrorsDigisToCalibDigis.h:97
DetId.h
Frameworkfwd.h
SiPixelFolderOrganizer
Definition: SiPixelFolderOrganizer.h:26
PixelGeomDetUnit.h
SiPixelErrorsDigisToCalibDigis::beginJob
void beginJob() override
Definition: SiPixelErrorsDigisToCalibDigis.cc:119
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:94
SiPixelFolderOrganizer.h
ParameterSet.h
SiPixelErrorsDigisToCalibDigis::geom_
edm::ESHandle< TrackerGeometry > geom_
Definition: SiPixelErrorsDigisToCalibDigis.h:74
SiPixelErrorsDigisToCalibDigis::endJob
void endJob() override
Definition: SiPixelErrorsDigisToCalibDigis.cc:122
edm::Event
Definition: Event.h:73
SiPixelErrorsDigisToCalibDigis::tPixelCalibDigiError
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
Definition: SiPixelErrorsDigisToCalibDigis.h:87
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:132