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 
8 
9 #include <iostream>
10 #include <fstream>
11 #include <sstream>
12 #include <map>
13 #include <vector>
14 #include <string>
15 
17 class DQMStore;
18 class MonitorUserInterface;
21 class SiStripFedCabling;
22 class SiStripDetCabling;
24 
26 
27  public:
28 
30  virtual ~SiStripActionExecutor();
31 
32 
33  bool readConfiguration();
34  // bool readTkMapConfiguration();
35  bool readTkMapConfiguration(const edm::EventSetup& eSetup);
36 
37  void saveMEs(DQMStore * dqm_store, std::string fname);
38  void createSummary(DQMStore* dqm_store);
39  void createSummaryOffline(DQMStore* dqm_store);
40  void createTkMap(const edm::ParameterSet & tkmapPset,
41  DQMStore* dqm_store, std::string& map_type, const edm::EventSetup& eSetup);
42  void createOfflineTkMap(const edm::ParameterSet & tkmapPset,
43  DQMStore* dqm_store, std::string& map_type, const edm::EventSetup& eSetup);
44 
45  void createStatus(DQMStore* dqm_store);
46  void fillDummyStatus();
47  void fillStatus(DQMStore* dqm_store, const edm::ESHandle<SiStripDetCabling>& fedcabling, const edm::EventSetup& eSetup);
48  void fillStatusAtLumi(DQMStore* dqm_store);
49 
51  void createShiftReport(DQMStore * dqm_store);
52  void printReportSummary(MonitorElement* me, std::ostringstream& str_val, std::string name);
53  void printShiftHistoParameters(DQMStore * dqm_store,
54  std::map<std::string, std::vector<std::string> >&layout_map,std::ostringstream& str_val);
55  void printFaultyModuleList(DQMStore * dqm_store, std::ostringstream& str_val);
56  void createFaultyModuleMEs(DQMStore *dqm_store);
57 
58  private:
59 
60  std::vector<std::string> tkMapMENames;
61 
65 
67 
69 
70 };
71 #endif
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
void createTkMap(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
void createSummary(DQMStore *dqm_store)
SiStripActionExecutor(edm::ParameterSet const &ps)
void fillStatus(DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &fedcabling, const edm::EventSetup &eSetup)
bool readTkMapConfiguration(const edm::EventSetup &eSetup)
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 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)