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 
8 
9 class SiStripQualityDQM : public SiStripBaseCondObjDQMGet<SiStripQuality, SiStripQualityRcd> {
10 public:
12  edm::RunNumber_t iRun,
13  edm::ParameterSet const &hPSet,
14  edm::ParameterSet const &fPSet,
15  const TrackerTopology *tTopo,
16  const TkDetMap *tkDetMap);
17 
18  ~SiStripQualityDQM() override;
19 
20  void getActiveDetIds(const edm::EventSetup &eSetup) override;
21 
22  void fillModMEs(const std::vector<uint32_t> &selectedDetIds) override;
23  void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_) override;
24 
25  void fillSummaryMEs(const std::vector<uint32_t> &selectedDetIds) override;
26  void fillMEsForLayer(
27  /*std::map<uint32_t, ModMEs> selModMEsMap_, */ uint32_t selDetId_) override;
28  void fillGrandSummaryMEs();
29 
30 private:
31  int NTkBadComponent[4]; // k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
32  int NBadComponent[4][19][4];
33  std::stringstream ssV[4][19];
34  void SetBadComponents(int i, int component, SiStripQuality::BadComponent &BC);
35 
36  std::vector<uint32_t> alreadyFilledLayers;
37 };
38 
39 #endif
SiStripQualityDQM::SiStripQualityDQM
SiStripQualityDQM(edm::ESGetToken< SiStripQuality, SiStripQualityRcd > token, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet, const TrackerTopology *tTopo, const TkDetMap *tkDetMap)
Definition: SiStripQualityDQM.cc:5
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
mps_fire.i
i
Definition: mps_fire.py:428
SiStripQualityDQM::getActiveDetIds
void getActiveDetIds(const edm::EventSetup &eSetup) override
Definition: SiStripQualityDQM.cc:19
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityDQM::NTkBadComponent
int NTkBadComponent[4]
Definition: SiStripQualityDQM.h:31
SiStripQualityDQM::NBadComponent
int NBadComponent[4][19][4]
Definition: SiStripQualityDQM.h:32
SiStripQualityDQM::fillSummaryMEs
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds) override
Definition: SiStripQualityDQM.cc:44
SiStripQualityDQM::SetBadComponents
void SetBadComponents(int i, int component, SiStripQuality::BadComponent &BC)
Definition: SiStripQualityDQM.cc:422
SiStripBaseCondObjDQM.h
TkDetMap
Definition: TkDetMap.h:175
SiStripBaseCondObjDQMGet
Definition: SiStripBaseCondObjDQM.h:148
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripQualityDQM::alreadyFilledLayers
std::vector< uint32_t > alreadyFilledLayers
Definition: SiStripQualityDQM.h:36
SiStripQualityDQM::ssV
std::stringstream ssV[4][19]
Definition: SiStripQualityDQM.h:33
SiStripQualityDQM::fillModMEs
void fillModMEs(const std::vector< uint32_t > &selectedDetIds) override
Definition: SiStripQualityDQM.cc:24
SiStripQualityDQM::fillMEsForDet
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_) override
Definition: SiStripQualityDQM.cc:31
edm::EventSetup
Definition: EventSetup.h:58
SiStripQualityDQM::fillGrandSummaryMEs
void fillGrandSummaryMEs()
Definition: SiStripQualityDQM.cc:144
edm::ESGetToken< SiStripQuality, SiStripQualityRcd >
SiStripBaseCondObjDQM::ModMEs
Definition: SiStripBaseCondObjDQM.h:64
SiStripQuality::BadComponent
Definition: SiStripQuality.h:34
SiStripQuality.h
SiStripQualityRcd.h
SiStripQualityDQM
Definition: SiStripQualityDQM.h:9
SiStripQualityDQM::~SiStripQualityDQM
~SiStripQualityDQM() override
Definition: SiStripQualityDQM.cc:17
SiStripQualityDQM::fillMEsForLayer
void fillMEsForLayer(uint32_t selDetId_) override
Definition: SiStripQualityDQM.cc:64
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316