CMS 3D CMS Logo

SiPixelPhase1Summary.h
Go to the documentation of this file.
1 #ifndef SiPixelPhase1Summary_SiPixelPhase1Summary_h
2 #define SiPixelPhase1Summary_SiPixelPhase1Summary_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelPhase1Summary
6 // Class : SiPixelPhase1Summary
7 //
16 //
17 // Original Author: Duncan Leggat
18 // Created: 2nd December 2016
19 //
20 
21 //#include <memory>
22 
23 // user include files
27 
30 
36 
38 
40 
41 #include <boost/cstdint.hpp>
42 
44  public:
45  explicit SiPixelPhase1Summary(const edm::ParameterSet& conf);
47 
48  // virtual void analyze(const edm::Event&, const edm::EventSetup&);
49  //void dqmBeginRun(const edm::Run&, edm::EventSetup const&) ;
50  //virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
51  protected:
52  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
53 
54  void dqmEndLuminosityBlock(DQMStore::IBooker & iBooker, DQMStore::IGetter & iGetter, edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c) override;
55  //(edm::LuminosityBlock const&, edm::EventSetup const&) override;
56  void dqmEndJob(DQMStore::IBooker & iBooker, DQMStore::IGetter & iGetter) override;
57  // virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
58 
62 
63  private:
66  bool firstLumi;
67 
68  std::map<std::string,MonitorElement*> summaryMap_;
69 
70  std::map<std::string,std::string> summaryPlotName_;
71 
72  void bookSummaries(DQMStore::IBooker & iBooker);
73 
74  void fillSummaries(DQMStore::IBooker & iBooker, DQMStore::IGetter & iGetter);
75 
76  };
77 
78 #endif
SiPixelPhase1Summary(const edm::ParameterSet &conf)
std::map< std::string, std::string > summaryPlotName_
void fillSummaries(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
std::map< std::string, MonitorElement * > summaryMap_
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
edm::ParameterSet conf_
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
void bookSummaries(DQMStore::IBooker &iBooker)
void dqmEndLuminosityBlock(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
Definition: Run.h:42