CMS 3D CMS Logo

SiStripMonitorCondDataOnDemandExample.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorSummary_SiStripMonitorCondDataOnDemandExample_h
2 #define SiStripMonitorSummary_SiStripMonitorCondDataOnDemandExample_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorSummary
6 // Class : SiStripMonitorCondDataOnDemandExample
7 //
8 // Original Author: Evelyne Delmeire
9 //
10 
11 // system include files
12 #include <memory>
13 #include <iostream>
14 #include <string>
15 #include <vector>
16 
17 // user include files
24 
26 
27 class SiStripMonitorCondDataOnDemandExample : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
28 public:
30 
31  ~SiStripMonitorCondDataOnDemandExample() override = default;
32 
33  void beginJob() override;
34  void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override;
35  void analyze(const edm::Event &, const edm::EventSetup &) override;
36  void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override;
37  void endJob() override;
38 
39 private:
41  std::unique_ptr<SiStripClassToMonitorCondData> condDataMonitoring_;
42 };
43 
44 #endif
std::unique_ptr< SiStripClassToMonitorCondData > condDataMonitoring_
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
~SiStripMonitorCondDataOnDemandExample() override=default
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: Run.h:45