CMS 3D CMS Logo

TrackingCertificationInfo.h
Go to the documentation of this file.
1 #ifndef TrackingMonitorClient_TrackingCertificationInfo_h
2 #define TrackingMonitorClient_TrackingCertificationInfo_h
3 // -*- C++ -*-
4 //
5 // Package: TrackingMonitorClient
6 // Class : TrackingCertificationInfo
7 //
17 #include <string>
18 
26 
28 
29 #include <fstream>
30 #include <string>
31 #include <vector>
32 #include <map>
33 
34 class SiStripDetCabling;
36 class RunInfo;
37 class RunInfoRcd;
38 
40 public:
43 
45  ~TrackingCertificationInfo() override;
46 
47 private:
49  void beginJob() override;
50 
52  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
53 
56  DQMStore::IGetter& igetter_,
57  edm::LuminosityBlock const& lumiSeg,
58  edm::EventSetup const& iSetup) override;
59 
61  void dqmEndJob(DQMStore::IBooker& ibooker_, DQMStore::IGetter& igetter_) override;
62 
63 private:
66 
69 
72 
75 
76  struct TrackingMEs {
78  };
79 
80  struct TrackingLSMEs {
82  };
83 
84  std::map<std::string, TrackingMEs> TrackingMEsMap;
85  std::map<std::string, TrackingLSMEs> TrackingLSMEsMap;
86 
89 
91 
93 
98  bool verbose_;
100 
102 
103  unsigned long long m_cacheID_;
104 
106  const RunInfo* sumFED_ = nullptr;
110 
111  std::vector<std::string> SubDetFolder;
112 };
113 #endif
TrackingCertificationInfo::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: TrackingCertificationInfo.h:105
DQMEDHarvester.h
TrackingCertificationInfo::nFEDConnected_
int nFEDConnected_
Definition: TrackingCertificationInfo.h:96
TrackingCertificationInfo::bookTrackingCertificationMEs
void bookTrackingCertificationMEs(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:135
TrackingCertificationInfo::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Begin Run.
Definition: TrackingCertificationInfo.cc:95
TrackingCertificationInfo::resetTrackingCertificationMEs
void resetTrackingCertificationMEs(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:364
TrackingCertificationInfo::fillDummyTrackingCertification
void fillDummyTrackingCertification(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:392
TrackingCertificationInfo::detCabling_
const SiStripDetCabling * detCabling_
Definition: TrackingCertificationInfo.h:109
edm::ESWatcher< SiStripDetCablingRcd >
ESHandle.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
TrackingCertificationInfo::TopFolderName_
std::string TopFolderName_
Definition: TrackingCertificationInfo.h:99
LuminosityBlock.h
TrackingCertificationInfo::pSet_
edm::ParameterSet pSet_
Definition: TrackingCertificationInfo.h:92
TrackingCertificationInfo::fedDetCablingWatcher_
edm::ESWatcher< SiStripDetCablingRcd > fedDetCablingWatcher_
Definition: TrackingCertificationInfo.h:108
TrackingCertificationInfo::TrackingLSMEs::TrackingFlag
MonitorElement * TrackingFlag
Definition: TrackingCertificationInfo.h:81
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
TrackingCertificationInfo::~TrackingCertificationInfo
~TrackingCertificationInfo() override
Destructor.
Definition: TrackingCertificationInfo.cc:85
TrackingCertificationInfo
Definition: TrackingCertificationInfo.h:39
TrackingCertificationInfo::TrackingMEs
Definition: TrackingCertificationInfo.h:76
TrackingCertificationInfo::TrackingMEsMap
std::map< std::string, TrackingMEs > TrackingMEsMap
Definition: TrackingCertificationInfo.h:84
TrackingCertificationInfo::TrackingCertificationInfo
TrackingCertificationInfo(const edm::ParameterSet &ps)
Constructor.
Definition: TrackingCertificationInfo.cc:29
TrackingCertificationInfo::fillDummyTrackingCertificationAtLumi
void fillDummyTrackingCertificationAtLumi(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:411
RunInfo
Definition: RunInfo.h:18
TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi
void fillTrackingCertificationMEsAtLumi(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:427
TrackingCertificationInfo::SubDetFolder
std::vector< std::string > SubDetFolder
Definition: TrackingCertificationInfo.h:111
SiStripDetCabling
Definition: SiStripDetCabling.h:21
Run.h
TrackingCertificationInfo::m_cacheID_
unsigned long long m_cacheID_
Definition: TrackingCertificationInfo.h:103
TrackingCertificationInfo::TrackingCertification
MonitorElement * TrackingCertification
Definition: TrackingCertificationInfo.h:87
SiStripDetCablingRcd
Definition: SiStripDependentRecords.h:19
TrackingCertificationInfo::TrackingMEs::TrackingFlag
MonitorElement * TrackingFlag
Definition: TrackingCertificationInfo.h:77
TrackingCertificationInfo::beginJob
void beginJob() override
BeginJob.
Definition: TrackingCertificationInfo.cc:91
RunInfoRcd
Definition: RunSummaryRcd.h:26
edm::ParameterSet
Definition: ParameterSet.h:47
TrackingCertificationInfo::TrackingCertificationSummaryMap
MonitorElement * TrackingCertificationSummaryMap
Definition: TrackingCertificationInfo.h:88
TrackingCertificationInfo::TrackingLSCertification
MonitorElement * TrackingLSCertification
Definition: TrackingCertificationInfo.h:90
TrackingCertificationInfo::trackingLSCertificationBooked_
bool trackingLSCertificationBooked_
Definition: TrackingCertificationInfo.h:95
TrackingCertificationInfo::allPixelFEDConnected_
bool allPixelFEDConnected_
Definition: TrackingCertificationInfo.h:97
TrackingCertificationInfo::sumFED_
const RunInfo * sumFED_
Definition: TrackingCertificationInfo.h:106
TrackingCertificationInfo::detCablingToken_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
Definition: TrackingCertificationInfo.h:107
edm::EventSetup
Definition: EventSetup.h:58
TrackingCertificationInfo::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
End Of Luminosity.
Definition: TrackingCertificationInfo.cc:242
TrackingCertificationInfo::bookTrackingCertificationMEsAtLumi
void bookTrackingCertificationMEsAtLumi(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:193
edm::ESGetToken< RunInfo, RunInfoRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackingCertificationInfo::TrackingLSMEsMap
std::map< std::string, TrackingLSMEs > TrackingLSMEsMap
Definition: TrackingCertificationInfo.h:85
TrackingCertificationInfo::checkPixelFEDs_
bool checkPixelFEDs_
Definition: TrackingCertificationInfo.h:101
DQMEDHarvester
Definition: DQMEDHarvester.py:1
TrackingCertificationInfo::verbose_
bool verbose_
Definition: TrackingCertificationInfo.h:98
TrackingCertificationInfo::resetTrackingCertificationMEsAtLumi
void resetTrackingCertificationMEsAtLumi(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:378
writedatasetfile.run
run
Definition: writedatasetfile.py:27
TrackingCertificationInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override
EndJob.
Definition: TrackingCertificationInfo.cc:259
ESWatcher.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
TrackingCertificationInfo::trackingCertificationBooked_
bool trackingCertificationBooked_
Definition: TrackingCertificationInfo.h:94
ParameterSet.h
TrackingCertificationInfo::fillTrackingCertificationMEs
void fillTrackingCertificationMEs(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)
Definition: TrackingCertificationInfo.cc:275
TrackingCertificationInfo::TrackingLSMEs
Definition: TrackingCertificationInfo.h:80