CMS 3D CMS Logo

TrackingQualityChecker.h
Go to the documentation of this file.
1 #ifndef _TrackingQualityChecker_h_
2 #define _TrackingQualityChecker_h_
3 
8 
9 #include <iostream>
10 #include <fstream>
11 #include <sstream>
12 #include <map>
13 #include <vector>
14 #include <string>
15 
16 class TrackingDetCabling;
17 
19 public:
22 
24  virtual ~TrackingQualityChecker();
25 
26  void bookGlobalStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
27  void bookLSStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
28  void resetGlobalStatus();
29  void resetLSStatus();
30  void fillDummyGlobalStatus();
31  void fillDummyLSStatus();
32  void fillGlobalStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
33  void fillLSStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
34 
35 private:
36  struct TrackingMEs {
40  };
41 
42  struct TrackingLSMEs {
48  };
49 
52 
53  void fillStatusHistogram(MonitorElement*, int xbin, int ybin, float val);
54 
55  std::map<std::string, TrackingMEs> TrackingMEsMap;
56  std::map<std::string, TrackingLSMEs> TrackingLSMEsMap;
57 
60 
62 
64  bool verbose_;
65 
68 
70 };
71 #endif
TrackingQualityChecker::bookGlobalStatus
void bookGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:72
TrackingQualityChecker::fillTrackingStatusAtLumi
void fillTrackingStatusAtLumi(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:478
TrackingQualityChecker::TrackingLSMEs::TrackingFlag
MonitorElement * TrackingFlag
Definition: TrackingQualityChecker.h:43
ESHandle.h
TrackingQualityChecker::TrackingLSMEs
Definition: TrackingQualityChecker.h:42
TrackingQualityChecker::resetLSStatus
void resetLSStatus()
Definition: TrackingQualityChecker.cc:227
TrackingQualityChecker::TrackingMEs::TrackingFlag
MonitorElement * TrackingFlag
Definition: TrackingQualityChecker.h:37
TrackingQualityChecker::TrackingMEs::HistoName
std::string HistoName
Definition: TrackingQualityChecker.h:39
TrackingQualityChecker::TrackGlobalSummaryReportGlobal
MonitorElement * TrackGlobalSummaryReportGlobal
Definition: TrackingQualityChecker.h:59
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
TrackingQualityChecker::TrackingMEs
Definition: TrackingQualityChecker.h:36
TrackingQualityChecker::TrackingLSMEs::HistoLSLowerCut
float HistoLSLowerCut
Definition: TrackingQualityChecker.h:46
TrackingQualityChecker::TrackingLSMEs::HistoLSName
std::string HistoLSName
Definition: TrackingQualityChecker.h:45
TrackingQualityChecker::TrackGlobalSummaryReportMap
MonitorElement * TrackGlobalSummaryReportMap
Definition: TrackingQualityChecker.h:58
TrackingQualityChecker::bookedTrackingLSStatus_
bool bookedTrackingLSStatus_
Definition: TrackingQualityChecker.h:67
TrackingQualityChecker::bookLSStatus
void bookLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:121
TrackingQualityChecker::TrackingLSMEs::HistoLSUpperCut
float HistoLSUpperCut
Definition: TrackingQualityChecker.h:47
dqm::legacy::DQMStore
Definition: DQMStore.h:727
TrackingQualityChecker::resetGlobalStatus
void resetGlobalStatus()
Definition: TrackingQualityChecker.cc:208
TrackingQualityChecker::TrackingLSMEs::HistoLSDir
std::string HistoLSDir
Definition: TrackingQualityChecker.h:44
TrackingQualityChecker
Definition: TrackingQualityChecker.h:18
TrackingQualityChecker::fillDummyGlobalStatus
void fillDummyGlobalStatus()
Definition: TrackingQualityChecker.cc:166
TrackingQualityChecker::fillTrackingStatus
void fillTrackingStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:280
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackingQualityChecker::fillDummyLSStatus
void fillDummyLSStatus()
Definition: TrackingQualityChecker.cc:187
TrackingQualityChecker::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: TrackingQualityChecker.h:21
TrackingQualityChecker::TopFolderName_
std::string TopFolderName_
Definition: TrackingQualityChecker.h:69
edm::ParameterSet
Definition: ParameterSet.h:47
TrackingQualityChecker::TrackingMEsMap
std::map< std::string, TrackingMEs > TrackingMEsMap
Definition: TrackingQualityChecker.h:55
TrackingQualityChecker::TrackingLSMEsMap
std::map< std::string, TrackingLSMEs > TrackingLSMEsMap
Definition: TrackingQualityChecker.h:56
TrackingQualityChecker::verbose_
bool verbose_
Definition: TrackingQualityChecker.h:64
TrackingQualityChecker::fillLSStatus
void fillLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:263
TrackingQualityChecker::TrackLSSummaryReportGlobal
MonitorElement * TrackLSSummaryReportGlobal
Definition: TrackingQualityChecker.h:61
TrackingQualityChecker::TrackingQualityChecker
TrackingQualityChecker(edm::ParameterSet const &ps)
Definition: TrackingQualityChecker.cc:18
heppy_batch.val
val
Definition: heppy_batch.py:351
dqm::implementation::IGetter
Definition: DQMStore.h:484
TrackingQualityChecker::fillGlobalStatus
void fillGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:249
TrackingQualityChecker::bookedTrackingGlobalStatus_
bool bookedTrackingGlobalStatus_
Definition: TrackingQualityChecker.h:66
TrackingQualityChecker::pSet_
edm::ParameterSet pSet_
Definition: TrackingQualityChecker.h:63
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
TrackingQualityChecker::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: TrackingQualityChecker.h:20
ParameterSet.h
TrackingQualityChecker::~TrackingQualityChecker
virtual ~TrackingQualityChecker()
Definition: TrackingQualityChecker.cc:65
TrackingQualityChecker::TrackingMEs::HistoDir
std::string HistoDir
Definition: TrackingQualityChecker.h:38
TrackingQualityChecker::fillStatusHistogram
void fillStatusHistogram(MonitorElement *, int xbin, int ybin, float val)
Definition: TrackingQualityChecker.cc:469