CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimplePhotonAnalyzer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_Examples_SimplePhotonAnalyzer_h
2 #define RecoEcal_Examples_SimplePhotonAnalyzer_h
3 
9 //
10 //
11 
12 
13 // system include files
14 #include <memory>
15 
18 
19 // user include files
28 
29 
31 
32 #include <string>
33 #include "TH1.h"
34 #include "TProfile.h"
35 class TFile;
36 
37 
39  public:
40  explicit SimplePhotonAnalyzer( const edm::ParameterSet& );
42 
43 
44  virtual void analyze( const edm::Event&, const edm::EventSetup& );
45  virtual void beginJob();
46  virtual void endJob();
47  private:
48 
49  float etaTransformation( float a, float b);
50 
59 
61 
63  float sample_;
64 
66 
67 
86 
87 
88 
93 
94 
95 
96 
97 
98 };
99 #endif
float etaTransformation(float a, float b)
MonitorElement * h1_scEta_
MonitorElement * h1_deltaPhi_
edm::InputTag pfEgammaCandidates_
MonitorElement * h1_pho_R9Barrel_
MonitorElement * h1_pho_Eta_
MonitorElement * h1_pho_hcalIsoEndcap_
MonitorElement * h1_recEoverTrueEEndcap_
MonitorElement * h1_recEoverTrueEBarrel_
edm::ESHandle< CaloTopology > theCaloTopo_
MonitorElement * h1_pho_trkIsoBarrel_
MonitorElement * h1_pho_E_
MonitorElement * h1_deltaEta_
MonitorElement * h1_pho_trkIsoEndcap_
SimplePhotonAnalyzer(const edm::ParameterSet &)
MonitorElement * h1_pho_hcalIsoBarrel_
MonitorElement * h1_pho_Phi_
MonitorElement * h1_pho_sigmaIetaIetaBarrel_
MonitorElement * h1_pho_hOverEEndcap_
double b
Definition: hdecay.h:120
MonitorElement * h1_pho_R9Endcap_
double a
Definition: hdecay.h:121
MonitorElement * h1_pho_ecalIsoBarrel_
MonitorElement * h1_pho_ecalIsoEndcap_
MonitorElement * h1_pho_sigmaIetaIetaEndcap_
MonitorElement * h1_deltaEtaSC_
MonitorElement * h1_pho_Et_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::string photonCollectionProducer_
MonitorElement * h1_pho_hOverEBarrel_