Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DTMonitorClient_DTDCSSummary_H
0002 #define DTMonitorClient_DTDCSSummary_H
0003 
0004 /** \class DTDCSSummary
0005  *  No description available.
0006  *
0007  *  \author G. Cerminara - INFN Torino
0008  *
0009  *  threadsafe version (//-) oct/nov 2014 - WATWanAbdullah ncpp-um-my
0010  *
0011  */
0012 
0013 #include "FWCore/Framework/interface/Frameworkfwd.h"
0014 #include "DQMServices/Core/interface/DQMStore.h"
0015 
0016 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0017 
0018 #include <map>
0019 
0020 class DTDCSSummary : public DQMEDHarvester {
0021 public:
0022   /// Constructor
0023   DTDCSSummary(const edm::ParameterSet &pset);
0024 
0025   /// Destructor
0026   ~DTDCSSummary() override;
0027 
0028   // Operations
0029 
0030   void dqmEndLuminosityBlock(DQMStore::IBooker &,
0031                              DQMStore::IGetter &,
0032                              edm::LuminosityBlock const &,
0033                              edm::EventSetup const &) override;
0034 
0035   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0036 
0037 protected:
0038 private:
0039   MonitorElement *totalDCSFraction;
0040   std::map<int, MonitorElement *> dcsFractions;
0041 
0042   bool bookingdone;
0043 };
0044 
0045 #endif