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  * $Date: 2011/03/02 13:56:39 $
8  * $Revision: 1.1 $
9  * \author C. Battilana - CIEMAT
10  * \author P. Bellan - INFN PD
11  * \author A. Branca = INFN PD
12  *
13 */
14 
22 
24 
25 #include <vector>
26 
27 class DTGeometry;
28 class DQMStore;
29 class MonitorElement;
30 class DTHVStatus;
31 
33 
34 public:
35 
38 
40  virtual ~DTDCSByLumiTask();
41 
42 protected:
43 
45  void beginJob();
46 
48  void beginRun(const edm::Run&, const edm::EventSetup&);
49 
51  void bookHistos();
52 
54  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
55 
57  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& setup);
58 
60  void analyze(const edm::Event& e, const edm::EventSetup& c);
61 
63  void endJob();
64 
65 private:
66 
67  std::string topFolder() const;
68 
69  int theEvents;
70  int theLumis;
71 
73 
76  // CB Get HV DB and loop on half layers
78 
79  std::vector<MonitorElement*> hActiveUnits;
80 
81 };
82 
83 #endif
edm::ESHandle< DTHVStatus > hvStatus
void bookHistos()
Book Monitor Elements.
DQMStore * theDQMStore
virtual ~DTDCSByLumiTask()
Destructor.
void endJob()
Endjob.
edm::ESHandle< DTGeometry > theDTGeom
void beginJob()
BeginJob.
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.
void beginRun(const edm::Run &, const edm::EventSetup &)
Begin Run.
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:36