Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DTOfflineSummaryClients_H
0002 #define DTOfflineSummaryClients_H
0003 
0004 /** \class DTOfflineSummaryClients
0005  * *
0006  *  DQM Client for global summary
0007  *
0008  *  \author  M. Pelliccioni - 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 "DQMServices/Core/interface/DQMStore.h"
0017 
0018 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0019 
0020 class DTOfflineSummaryClients : public DQMEDHarvester {
0021 public:
0022   /// Constructor
0023   DTOfflineSummaryClients(const edm::ParameterSet &ps);
0024 
0025   /// Destructor
0026   ~DTOfflineSummaryClients() override;
0027 
0028   /// BeginRun
0029   void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
0030 
0031   /// EndLumi
0032   void dqmEndLuminosityBlock(DQMStore::IBooker &,
0033                              DQMStore::IGetter &,
0034                              edm::LuminosityBlock const &,
0035                              edm::EventSetup const &) override;
0036 
0037   /// EndJob
0038   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0039 
0040 protected:
0041 private:
0042   int nevents;
0043 
0044   bool bookingdone;
0045 
0046   MonitorElement *summaryReport;
0047   MonitorElement *summaryReportMap;
0048   std::vector<MonitorElement *> theSummaryContents;
0049 };
0050 
0051 #endif