CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripActionExecutor.h
Go to the documentation of this file.
1 #ifndef _SiStripActionExecutor_h_
2 #define _SiStripActionExecutor_h_
3 
7 
8 #include <iostream>
9 #include <fstream>
10 #include <sstream>
11 #include <map>
12 #include <vector>
13 #include <string>
14 
16 class DQMStore;
17 class MonitorUserInterface;
20 class SiStripFedCabling;
21 class SiStripDetCabling;
23 
25 
26  public:
27 
29  virtual ~SiStripActionExecutor();
30 
31 
32  bool readConfiguration();
34 
35  void saveMEs(DQMStore * dqm_store, std::string fname);
36  void createSummary(DQMStore* dqm_store);
37  void createSummaryOffline(DQMStore* dqm_store);
38  void createTkMap(const edm::ParameterSet & tkmapPset,
39  const edm::ESHandle<SiStripFedCabling>& fedcabling,
40  DQMStore* dqm_store, std::string& map_type);
41  void createOfflineTkMap(const edm::ParameterSet & tkmapPset,
42  DQMStore* dqm_store, std::string& map_type);
43 
44  void createStatus(DQMStore* dqm_store);
45  void fillDummyStatus();
46  void fillStatus(DQMStore* dqm_store, const edm::ESHandle<SiStripDetCabling>& fedcabling);
47  void fillStatusAtLumi(DQMStore* dqm_store);
48 
50  void createShiftReport(DQMStore * dqm_store);
51  void printReportSummary(MonitorElement* me, std::ostringstream& str_val, std::string name);
52  void printShiftHistoParameters(DQMStore * dqm_store,
53  std::map<std::string, std::vector<std::string> >&layout_map,std::ostringstream& str_val);
54  void printFaultyModuleList(DQMStore * dqm_store, std::ostringstream& str_val);
55  void createFaultyModuleMEs(DQMStore *dqm_store);
56 
57  private:
58 
59  std::vector<std::string> tkMapMENames;
60 
64 
66 
68 
69 };
70 #endif
void createTkMap(const edm::ParameterSet &tkmapPset, const edm::ESHandle< SiStripFedCabling > &fedcabling, DQMStore *dqm_store, std::string &map_type)
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &map_type)
void createSummary(DQMStore *dqm_store)
SiStripActionExecutor(edm::ParameterSet const &ps)
void createStatus(DQMStore *dqm_store)
SiStripSummaryCreator * summaryCreator_
void createFaultyModuleMEs(DQMStore *dqm_store)
std::vector< std::string > tkMapMENames
void createShiftReport(DQMStore *dqm_store)
SiStripConfigWriter * configWriter_
SiStripTrackerMapCreator * tkMapCreator_
void fillStatus(DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &fedcabling)
void fillStatusAtLumi(DQMStore *dqm_store)
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
void printShiftHistoParameters(DQMStore *dqm_store, std::map< std::string, std::vector< std::string > > &layout_map, std::ostringstream &str_val)
string fname
main script
void saveMEs(DQMStore *dqm_store, std::string fname)
void createSummaryOffline(DQMStore *dqm_store)
void printReportSummary(MonitorElement *me, std::ostringstream &str_val, std::string name)
SiStripQualityChecker * qualityChecker_
void printFaultyModuleList(DQMStore *dqm_store, std::ostringstream &str_val)