CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripQualityChecker.h
Go to the documentation of this file.
1 #ifndef _SiStripQualityChecker_h_
2 #define _SiStripQualityChecker_h_
3 
8 
9 #include <iostream>
10 #include <fstream>
11 #include <sstream>
12 #include <map>
13 #include <vector>
14 #include <string>
15 
16 class DQMStore;
17 class MonitorElement;
18 class TkDetMap;
19 class SiStripDetCabling;
20 
22 
23  public:
24 
25 
27  virtual ~SiStripQualityChecker();
28 
29 
30  void bookStatus(DQMStore* dqm_store);
31  void resetStatus();
32  void fillDummyStatus();
33  void fillStatus(DQMStore* dqm_store, const edm::ESHandle< SiStripDetCabling >& cabling, const edm::EventSetup& eSetup);
34  void fillStatusAtLumi(DQMStore* dqm_store);
35  void printStatusReport();
36  void fillFaultyModuleStatus(DQMStore* dqm_store, const edm::EventSetup& eSetup);
37 
38  private:
39 
40  struct SubDetMEs{
45  };
46 
47  void fillDetectorStatus(DQMStore* dqm_store, const edm::ESHandle< SiStripDetCabling >& cabling);
48  void fillSubDetStatus(DQMStore* dqm_store,const edm::ESHandle< SiStripDetCabling >& cabling, SubDetMEs& mes, unsigned int xbin,float& gflag);
49  void getModuleStatus(DQMStore* dqm_store, std::vector<MonitorElement*>& layer_mes, int& errdet);
50 
51  void fillStatusHistogram(MonitorElement*, int xbin, int ybin, float val);
53 
54  void fillDetectorStatusAtLumi(DQMStore* dqm_store);
55 
56  std::map<std::string, SubDetMEs> SubDetMEsMap;
57  std::map<std::string, std::string> SubDetFolderMap;
58 
62 
64 
66 
68 
69  std::map<uint32_t,uint16_t> badModuleList;
70 
72 
76 
78 
82 
83 };
84 #endif
void fillStatus(DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &cabling, const edm::EventSetup &eSetup)
void bookStatus(DQMStore *dqm_store)
void fillDetectorStatusAtLumi(DQMStore *dqm_store)
void fillDetectorStatus(DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &cabling)
std::map< std::string, std::string > SubDetFolderMap
void getModuleStatus(DQMStore *dqm_store, std::vector< MonitorElement * > &layer_mes, int &errdet)
SiStripQualityChecker(edm::ParameterSet const &ps)
std::map< std::string, SubDetMEs > SubDetMEsMap
void fillFaultyModuleStatus(DQMStore *dqm_store, const edm::EventSetup &eSetup)
MonitorElement * DetFractionReportMap
MonitorElement * TrackSummaryReportGlobal
void fillStatusAtLumi(DQMStore *dqm_store)
MonitorElement * SummaryReportMap
MonitorElement * SummaryReportGlobal
MonitorElement * SToNReportMap
MonitorElement * TrackSummaryReportMap
std::map< uint32_t, uint16_t > badModuleList
void fillSubDetStatus(DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &cabling, SubDetMEs &mes, unsigned int xbin, float &gflag)
void fillStatusHistogram(MonitorElement *, int xbin, int ybin, float val)