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 
7 
8 /* #include "CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h" */
9 
10 /* #include "CondFormats/SiStripObjects/interface/SiStripNoises.h" */
11 /* #include "CondFormats/DataRecord/interface/SiStripNoisesRcd.h" */
12 /* #include "CondFormats/SiStripObjects/interface/SiStripPedestals.h" */
13 /* #include "CondFormats/DataRecord/interface/SiStripPedestalsRcd.h" */
14 
15 /* #include "CondFormats/DataRecord/interface/SiStripBadStripRcd.h" */
16 /* #include "CondFormats/SiStripObjects/interface/SiStripBadStrip.h" */
17 
18 /* #include "CondFormats/SiStripObjects/interface/SiStripDetVOff.h" */
19 
20 
21 /* #include "CalibTracker/Records/interface/SiStripDetCablingRcd.h" */
22 /* #include "CalibFormats/SiStripObjects/interface/SiStripDetCabling.h" */
23 
26 
27 
28 
30 
31  public:
32 
33  SiStripQualityDQM(const edm::EventSetup & eSetup,
34  edm::ParameterSet const& hPSet,
35  edm::ParameterSet const& fPSet);
36 
37  virtual ~SiStripQualityDQM();
38 
39  void getActiveDetIds(const edm::EventSetup & eSetup);
40 
41  void fillModMEs(const std::vector<uint32_t> & selectedDetIds);
42  void fillMEsForDet(ModMEs selModME_,uint32_t selDetId_);
43 
44  void fillSummaryMEs(const std::vector<uint32_t> & selectedDetIds);
45  void fillMEsForLayer( std::map<uint32_t, ModMEs> selModMEsMap_, uint32_t selDetId_);
46  void fillGrandSummaryMEs();
47 
48 
49  unsigned long long getCache(const edm::EventSetup & eSetup){ return eSetup.get<SiStripQualityRcd>().cacheIdentifier();}
50 
51  void getConditionObject(const edm::EventSetup & eSetup){
54  }
55 
56  private:
57  std::string qualityLabel_ ;
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
int i
Definition: DBlmapReader.cc:9
int NBadComponent[4][19][4]
ADDITON OF TK_HISTO_MAP.
void fillMEsForLayer(std::map< uint32_t, ModMEs > selModMEsMap_, uint32_t selDetId_)
void fillModMEs(const std::vector< uint32_t > &selectedDetIds)
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)
void fillMEsForDet(ModMEs selModME_, uint32_t selDetId_)
virtual ~SiStripQualityDQM()
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds)
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)
SiStripQualityDQM(const edm::EventSetup &eSetup, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)