CMS 3D CMS Logo

SiStripActionExecutor.h
Go to the documentation of this file.
1 #ifndef _SiStripActionExecutor_h_
2 #define _SiStripActionExecutor_h_
3 
8 
10 
12 
13 #include <map>
14 #include <vector>
15 #include <string>
16 #include <TTree.h>
17 
18 class MonitorUserInterface;
19 class SiStripFedCabling;
20 class SiStripDetCabling;
21 
23 public:
26 
28  virtual ~SiStripActionExecutor();
29 
30  bool readConfiguration();
31  bool readTkMapConfiguration(const SiStripDetCabling* detCabling,
32  const TkDetMap* tkDetMap,
33  const TrackerTopology* tTopo);
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, DQMStore& dqm_store, const std::string& map_type);
39  void createOfflineTkMap(const edm::ParameterSet& tkmapPset,
40  DQMStore& dqm_store,
41  std::string& map_type,
42  const SiStripQuality* stripQuality);
43  void createTkInfoFile(std::vector<std::string> tkhmap_names,
44  TTree* tkinfo_tree,
45  DQMStore& dqm_store,
46  const GeometricDet* geomDet);
47 
48  void createStatus(DQMStore& dqm_store);
49  void fillDummyStatus();
50  void fillStatus(DQMStore& dqm_store,
51  const SiStripDetCabling* cabling,
52  const TkDetMap* tkDetMap,
53  const TrackerTopology* tTopo);
54  void fillStatusAtLumi(DQMStore& dqm_store);
55 
57  void createShiftReport(DQMStore& dqm_store);
58  void printReportSummary(MonitorElement* me, std::ostringstream& str_val, std::string name);
59  void printShiftHistoParameters(DQMStore& dqm_store,
60  std::map<std::string, std::vector<std::string>> const& layout_map,
61  std::ostringstream& str_val);
62  void printFaultyModuleList(DQMStore& dqm_store, std::ostringstream& str_val);
63  void createFaultyModuleMEs(DQMStore& dqm_store);
64 
65 private:
66  std::vector<std::string> tkMapMENames{};
67 
68  std::unique_ptr<SiStripSummaryCreator> summaryCreator_{nullptr};
69  std::unique_ptr<SiStripTrackerMapCreator> tkMapCreator_{nullptr};
70  std::unique_ptr<SiStripQualityChecker> qualityChecker_{nullptr};
71  std::unique_ptr<SiStripConfigWriter> configWriter_{nullptr};
72 
74 };
75 #endif
SiStripTrackerMapCreator.h
SiStripActionExecutor::fillStatusAtLumi
void fillStatusAtLumi(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:125
SiStripActionExecutor::summaryCreator_
std::unique_ptr< SiStripSummaryCreator > summaryCreator_
Definition: SiStripActionExecutor.h:68
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityChecker.h
SiStripActionExecutor::SiStripActionExecutor
SiStripActionExecutor(edm::ParameterSet const &ps)
Definition: SiStripActionExecutor.cc:19
SiStripSummaryCreator.h
DQMStore.h
SiStripActionExecutor::createTkInfoFile
void createTkInfoFile(std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore &dqm_store, const GeometricDet *geomDet)
Definition: SiStripActionExecutor.cc:97
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
SiStripConfigWriter.h
SiStripActionExecutor::createSummaryOffline
void createSummaryOffline(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:64
SiStripActionExecutor::printFaultyModuleList
void printFaultyModuleList(DQMStore &dqm_store, std::ostringstream &str_val)
Definition: SiStripActionExecutor.cc:244
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:190
SiStripActionExecutor::~SiStripActionExecutor
virtual ~SiStripActionExecutor()
Definition: SiStripActionExecutor.cc:24
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripDetCabling
Definition: SiStripDetCabling.h:21
GeometricDet
Definition: GeometricDet.h:31
TkDetMap
Definition: TkDetMap.h:175
SiStripActionExecutor::createShiftReport
void createShiftReport(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:134
SiStripActionExecutor::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: SiStripActionExecutor.h:24
SiStripActionExecutor::readTkMapConfiguration
bool readTkMapConfiguration(const SiStripDetCabling *detCabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
Definition: SiStripActionExecutor.cc:41
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:71
edm::ParameterSet
Definition: ParameterSet.h:47
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:202
SiStripActionExecutor::createStatus
void createStatus(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:109
SiStripActionExecutor::createFaultyModuleMEs
void createFaultyModuleMEs(DQMStore &dqm_store)
SiStripActionExecutor::tkMapCreator_
std::unique_ptr< SiStripTrackerMapCreator > tkMapCreator_
Definition: SiStripActionExecutor.h:69
SiStripActionExecutor::fillStatus
void fillStatus(DQMStore &dqm_store, const SiStripDetCabling *cabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
Definition: SiStripActionExecutor.cc:118
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
SiStripActionExecutor::createDummyShiftReport
void createDummyShiftReport()
Definition: SiStripActionExecutor.cc:127
SiStripActionExecutor::createTkMap
void createTkMap(const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, const std::string &map_type)
Definition: SiStripActionExecutor.cc:78
SiStripActionExecutor
Definition: SiStripActionExecutor.h:22
SiStripActionExecutor::pSet_
const edm::ParameterSet pSet_
Definition: SiStripActionExecutor.h:73
SiStripActionExecutor::fillDummyStatus
void fillDummyStatus()
Definition: SiStripActionExecutor.cc:116
SiStripActionExecutor::tkMapMENames
std::vector< std::string > tkMapMENames
Definition: SiStripActionExecutor.h:66
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
SiStripActionExecutor::createOfflineTkMap
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, std::string &map_type, const SiStripQuality *stripQuality)
Definition: SiStripActionExecutor.cc:87
SiStripActionExecutor::readConfiguration
bool readConfiguration()
Definition: SiStripActionExecutor.cc:29
SiStripActionExecutor::createSummary
void createSummary(DQMStore &dqm_store)
Definition: SiStripActionExecutor.cc:50
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:25
SiStripQuality
Definition: SiStripQuality.h:32
SiStripActionExecutor::qualityChecker_
std::unique_ptr< SiStripQualityChecker > qualityChecker_
Definition: SiStripActionExecutor.h:70