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
SiStripQualityDQM::fillMEsForDet
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo) override
Definition: SiStripQualityDQM.cc:53
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
SiStripQualityDQM::SiStripQualityDQM
SiStripQualityDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
Definition: SiStripQualityDQM.cc:7
mps_fire.i
i
Definition: mps_fire.py:355
SiStripQualityDQM::fillSummaryMEs
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
Definition: SiStripQualityDQM.cc:69
SiStripQualityDQM::getActiveDetIds
void getActiveDetIds(const edm::EventSetup &eSetup) override
Definition: SiStripQualityDQM.cc:28
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityDQM::NTkBadComponent
int NTkBadComponent[4]
Definition: SiStripQualityDQM.h:55
SiStripQualityDQM::NBadComponent
int NBadComponent[4][19][4]
Definition: SiStripQualityDQM.h:56
SiStripBaseCondObjDQM
Definition: SiStripBaseCondObjDQM.h:37
SiStripQualityDQM::fillModMEs
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
Definition: SiStripQualityDQM.cc:36
SiStripQualityDQM::SetBadComponents
void SetBadComponents(int i, int component, SiStripQuality::BadComponent &BC)
Definition: SiStripQualityDQM.cc:468
SiStripBaseCondObjDQM.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
SiStripQualityRcd
Definition: SiStripDependentRecords.h:56
edm::ESHandle< SiStripQuality >
SiStripBaseCondObjDQM::cacheID_memory
unsigned long long cacheID_memory
Definition: SiStripBaseCondObjDQM.h:126
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripQualityDQM::alreadyFilledLayers
std::vector< uint32_t > alreadyFilledLayers
Definition: SiStripQualityDQM.h:60
SiStripQualityDQM::getConditionObject
void getConditionObject(const edm::EventSetup &eSetup) override
Definition: SiStripQualityDQM.h:47
SiStripQualityDQM::ssV
std::stringstream ssV[4][19]
Definition: SiStripQualityDQM.h:57
SiStripQualityDQM::getCache
unsigned long long getCache(const edm::EventSetup &eSetup) override
Definition: SiStripQualityDQM.h:43
edm::EventSetup
Definition: EventSetup.h:57
get
#define get
SiStripBaseCondObjDQM::ModMEs
Definition: SiStripBaseCondObjDQM.h:70
SiStripQualityDQM::fillMEsForLayer
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
Definition: SiStripQualityDQM.cc:98
SiStripQuality::BadComponent
Definition: SiStripQuality.h:34
SiStripQualityDQM::qualityLabel_
std::string qualityLabel_
Definition: SiStripQualityDQM.h:53
SiStripQuality.h
SiStripQualityRcd.h
SiStripQualityDQM::qualityHandle_
edm::ESHandle< SiStripQuality > qualityHandle_
Definition: SiStripQualityDQM.h:54
SiStripQualityDQM
Definition: SiStripQualityDQM.h:24
SiStripQualityDQM::fillGrandSummaryMEs
void fillGrandSummaryMEs(const edm::EventSetup &eSetup)
Definition: SiStripQualityDQM.cc:182
SiStripQualityDQM::~SiStripQualityDQM
~SiStripQualityDQM() override
Definition: SiStripQualityDQM.cc:24
SiStripBaseCondObjDQM::cacheID_current
unsigned long long cacheID_current
Definition: SiStripBaseCondObjDQM.h:127