ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/SCerci/interface/ForwardJet.h
Revision: 1.1
Committed: Thu Jul 19 09:18:28 2007 UTC (17 years, 9 months ago) by salim
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# Content
1 /////////////////////////////////////////////////////
2 // //
3 // Original Author: Salim Cerci //
4 // Created: Mon Jul 16 18:50:23 CET 2007 //
5 // //
6 // //
7 /////////////////////////////////////////////////////
8 #ifndef ForwardJet_H
9 #define ForwardJet_H
10
11
12 #include <memory>
13 #include "FWCore/MessageLogger/interface/MessageLogger.h"
14 #include "FWCore/Framework/interface/EDAnalyzer.h"
15 #include "FWCore/Framework/interface/Frameworkfwd.h"
16 #include "FWCore/Framework/interface/Event.h"
17 #include "FWCore/Framework/interface/MakerMacros.h"
18 #include "FWCore/ParameterSet/interface/ParameterSet.h"
19
20 class TTree;
21 class TF1;
22 class TFile;
23 class TH1D;
24 class TH2D;
25 class TProfile;
26 class TH2F;
27
28 class ForwardJet : public edm::EDAnalyzer
29 {
30
31 public:
32
33 //
34 explicit ForwardJet( const edm::ParameterSet& ) ;
35 virtual ~ForwardJet() {} // no need to delete ROOT stuff
36 // as it'll be deleted upon closing TFile
37
38 virtual void analyze( const edm::Event&, const edm::EventSetup&) ;
39 virtual void beginJob( const edm::EventSetup& ) ;
40 virtual void endJob() ;
41 float delR(const float&,const float&,const float&,const float&);
42 int determineIndex( double* , double , int );
43 private:
44
45 //
46 std::string fOutputFileName;
47 std::string objectAnalyzed;
48
49 TFile* fOutputFile;
50 TTree* RecGenTree;
51 TH2D* distX_hf;
52 TH2D* distX_castor;
53 TH1D* checkdistX_hf;
54 TH1D* ptGen;
55 TH1D* yGen;
56 TH1D* phiGen;
57 TH1D* EGen;
58 TH1D* ptCalo;
59 TH1D* yCalo;
60 TH1D* phiCalo;
61 TH1D* ECalo;
62 TH1D* trueRecoJet;
63 TH1D* ratioE;
64 TH1D* sigmaErEm;
65 TH1D* pid_highx_parton;
66 TH1D* RecJetEt_cut;
67 TH1D* EThist[11];
68 TH1D* Etahist[11];
69 TH1D* Phihist[11];
70 TH1D* EGen_hf;
71 TH1D* ECalo_hf;
72 TH1D* ERec;
73 TH1D* checkX;
74 TProfile* RatioE_vs_Eta;
75 TProfile* RatioE_vs_E;
76 TProfile* RatioE_hf_vs_Eta;
77 TProfile* RatioE_hf_vs_E;
78 int nbreBins;
79 int nbinspt;
80 int nbinsphi;
81 int nbinsE;
82 int nbinsEta;
83 int nbinsBjoX;
84 double ptmin; //GeV
85 double ptmax; //GeV
86 double ymin;
87 double ymax;
88 double BjoXmin;
89 double BjoXmax;
90 double phimin;
91 double phimax ;
92 double Emin; //GeV
93 double Emax; //GeV
94 double ETCut; //GeV
95 double threeshold;
96 double sqrts;//Gev
97 float BjoX;//Bjorken-x
98 char nameHist [50];
99 char nameHist1 [50];
100 char nameHist2 [50];
101 char label [500];
102 char label1 [500];
103 char label2 [500];
104 int countD;
105 int trueIndex;
106 double limBins[11];
107 double ESim;
108 };
109 #endif