Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:03

0001 #ifndef DTMonitorClient_DTCertificationSummary_H
0002 #define DTMonitorClient_DTCertificationSummary_H
0003 
0004 /** \class DTCertificationSummary
0005  *  No description available.
0006  *
0007  *  \author G. Cerminara - INFN Torino
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   /// Constructor
0019   DTCertificationSummary(const edm::ParameterSet& pset);
0020 
0021   /// Destructor
0022   ~DTCertificationSummary() override;
0023 
0024   // Operations
0025 
0026 protected:
0027 private:
0028   void beginRun(const edm::Run& run, const edm::EventSetup& setup) override;
0029 
0030   /// DQM Client Diagnostic in online mode
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   /// DQM Client Diagnostic in offline mode
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