CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NoiseRatesClient.h
Go to the documentation of this file.
1 #ifndef HCALVALIDATION_CALOTOWERS_NOISERATESCLIENT
2 #define HCALVALIDATION_CALOTOWERS_NOISERATESCLIENT
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
41 
43 
44  bool verbose_;
45  bool debug_;
46 
50 
51  public:
52  explicit NoiseRatesClient(const edm::ParameterSet& );
53  virtual ~NoiseRatesClient();
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
std::string dirNameJet_
std::string dirName_
NoiseRatesClient(const edm::ParameterSet &)
virtual void runClient_()
virtual void endJob()
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
virtual void endRun(const edm::Run &run, const edm::EventSetup &c)
edm::ParameterSet conf_
std::string dirNameMET_
std::string outputFile_
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
virtual ~NoiseRatesClient()
virtual void beginJob(void)
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: Run.h:41