Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DTSummaryClients_H
0002 #define DTSummaryClients_H
0003 
0004 /** \class DTSummaryClients
0005  * *
0006  *  DQM Client for global summary
0007  *
0008  *  \author  G. Mila - INFN Torino
0009  *
0010  *  threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
0011  *
0012  *   
0013  */
0014 
0015 #include "FWCore/Framework/interface/Frameworkfwd.h"
0016 #include "DataFormats/Common/interface/Handle.h"
0017 #include "FWCore/Framework/interface/ESHandle.h"
0018 #include "FWCore/Framework/interface/Event.h"
0019 #include "FWCore/Framework/interface/MakerMacros.h"
0020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0021 #include "FWCore/Framework/interface/LuminosityBlock.h"
0022 
0023 #include "DQMServices/Core/interface/DQMStore.h"
0024 #include "FWCore/ServiceRegistry/interface/Service.h"
0025 #include "FWCore/Framework/interface/Run.h"
0026 
0027 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0028 
0029 #include <memory>
0030 #include <string>
0031 
0032 class DTSummaryClients : public DQMEDHarvester {
0033 public:
0034   /// Constructor
0035   DTSummaryClients(const edm::ParameterSet &ps);
0036 
0037   /// Destructor
0038   ~DTSummaryClients() override;
0039 
0040 protected:
0041   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0042 
0043   void dqmEndLuminosityBlock(DQMStore::IBooker &,
0044                              DQMStore::IGetter &,
0045                              edm::LuminosityBlock const &,
0046                              edm::EventSetup const &) override;
0047 
0048 private:
0049   int nevents;
0050 
0051   MonitorElement *summaryReport;
0052   MonitorElement *summaryReportMap;
0053   std::vector<MonitorElement *> theSummaryContents;
0054 
0055   bool bookingdone;
0056 };
0057 
0058 #endif