CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PreshowerAnalyzer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_PreshowerAnalyzer_h
2 #define RecoEcal_EgammaClusterProducers_PreshowerAnalyzer_h
3 
10 //
11 // $Id: PreshowerAnalyzer.h,v 1.4 2009/12/18 20:45:01 wmtan Exp $
12 //
13 
14 
15 // system include files
16 #include <memory>
17 
18 // user include files
21 
24 
26 
27 #include <string>
28 #include "TH1.h"
29 class TFile;
30 
31 //
32 // class declaration
33 //
34 
36 
37 public:
38  explicit PreshowerAnalyzer( const edm::ParameterSet& );
40 
41  virtual void analyze( const edm::Event&, const edm::EventSetup& );
42  virtual void beginJob();
43  virtual void endJob();
44 
45  private:
46 
47  int nEvt_; // internal counter of events
48 
49  float EminDE_;
50  float EmaxDE_;
51  int nBinDE_;
52  float EminSC_;
53  float EmaxSC_;
54  int nBinSC_;
55 
56  std::string preshClusterCollectionX_; // secondary name to be given to collection of cluster produced in this module
59 
60  double calib_planeX_;
61  double calib_planeY_;
62  double mip_;
63  double gamma_;
64 
65  // association parameters:
68 
71 
72  TH1F* h1_esE_x;
73  TH1F* h1_esE_y;
74  TH1F* h1_esEta_x;
75  TH1F* h1_esEta_y;
76  TH1F* h1_esPhi_x;
77  TH1F* h1_esPhi_y;
78  TH1F* h1_esNhits_x;
79  TH1F* h1_esNhits_y;
80  TH1F* h1_esDeltaE;
81  TH1F* h1_nclu_x;
82  TH1F* h1_nclu_y;
85 
86  std::string outputFile_; // output file
87  TFile* rootFile_;
88 
89 };
90 #endif
std::string preshClusterProducer_
std::string islandEndcapSuperClusterProducer2_
std::string preshClusterCollectionX_
std::string preshClusterCollectionY_
std::string islandEndcapSuperClusterCollection2_
std::string outputFile_
std::string islandEndcapSuperClusterCollection1_
virtual void endJob()
virtual void beginJob()
PreshowerAnalyzer(const edm::ParameterSet &)
std::string islandEndcapSuperClusterProducer1_
virtual void analyze(const edm::Event &, const edm::EventSetup &)