CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalDigiTester.h
Go to the documentation of this file.
1 #ifndef HCALDIGITESTER_H
2 #define HCALDIGITESTER_H
3 
4 // user include files
5 
9 
13 #include <map>
15 
17 public:
18 
19  explicit HcalDigiTester(const edm::ParameterSet&);
21  virtual void analyze(const edm::Event&, const edm::EventSetup&);
22  virtual void beginJob() ;
23  template<class Digi> void reco(const edm::Event&, const edm::EventSetup&);
24  virtual void endRun() ;
25  virtual void endJob() ;
26 
27  private:
28 
29  double dR(double eta1, double phi1, double eta2, double phi2);
30  void eval_occupancy();
31 
32  // choose the correct subdet
34 
36 
38  std::string outputFile_;
39  std::string hcalselector_;
40  std::string zside_;
41  std::string mode_;
42  std::string mc_;
43  int noise_;
44 // flag to distinguish between
45  // particular subdet only case and "global" noise one
46 
49  float pedvalue;
50  int nevent1;
51  int nevent2;
52  int nevent3;
53  int nevent4;
54  int nevtot;
55  std::map<std::string, HcalSubdetDigiMonitor*> monitors_;
56 
57 };
58 
59 #endif
60 
virtual void analyze(const edm::Event &, const edm::EventSetup &)
HcalSubdetDigiMonitor * monitor()
edm::ESHandle< CaloGeometry > geometry
std::string hcalselector_
std::string mode_
std::string mc_
HcalDigiTester(const edm::ParameterSet &)
std::map< std::string, HcalSubdetDigiMonitor * > monitors_
edm::ESHandle< HcalDbService > conditions
double dR(double eta1, double phi1, double eta2, double phi2)
virtual void endJob()
virtual void endRun()
edm::InputTag inputTag_
virtual void beginJob()
void reco(const edm::Event &, const edm::EventSetup &)
std::string zside_
DQMStore * dbe_
std::string outputFile_