CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSimHitsClient.h
Go to the documentation of this file.
1 #ifndef ValidationHcalSimHitsClient_H
2 #define ValidationHcalSimHitsClient_H
3 
4 // -*- C++ -*-
5 //
6 //
7 /*
8  Description: This is a SImHit CLient code
9 */
10 
11 //
12 // Originally create by: Bhawna Gomber
13 //
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  static const int nType = 25;
47  static const int nTime = 4;
48  static const int nType1 = 4;
49 
51 
52  public:
53  explicit HcalSimHitsClient(const edm::ParameterSet& );
54  virtual ~HcalSimHitsClient();
55 
56  virtual void beginJob(void);
57  virtual void endJob();
58  virtual void beginRun(const edm::Run& run, const edm::EventSetup& c);
59  virtual void endRun(const edm::Run& run, const edm::EventSetup& c);
60  virtual void analyze(const edm::Event&, const edm::EventSetup&);
61  virtual void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
62  virtual void runClient_();
63 
64  int SimHitsEndjob(const std::vector<MonitorElement*> &hcalMEs);
65 
66 };
67 
68 #endif
virtual void runClient_()
static const int nType1
virtual void analyze(const edm::Event &, const edm::EventSetup &)
int SimHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
virtual void endRun(const edm::Run &run, const edm::EventSetup &c)
static const int nType
edm::ParameterSet conf_
std::string outputFile_
virtual void beginJob(void)
virtual ~HcalSimHitsClient()
static const int nTime
virtual void endJob()
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
HcalSimHitsClient(const edm::ParameterSet &)
Definition: Run.h:41