test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::ParameterSet const& hPSet,
34  edm::ParameterSet const& fPSet);
35 
36  virtual ~SiStripQualityDQM();
37 
38  void getActiveDetIds(const edm::EventSetup & eSetup);
39 
40  void fillModMEs(const std::vector<uint32_t> & selectedDetIds, const edm::EventSetup& es);
41  void fillMEsForDet(const ModMEs& selModME_,uint32_t selDetId_, const TrackerTopology* tTopo);
42 
43  void fillSummaryMEs(const std::vector<uint32_t> & selectedDetIds, const edm::EventSetup& es);
44  void fillMEsForLayer( /*std::map<uint32_t, ModMEs> selModMEsMap_, */ uint32_t selDetId_, const TrackerTopology* tTopo);
45  void fillGrandSummaryMEs(const edm::EventSetup& eSetup);
46 
47 
48  unsigned long long getCache(const edm::EventSetup & eSetup){ return eSetup.get<SiStripQualityRcd>().cacheIdentifier();}
49 
50  void getConditionObject(const edm::EventSetup & eSetup){
53  }
54 
55  private:
58  int NTkBadComponent[4]; //k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
59  int NBadComponent[4][19][4];
60  std::stringstream ssV[4][19];
61  void SetBadComponents(int i, int component,SiStripQuality::BadComponent& BC);
62 
63  std::vector<uint32_t> alreadyFilledLayers;
64 };
65 
66 #endif
int i
Definition: DBlmapReader.cc:9
void fillGrandSummaryMEs(const edm::EventSetup &eSetup)
int NBadComponent[4][19][4]
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
void getActiveDetIds(const edm::EventSetup &eSetup)
std::stringstream ssV[4][19]
unsigned long long getCache(const edm::EventSetup &eSetup)
unsigned long long cacheID_memory
void SetBadComponents(int i, int component, SiStripQuality::BadComponent &BC)
virtual ~SiStripQualityDQM()
const T & get() const
Definition: EventSetup.h:55
std::vector< uint32_t > alreadyFilledLayers
std::string qualityLabel_
edm::ESHandle< SiStripQuality > qualityHandle_
unsigned long long cacheID_current
void getConditionObject(const edm::EventSetup &eSetup)
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo)
SiStripQualityDQM(const edm::EventSetup &eSetup, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo)