CMS 3D CMS Logo

PhotonsWithConversionsAnalyzer.h
Go to the documentation of this file.
1 #ifndef PhotonsWithConversionsAnalyzer_H
2 #define PhotonsWithConversionsAnalyzer_H
4 
7 
8 #include <map>
9 #include <vector>
10 
11 // forward declarations
12 class TFile;
13 class TH1F;
14 class TH2F;
15 class TProfile;
16 class TTree;
17 class SimVertex;
18 class SimTrack;
19 
21 public:
22  //
25 
26  void analyze(const edm::Event&, const edm::EventSetup&) override;
27  void beginJob() override;
28  void endJob() override;
29 
30 private:
31  float etaTransformation(float a, float b);
32 
33  //
35 
37  TFile* fOutputFile_;
38 
39  int nEvt_;
40  int nMCPho_;
41  int nMatched_;
42 
47 
50 
51  TH1F* h_ErecoEMC_;
52  TH1F* h_deltaPhi_;
53  TH1F* h_deltaEta_;
54 
56  TH1F* h_MCphoE_;
57  TH1F* h_MCphoPhi_;
58  TH1F* h_MCphoEta_;
59 
61  TH1F* h_MCConvE_;
62  TH1F* h_MCConvPt_;
63  TH1F* h_MCConvEta_;
64 
65  // SC from reco photons
66  TH1F* h_scE_;
67  TH1F* h_scEt_;
68  TH1F* h_scEta_;
69  TH1F* h_scPhi_;
70  //
71  TH1F* h_phoE_;
72  TH1F* h_phoEta_;
73  TH1F* h_phoPhi_;
74  //
75  // All tracks from reco photons
77  //
79 };
80 
81 #endif
PhotonsWithConversionsAnalyzer(const edm::ParameterSet &)
double b
Definition: hdecay.h:118
void analyze(const edm::Event &, const edm::EventSetup &) override
double a
Definition: hdecay.h:119