Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:48

0001 #ifndef EcalMEFormatter_H
0002 #define EcalMEFormatter_H
0003 
0004 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0005 
0006 #include "DQM/EcalCommon/interface/DQWorker.h"
0007 #include "DQM/EcalCommon/interface/MESet.h"
0008 
0009 class EcalMEFormatter : public DQMEDHarvester, public ecaldqm::DQWorker {
0010 public:
0011   typedef dqm::harvesting::MonitorElement MonitorElement;
0012   typedef dqm::harvesting::DQMStore DQMStore;
0013 
0014   EcalMEFormatter(edm::ParameterSet const &);
0015   ~EcalMEFormatter() override{};
0016 
0017   static void fillDescriptions(edm::ConfigurationDescriptions &);
0018 
0019 private:
0020   void dqmEndLuminosityBlock(DQMStore::IBooker &,
0021                              DQMStore::IGetter &,
0022                              edm::LuminosityBlock const &,
0023                              edm::EventSetup const &) override;
0024   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0025 
0026   void format_(DQMStore::IGetter &, bool);
0027   void formatDet2D_(ecaldqm::MESet &);
0028 };
0029 
0030 #endif