CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalSimpleTBAnalyzer.h
Go to the documentation of this file.
1 #ifndef ECALSIMPLETBANALYZER_H
2 #define ECALSIMPLETBANALYZER_H
3 
11 //
12 // $Id: EcalSimpleTBAnalyzer.h,v 1.5 2010/01/04 15:09:12 ferriff Exp $
13 //
14 
15 
16 
17 // system include files
18 #include <memory>
19 
20 // user include files
23 
26 
31 
32 #include <string>
33 //#include "TTree.h"
34 #include "TH1.h"
35 #include "TGraph.h"
36 #include "TH2.h"
37 #include<fstream>
38 #include<map>
39 //#include<stl_pair>
40 
41 
42 
44  public:
45  explicit EcalSimpleTBAnalyzer( const edm::ParameterSet& );
47 
48 
49  virtual void analyze( const edm::Event&, const edm::EventSetup& );
50  virtual void beginJob();
51  virtual void endJob();
52  private:
53 
54 
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_bprofx;
87  TH1F* h_bprofy;
88 
89  TH1F* h_qualx;
90  TH1F* h_qualy;
91 
92  TH1F* h_slopex;
93  TH1F* h_slopey;
94 
95  TH2F* h_mapx[25];
96  TH2F* h_mapy[25];
97 
98  TH2F* h_e1e9_mapx;
99  TH2F* h_e1e9_mapy;
100 
103 
106 
108 };
109 
110 
111 
112 #endif
std::string hodoRecInfoCollection_
std::string eventHeaderCollection_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
EcalSimpleTBAnalyzer(const edm::ParameterSet &)