CMS 3D CMS Logo

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