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 <fstream>
10 #include <sstream>
11 #include <map>
12 #include <vector>
13 #include <string>
14 
15 class TrackingDetCabling;
16 
18 public:
21 
23  virtual ~TrackingQualityChecker();
24 
25  void bookGlobalStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
26  void bookLSStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
27  void resetGlobalStatus();
28  void resetLSStatus();
29  void fillDummyGlobalStatus();
30  void fillDummyLSStatus();
31  void fillGlobalStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
32  void fillLSStatus(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter);
33 
34 private:
35  struct TrackingMEs {
39  };
40 
41  struct TrackingLSMEs {
47  };
48 
51 
52  void fillStatusHistogram(MonitorElement*, int xbin, int ybin, float val);
53 
54  std::map<std::string, TrackingMEs> TrackingMEsMap;
55  std::map<std::string, TrackingLSMEs> TrackingLSMEsMap;
56 
59 
61 
63  bool verbose_;
64 
67 
69 };
70 #endif
TrackingQualityChecker::bookGlobalStatus
void bookGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:70
TrackingQualityChecker::fillTrackingStatusAtLumi
void fillTrackingStatusAtLumi(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:489
TrackingQualityChecker::TrackingLSMEs::TrackingFlag
MonitorElement * TrackingFlag
Definition: TrackingQualityChecker.h:42
ESHandle.h
TrackingQualityChecker::TrackingLSMEs
Definition: TrackingQualityChecker.h:41
TrackingQualityChecker::resetLSStatus
void resetLSStatus()
Definition: TrackingQualityChecker.cc:232
TrackingQualityChecker::TrackingMEs::TrackingFlag
MonitorElement * TrackingFlag
Definition: TrackingQualityChecker.h:36
TrackingQualityChecker::TrackingMEs::HistoName
std::string HistoName
Definition: TrackingQualityChecker.h:38
TrackingQualityChecker::TrackGlobalSummaryReportGlobal
MonitorElement * TrackGlobalSummaryReportGlobal
Definition: TrackingQualityChecker.h:58
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
TrackingQualityChecker::TrackingMEs
Definition: TrackingQualityChecker.h:35
TrackingQualityChecker::TrackingLSMEs::HistoLSLowerCut
float HistoLSLowerCut
Definition: TrackingQualityChecker.h:45
TrackingQualityChecker::TrackingLSMEs::HistoLSName
std::string HistoLSName
Definition: TrackingQualityChecker.h:44
TrackingQualityChecker::TrackGlobalSummaryReportMap
MonitorElement * TrackGlobalSummaryReportMap
Definition: TrackingQualityChecker.h:57
TrackingQualityChecker::bookedTrackingLSStatus_
bool bookedTrackingLSStatus_
Definition: TrackingQualityChecker.h:66
TrackingQualityChecker::bookLSStatus
void bookLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:120
TrackingQualityChecker::TrackingLSMEs::HistoLSUpperCut
float HistoLSUpperCut
Definition: TrackingQualityChecker.h:46
dqm::legacy::DQMStore
Definition: DQMStore.h:727
TrackingQualityChecker::resetGlobalStatus
void resetGlobalStatus()
Definition: TrackingQualityChecker.cc:211
TrackingQualityChecker::TrackingLSMEs::HistoLSDir
std::string HistoLSDir
Definition: TrackingQualityChecker.h:43
TrackingQualityChecker
Definition: TrackingQualityChecker.h:17
TrackingQualityChecker::fillDummyGlobalStatus
void fillDummyGlobalStatus()
Definition: TrackingQualityChecker.cc:166
TrackingQualityChecker::fillTrackingStatus
void fillTrackingStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:287
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackingQualityChecker::fillDummyLSStatus
void fillDummyLSStatus()
Definition: TrackingQualityChecker.cc:189
TrackingQualityChecker::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: TrackingQualityChecker.h:20
TrackingQualityChecker::TopFolderName_
std::string TopFolderName_
Definition: TrackingQualityChecker.h:68
edm::ParameterSet
Definition: ParameterSet.h:47
TrackingQualityChecker::TrackingMEsMap
std::map< std::string, TrackingMEs > TrackingMEsMap
Definition: TrackingQualityChecker.h:54
TrackingQualityChecker::TrackingLSMEsMap
std::map< std::string, TrackingLSMEs > TrackingLSMEsMap
Definition: TrackingQualityChecker.h:55
TrackingQualityChecker::verbose_
bool verbose_
Definition: TrackingQualityChecker.h:63
TrackingQualityChecker::fillLSStatus
void fillLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: TrackingQualityChecker.cc:270
TrackingQualityChecker::TrackLSSummaryReportGlobal
MonitorElement * TrackLSSummaryReportGlobal
Definition: TrackingQualityChecker.h:60
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:256
TrackingQualityChecker::bookedTrackingGlobalStatus_
bool bookedTrackingGlobalStatus_
Definition: TrackingQualityChecker.h:65
TrackingQualityChecker::pSet_
edm::ParameterSet pSet_
Definition: TrackingQualityChecker.h:62
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
TrackingQualityChecker::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: TrackingQualityChecker.h:19
ParameterSet.h
TrackingQualityChecker::~TrackingQualityChecker
virtual ~TrackingQualityChecker()
Definition: TrackingQualityChecker.cc:63
TrackingQualityChecker::TrackingMEs::HistoDir
std::string HistoDir
Definition: TrackingQualityChecker.h:37
TrackingQualityChecker::fillStatusHistogram
void fillStatusHistogram(MonitorElement *, int xbin, int ybin, float val)
Definition: TrackingQualityChecker.cc:480