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 #include <TTree.h>
16 
18 class DQMStore;
19 class MonitorUserInterface;
22 class SiStripFedCabling;
23 class SiStripDetCabling;
26 
28 
29  public:
30 
32  virtual ~SiStripActionExecutor();
33 
34 
35  bool readConfiguration();
36  // bool readTkMapConfiguration();
37  bool readTkMapConfiguration(const edm::EventSetup& eSetup);
38 
39  void saveMEs(DQMStore * dqm_store, std::string fname);
40  void createSummary(DQMStore* dqm_store);
41  void createSummaryOffline(DQMStore* dqm_store);
42  void createTkMap(const edm::ParameterSet & tkmapPset,
43  DQMStore* dqm_store, std::string& map_type, const edm::EventSetup& eSetup);
44  void createOfflineTkMap(const edm::ParameterSet & tkmapPset,
45  DQMStore* dqm_store, std::string& map_type, const edm::EventSetup& eSetup);
46  void createTkInfoFile(std::vector<std::string> tkhmap_names, TTree* tkinfo_tree, DQMStore* dqm_store);
47 
48  void createStatus(DQMStore* dqm_store);
49  void fillDummyStatus();
50  void fillStatus(DQMStore* dqm_store, const edm::ESHandle<SiStripDetCabling>& fedcabling, const edm::EventSetup& eSetup);
51  void fillStatusAtLumi(DQMStore* dqm_store);
52 
54  void createShiftReport(DQMStore * dqm_store);
55  void printReportSummary(MonitorElement* me, std::ostringstream& str_val, std::string name);
56  void printShiftHistoParameters(DQMStore * dqm_store,
57  std::map<std::string, std::vector<std::string> >&layout_map,std::ostringstream& str_val);
58  void printFaultyModuleList(DQMStore * dqm_store, std::ostringstream& str_val);
59  void createFaultyModuleMEs(DQMStore *dqm_store);
60 
61  private:
62 
63  std::vector<std::string> tkMapMENames;
64 
68 
70 
72 
74 
75 };
76 #endif
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
SiStripDetInfoFileReader * detInfoFileReader_
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 createTkInfoFile(std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore *dqm_store)
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)