CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaSimpleAnalyzer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_EgammaSimpleAnalyzer_h
2 #define RecoEcal_EgammaClusterProducers_EgammaSimpleAnalyzer_h
3 
10 //
11 // $Id: EgammaSimpleAnalyzer.h,v 1.8 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  public:
37  explicit EgammaSimpleAnalyzer( const edm::ParameterSet& );
39 
40 
41  virtual void analyze( const edm::Event&, const edm::EventSetup& );
42  virtual void beginJob();
43  virtual void endJob();
44  private:
45 
46  std::string outputFile_; // output file
47 
51 
55 
58 
61 
64 
67 
68  // root file to store histograms
69  TFile* rootFile_;
70 
71  // min and max of energy histograms
72  double xMinHist_;
73  double xMaxHist_;
74  int nbinHist_;
75 
76  // data members for histograms to be filled
77 
78  // per event quantities
83 
88 
92 
97 
104 
105 };
106 #endif
std::string islandEndcapSuperClusterCollection_
std::string correctedHybridSuperClusterProducer_
EgammaSimpleAnalyzer(const edm::ParameterSet &)
std::string islandEndcapBasicClusterShapes_
std::string correctedIslandEndcapSuperClusterCollection_
std::string islandEndcapSuperClusterProducer_
std::string islandEndcapBasicClusterProducer_
std::string islandBarrelBasicClusterCollection_
std::string islandEndcapBasicClusterCollection_
std::string islandBarrelBasicClusterProducer_
std::string islandBarrelBasicClusterShapes_
std::string hybridSuperClusterProducer_
std::string hybridSuperClusterCollection_
std::string correctedHybridSuperClusterCollection_
std::string correctedIslandEndcapSuperClusterProducer_
virtual void analyze(const edm::Event &, const edm::EventSetup &)