CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalNoiseRatesClient.h
Go to the documentation of this file.
1 #ifndef _DQMOFFLINE_HCAL_HCALNOISERATESCLIENT_H_
2 #define _DQMOFFLINE_HCAL_HCALNOISERATESCLIENT_H_
3 
4 // -*- C++ -*-
5 //
6 //
7 /*
8  Description: This is a NoiseRates client meant to plot noiserates quantities
9 */
10 
11 //
12 // Originally create by: Hongxuan Liu
13 // May 2010
14 //
15 
16 #include <memory>
17 #include <unistd.h>
28 
29 #include <iostream>
30 #include <fstream>
31 #include <vector>
32 
33 class DQMStore;
34 class MonitorElement;
35 
37 
38  private:
39  DQMStore* dbe_; //dbe seems to be the standard name for this, I dont know why. We of course dont own it
40  std::string outputFile_;
41 
43 
44  bool verbose_;
45  bool debug_;
46 
47  std::string dirName_;
48  std::string dirNameJet_;
49  std::string dirNameMET_;
50 
51  public:
52  explicit HcalNoiseRatesClient(const edm::ParameterSet& );
53  virtual ~HcalNoiseRatesClient();
54 
55  virtual void beginJob(void);
56  virtual void endJob();
57  virtual void beginRun(const edm::Run& run, const edm::EventSetup& c);
58  virtual void endRun(const edm::Run& run, const edm::EventSetup& c);
59  virtual void analyze(const edm::Event&, const edm::EventSetup&);
60  virtual void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
61  virtual void runClient_();
62 
63  int NoiseRatesEndjob(const std::vector<MonitorElement*> &hcalMEs);
64 
65 };
66 
67 #endif
edm::ParameterSet conf_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
virtual void endRun(const edm::Run &run, const edm::EventSetup &c)
virtual void beginJob(void)
HcalNoiseRatesClient(const edm::ParameterSet &)
Definition: Run.h:33