CMS 3D CMS Logo

SiStripActionExecutor.h
Go to the documentation of this file.
1 #ifndef _SiStripActionExecutor_h_
2 #define _SiStripActionExecutor_h_
3 
8 
10 
14 
15 #include <map>
16 #include <vector>
17 #include <string>
18 #include <TTree.h>
19 
20 class MonitorUserInterface;
21 class SiStripFedCabling;
22 class SiStripDetCabling;
23 
25 public:
28 
30  virtual ~SiStripActionExecutor();
31 
32  bool readConfiguration();
33  bool readTkMapConfiguration(const edm::EventSetup& eSetup);
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  DQMStore& dqm_store,
40  std::string& map_type,
41  const edm::EventSetup& eSetup);
42  void createOfflineTkMap(const edm::ParameterSet& tkmapPset,
43  DQMStore& dqm_store,
44  std::string& map_type,
45  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,
51  edm::ESHandle<SiStripDetCabling> const& fedcabling,
52  edm::EventSetup const& eSetup);
53  void fillStatusAtLumi(DQMStore& dqm_store);
54 
56  void createShiftReport(DQMStore& dqm_store);
57  void printReportSummary(MonitorElement* me, std::ostringstream& str_val, std::string name);
58  void printShiftHistoParameters(DQMStore& dqm_store,
59  std::map<std::string, std::vector<std::string>> const& layout_map,
60  std::ostringstream& str_val);
61  void printFaultyModuleList(DQMStore& dqm_store, std::ostringstream& str_val);
62  void createFaultyModuleMEs(DQMStore& dqm_store);
63 
64 private:
65  std::vector<std::string> tkMapMENames{};
66 
67  std::unique_ptr<SiStripSummaryCreator> summaryCreator_{nullptr};
68  std::unique_ptr<SiStripTrackerMapCreator> tkMapCreator_{nullptr};
69  std::unique_ptr<SiStripQualityChecker> qualityChecker_{nullptr};
70  std::unique_ptr<SiStripConfigWriter> configWriter_{nullptr};
71 
73 };
74 #endif
ESHandle.h
SiStripTrackerMapCreator.h
SiStripActionExecutor::fillStatusAtLumi
void fillStatusAtLumi(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:122
SiStripActionExecutor::summaryCreator_
std::unique_ptr< SiStripSummaryCreator > summaryCreator_
Definition: SiStripActionExecutor.h:67
SiStripQualityChecker.h
SiStripActionExecutor::SiStripActionExecutor
SiStripActionExecutor(edm::ParameterSet const &ps)
Definition: SiStripActionExecutor.cc:19
SiStripSummaryCreator.h
SiStripActionExecutor::createTkInfoFile
void createTkInfoFile(std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:96
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
SiStripConfigWriter.h
SiStripActionExecutor::createSummaryOffline
void createSummaryOffline(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:62
SiStripActionExecutor::printFaultyModuleList
void printFaultyModuleList(DQMStore &dqm_store, std::ostringstream &str_val)
Definition: SiStripActionExecutor.cc:241
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
SiStripActionExecutor::printReportSummary
void printReportSummary(MonitorElement *me, std::ostringstream &str_val, std::string name)
Definition: SiStripActionExecutor.cc:187
SiStripActionExecutor::fillStatus
void fillStatus(DQMStore &dqm_store, edm::ESHandle< SiStripDetCabling > const &fedcabling, edm::EventSetup const &eSetup)
Definition: SiStripActionExecutor.cc:116
SiStripActionExecutor::~SiStripActionExecutor
virtual ~SiStripActionExecutor()
Definition: SiStripActionExecutor.cc:24
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripDetCabling
Definition: SiStripDetCabling.h:21
edm::ESHandle< SiStripDetCabling >
SiStripActionExecutor::createShiftReport
void createShiftReport(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:131
SiStripActionExecutor::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: SiStripActionExecutor.h:26
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripActionExecutor::saveMEs
void saveMEs(DQMStore &dqm_store, std::string fname)
SiStripActionExecutor::configWriter_
std::unique_ptr< SiStripConfigWriter > configWriter_
Definition: SiStripActionExecutor.h:70
SiStripActionExecutor::createOfflineTkMap
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
Definition: SiStripActionExecutor.cc:86
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripActionExecutor::printShiftHistoParameters
void printShiftHistoParameters(DQMStore &dqm_store, std::map< std::string, std::vector< std::string >> const &layout_map, std::ostringstream &str_val)
Definition: SiStripActionExecutor.cc:199
SiStripActionExecutor::createStatus
void createStatus(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:107
SiStripActionExecutor::createFaultyModuleMEs
void createFaultyModuleMEs(DQMStore &dqm_store)
edm::EventSetup
Definition: EventSetup.h:57
SiStripActionExecutor::readTkMapConfiguration
bool readTkMapConfiguration(const edm::EventSetup &eSetup)
Definition: SiStripActionExecutor.cc:41
SiStripActionExecutor::createTkMap
void createTkMap(const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
Definition: SiStripActionExecutor.cc:76
SiStripActionExecutor::tkMapCreator_
std::unique_ptr< SiStripTrackerMapCreator > tkMapCreator_
Definition: SiStripActionExecutor.h:68
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
SiStripActionExecutor::createDummyShiftReport
void createDummyShiftReport()
Definition: SiStripActionExecutor.cc:124
SiStripActionExecutor
Definition: SiStripActionExecutor.h:24
SiStripActionExecutor::pSet_
const edm::ParameterSet pSet_
Definition: SiStripActionExecutor.h:72
SiStripActionExecutor::fillDummyStatus
void fillDummyStatus()
Definition: SiStripActionExecutor.cc:114
SiStripActionExecutor::tkMapMENames
std::vector< std::string > tkMapMENames
Definition: SiStripActionExecutor.h:65
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EventSetup.h
SiStripActionExecutor::readConfiguration
bool readConfiguration()
Definition: SiStripActionExecutor.cc:29
SiStripActionExecutor::createSummary
void createSummary(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:48
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ParameterSet.h
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
SiStripActionExecutor::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: SiStripActionExecutor.h:27
SiStripActionExecutor::qualityChecker_
std::unique_ptr< SiStripQualityChecker > qualityChecker_
Definition: SiStripActionExecutor.h:69