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 
20 
23 
25 
27 
28 #include <vector>
29 
30 class DTGeometry;
31 class DTHVStatus;
32 
34 public:
37 
39  ~DTDCSByLumiTask() override;
40 
41 protected:
43  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
44 
45  // Book the histograms
46  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
47 
49  void dqmBeginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) override;
50 
52  void dqmEndLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& setup) override;
53 
55  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
56 
57 private:
58  std::string topFolder() const;
59 
60  int theEvents;
61  int theLumis;
62 
64 
66  // CB Get HV DB and loop on half layers
68 
69  std::vector<MonitorElement*> hActiveUnits;
70 };
71 
72 #endif
73 
74 /* Local Variables: */
75 /* show-trailing-whitespace: t */
76 /* truncate-lines: t */
77 /* End: */
edm::ESHandle< DTHVStatus > hvStatus
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Begin Run.
void dqmEndLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &setup) override
By Lumi DCS DB Operation.
~DTDCSByLumiTask() override
Destructor.
void dqmBeginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) override
By Lumi DCS DB Operation.
edm::ESHandle< DTGeometry > theDTGeom
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
DTDCSByLumiTask(const edm::ParameterSet &ps)
Constructor.
std::string topFolder() const
std::vector< MonitorElement * > hActiveUnits
Definition: Run.h:45