CMS 3D CMS Logo

DTDCSByLumiTask.h
Go to the documentation of this file.
1 #ifndef DTDCSByLumiTask_H
2 #define DTDCSByLumiTask_H
3 
4 /*
5  * \file DTDCSByLumiTask.h
6  *
7  * \author C. Battilana - CIEMAT
8  * \author P. Bellan - INFN PD
9  * \author A. Branca = INFN PD
10  *
11 */
12 
18 
21 
23 
25 
31 
32 #include <vector>
33 
35 public:
38 
40  ~DTDCSByLumiTask() override;
41 
42 protected:
44  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
45 
46  // Book the histograms
47  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
48 
50  void dqmBeginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const&) override;
51 
53  void dqmEndLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup&) override;
54 
56  void analyze(const edm::Event& e, const edm::EventSetup&) override;
57 
58 private:
59  std::string topFolder() const;
60 
61  int theEvents;
62  int theLumis;
63 
65 
67 
70 
71  std::vector<MonitorElement*> hActiveUnits;
72 };
73 
74 #endif
75 
76 /* Local Variables: */
77 /* show-trailing-whitespace: t */
78 /* truncate-lines: t */
79 /* End: */
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Begin Run.
edm::ESGetToken< DTHVStatus, DTHVStatusRcd > dtHVStatusToken_
~DTDCSByLumiTask() override
Destructor.
edm::ESHandle< DTGeometry > theDTGeom
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeometryToken_
void dqmEndLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &) override
By Lumi DCS DB Operation.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void dqmBeginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &) override
By Lumi DCS DB Operation.
DTDCSByLumiTask(const edm::ParameterSet &ps)
Constructor.
void analyze(const edm::Event &e, const edm::EventSetup &) override
Analyze.
std::string topFolder() const
std::vector< MonitorElement * > hActiveUnits
Definition: Run.h:45