CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
24 
26 
28 
29 #include <vector>
30 
31 class DTGeometry;
32 class DQMStore;
33 class MonitorElement;
34 class DTHVStatus;
35 
37 
38 public:
39 
42 
44  virtual ~DTDCSByLumiTask();
45 
46 protected:
47 
49  void dqmBeginRun(const edm::Run&, const edm::EventSetup&);
50 
51  // Book the histograms
52  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
53 
55  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
56 
58  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& setup);
59 
61  void analyze(const edm::Event& e, const edm::EventSetup& c);
62 
63 private:
64 
65  std::string topFolder() const;
66 
67  int theEvents;
68  int theLumis;
69 
71 
73  // CB Get HV DB and loop on half layers
75 
76  std::vector<MonitorElement*> hActiveUnits;
77 
78 };
79 
80 #endif
81 
82 /* Local Variables: */
83 /* show-trailing-whitespace: t */
84 /* truncate-lines: t */
85 /* End: */
edm::ESHandle< DTHVStatus > hvStatus
virtual ~DTDCSByLumiTask()
Destructor.
edm::ESHandle< DTGeometry > theDTGeom
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
By Lumi DCS DB Operation.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
DTDCSByLumiTask(const edm::ParameterSet &ps)
Constructor.
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &setup)
By Lumi DCS DB Operation.
std::string topFolder() const
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::vector< MonitorElement * > hActiveUnits
Definition: Run.h:41
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Begin Run.