CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalRecHitsClient.h
Go to the documentation of this file.
1 #ifndef HCALVALIDATION_CALOTOWERS_HCALRECHITSCLIENT
2 #define HCALVALIDATION_CALOTOWERS_HCALRECHITSCLIENT
3 
4 // -*- C++ -*-
5 //
6 //
7 /*
8  Description: This is a RecHits client meant to plot rechits 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 HcalRecHitsClient(const edm::ParameterSet& );
53  virtual ~HcalRecHitsClient();
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 HcalRecHitsEndjob(const std::vector<MonitorElement*> &hcalMEs);
64 
65 };
66 
67 #endif
std::string outputFile_
virtual void endRun(const edm::Run &run, const edm::EventSetup &c)
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
HcalRecHitsClient(const edm::ParameterSet &)
virtual void runClient_()
int HcalRecHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
virtual void endJob()
virtual void beginJob(void)
std::string dirNameJet_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::string dirNameMET_
edm::ParameterSet conf_
virtual ~HcalRecHitsClient()
Definition: Run.h:33