CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalSimple2007H4TBAnalyzer.h
Go to the documentation of this file.
1 #ifndef ECALSIMPLE2007H4TBANALYZER_H
2 #define ECALSIMPLE2007H4TBANALYZER_H
3 
11 //
12 // $Id: EcalSimple2007H4TBAnalyzer.h,v 1.1 2008/11/26 14:49:25 meridian Exp $
13 //
14 
15 
16 
17 // system include files
18 #include <memory>
19 
20 // user include files
23 
26 
31 
33 
34 #include <string>
35 //#include "TTree.h"
36 #include "TH1.h"
37 #include "TGraph.h"
38 #include "TH2.h"
39 #include<fstream>
40 #include<map>
41 //#include<stl_pair>
42 
43 
44 
46  public:
49 
50 
51  virtual void analyze( edm::Event const &, edm::EventSetup const & );
52  virtual void beginRun(edm::Run const &, edm::EventSetup const&);
53  virtual void endJob();
54  private:
55  std::string rootfile_;
56  std::string digiCollection_;
57  std::string digiProducer_;
58  std::string hitCollection_;
59  std::string hitProducer_;
61  std::string hodoRecInfoProducer_;
62  std::string tdcRecInfoCollection_;
63  std::string tdcRecInfoProducer_;
65  std::string eventHeaderProducer_;
66 
67  // Amplitude vs TDC offset
68  TH2F* h_ampltdc;
69 
70  TH2F* h_Shape_;
71 
72  // Reconstructed energies
74  TH1F* h_e1x1;
75  TH1F* h_e3x3;
76  TH1F* h_e5x5;
77 
79  TH1F* h_e3x3_center;
80  TH1F* h_e5x5_center;
81 
82  TH1F* h_e1e9;
83  TH1F* h_e1e25;
84  TH1F* h_e9e25;
85 
86  TH1F* h_S6;
87  TH1F* h_bprofx;
88  TH1F* h_bprofy;
89 
90  TH1F* h_qualx;
91  TH1F* h_qualy;
92 
93  TH1F* h_slopex;
94  TH1F* h_slopey;
95 
96  TH2F* h_mapx[25];
97  TH2F* h_mapy[25];
98 
99  TH2F* h_e1e9_mapx;
100  TH2F* h_e1e9_mapy;
101 
104 
107 
111 
113 };
114 
115 
116 
117 #endif
EcalSimple2007H4TBAnalyzer(const edm::ParameterSet &)
virtual void analyze(edm::Event const &, edm::EventSetup const &)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: Run.h:31