CMS 3D CMS Logo

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