File indexing completed on 2024-04-06 12:07:03
0001 #ifndef DTMonitorClient_DTCertificationSummary_H
0002 #define DTMonitorClient_DTCertificationSummary_H
0003
0004
0005
0006
0007
0008
0009
0010 #include "FWCore/Framework/interface/Frameworkfwd.h"
0011 #include "DQMServices/Core/interface/DQMStore.h"
0012 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0013
0014 #include <map>
0015
0016 class DTCertificationSummary : public DQMEDHarvester {
0017 public:
0018
0019 DTCertificationSummary(const edm::ParameterSet& pset);
0020
0021
0022 ~DTCertificationSummary() override;
0023
0024
0025
0026 protected:
0027 private:
0028 void beginRun(const edm::Run& run, const edm::EventSetup& setup) override;
0029
0030
0031 void dqmEndLuminosityBlock(DQMStore::IBooker&,
0032 DQMStore::IGetter&,
0033 edm::LuminosityBlock const&,
0034 edm::EventSetup const&) override;
0035
0036 void endRun(const edm::Run& run, const edm::EventSetup& setup) override;
0037
0038
0039 void dqmEndJob(DQMStore::IBooker&, DQMStore::IGetter&) override;
0040
0041 MonitorElement* totalCertFraction;
0042 MonitorElement* certMap;
0043 std::map<int, MonitorElement*> certFractions;
0044 };
0045
0046 #endif