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 
22 
23 #include <vector>
24 
25 class DTGeometry;
26 class DQMStore;
27 class MonitorElement;
28 class DTHVStatus;
29 
31 
32 public:
33 
36 
38  virtual ~DTDCSByLumiTask();
39 
40 protected:
41 
43  void beginJob();
44 
46  void beginRun(const edm::Run&, const edm::EventSetup&);
47 
49  void bookHistos();
50 
52  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
53 
55  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& setup);
56 
58  void analyze(const edm::Event& e, const edm::EventSetup& c);
59 
61  void endJob();
62 
63 private:
64 
65  std::string topFolder() const;
66 
67  int theEvents;
68  int theLumis;
69 
71 
74  // CB Get HV DB and loop on half layers
76 
77  std::vector<MonitorElement*> hActiveUnits;
78 
79 };
80 
81 #endif
82 
83 /* Local Variables: */
84 /* show-trailing-whitespace: t */
85 /* truncate-lines: t */
86 /* End: */
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:41