CMS 3D CMS Logo

SiStripQualityDQM.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorSummary_SiStripQualityDQM_h
2 #define SiStripMonitorSummary_SiStripQualityDQM_h
3 
5 
6 /* #include "CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h" */
7 
8 /* #include "CondFormats/SiStripObjects/interface/SiStripNoises.h" */
9 /* #include "CondFormats/DataRecord/interface/SiStripNoisesRcd.h" */
10 /* #include "CondFormats/SiStripObjects/interface/SiStripPedestals.h" */
11 /* #include "CondFormats/DataRecord/interface/SiStripPedestalsRcd.h" */
12 
13 /* #include "CondFormats/DataRecord/interface/SiStripBadStripRcd.h" */
14 /* #include "CondFormats/SiStripObjects/interface/SiStripBadStrip.h" */
15 
16 /* #include "CondFormats/SiStripObjects/interface/SiStripDetVOff.h" */
17 
18 /* #include "CalibTracker/Records/interface/SiStripDetCablingRcd.h" */
19 /* #include "CalibFormats/SiStripObjects/interface/SiStripDetCabling.h" */
20 
23 
25 public:
26  SiStripQualityDQM(const edm::EventSetup &eSetup,
27  edm::RunNumber_t iRun,
28  edm::ParameterSet const &hPSet,
29  edm::ParameterSet const &fPSet);
30 
31  ~SiStripQualityDQM() override;
32 
33  void getActiveDetIds(const edm::EventSetup &eSetup) override;
34 
35  void fillModMEs(const std::vector<uint32_t> &selectedDetIds, const edm::EventSetup &es) override;
36  void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo) override;
37 
38  void fillSummaryMEs(const std::vector<uint32_t> &selectedDetIds, const edm::EventSetup &es) override;
39  void fillMEsForLayer(
40  /*std::map<uint32_t, ModMEs> selModMEsMap_, */ uint32_t selDetId_, const TrackerTopology *tTopo) override;
41  void fillGrandSummaryMEs(const edm::EventSetup &eSetup);
42 
43  unsigned long long getCache(const edm::EventSetup &eSetup) override {
44  return eSetup.get<SiStripQualityRcd>().cacheIdentifier();
45  }
46 
47  void getConditionObject(const edm::EventSetup &eSetup) override {
50  }
51 
52 private:
55  int NTkBadComponent[4]; // k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
56  int NBadComponent[4][19][4];
57  std::stringstream ssV[4][19];
58  void SetBadComponents(int i, int component, SiStripQuality::BadComponent &BC);
59 
60  std::vector<uint32_t> alreadyFilledLayers;
61 };
62 
63 #endif
void fillGrandSummaryMEs(const edm::EventSetup &eSetup)
int NBadComponent[4][19][4]
SiStripQualityDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
std::stringstream ssV[4][19]
unsigned long long cacheID_memory
void SetBadComponents(int i, int component, SiStripQuality::BadComponent &BC)
void getConditionObject(const edm::EventSetup &eSetup) override
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
unsigned long long getCache(const edm::EventSetup &eSetup) override
std::vector< uint32_t > alreadyFilledLayers
~SiStripQualityDQM() override
T get() const
Definition: EventSetup.h:71
std::string qualityLabel_
unsigned int RunNumber_t
edm::ESHandle< SiStripQuality > qualityHandle_
unsigned long long cacheID_current
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo) override
void getActiveDetIds(const edm::EventSetup &eSetup) override