CMS 3D CMS Logo

ESOccupancyTask.h
Go to the documentation of this file.
1 #ifndef ESOccupancyTask_H
2 #define ESOccupancyTask_H
3 
7 
9 
10 struct ESOccLSCache {
11  int ievtLS_;
12 };
13 
14 class ESOccupancyTask : public DQMOneEDAnalyzer<edm::LuminosityBlockCache<ESOccLSCache>> {
15 public:
17  ~ESOccupancyTask() override {}
18 
19 protected:
20  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
21  void analyze(const edm::Event&, const edm::EventSetup&) override;
22 
24  std::shared_ptr<ESOccLSCache> globalBeginLuminosityBlock(const edm::LuminosityBlock& lumi,
25  const edm::EventSetup& c) const override;
28 
29 private:
30  // ----------member data ---------------------------
33 
45 
47 };
48 
49 #endif
MonitorElement * hSelOCC_[2][2]
MonitorElement * hSelEng_[2][2]
MonitorElement * hRecOCC_[2][2]
MonitorElement * hEvEng_[2][2]
MonitorElement * hEng_[2][2]
void globalEndLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &c) override
End Lumi.
~ESOccupancyTask() override
std::string prefixME_
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hE1E2_[2]
MonitorElement * hSelEnDensity_[2][2]
ESOccupancyTask(const edm::ParameterSet &ps)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * hSelOCCByLS_[2][2]
MonitorElement * hEnDensity_[2][2]
std::shared_ptr< ESOccLSCache > globalBeginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &c) const override
Begin Lumi.
MonitorElement * hGoodRecNHit_[2][2]
MonitorElement * hRecNHit_[2][2]
edm::EDGetTokenT< ESRecHitCollection > rechittoken_
Definition: Run.h:45