CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/QCDAnalysis/UEAnalysis/root/UEAnalysisUE.h

Go to the documentation of this file.
00001 #ifndef UEAnalysisUE_h
00002 #define UEAnalysisUE_h
00003 
00004 #include <iostream>
00005 #include <fstream>
00006 #include <string>
00007 #include <vector>
00008 #include <TFile.h>
00009 
00010 #include <TH1F.h>
00011 #include <TH2D.h>
00012 #include <TLorentzVector.h>
00013 #include <TProfile.h>
00014 
00015 #include <TClonesArray.h>
00016 
00017 #include "UEAnalysisCorrCali.h"
00018 
00019 class UEAnalysisUE {
00020  public :
00021 
00022   UEAnalysisUE();
00023   ~UEAnalysisUE(){}
00024 
00025   void ueAnalysisMC(float,std::string,float,float,TClonesArray*,TClonesArray*);
00026   void ueAnalysisRECO(float,std::string,float,float,TClonesArray*,TClonesArray*);
00027 
00028   void Begin(TFile *);
00029 
00030   void writeToFile(TFile *);
00031 
00032   //Underlying Event analysis
00033   TH1F*       fHistPtDistMC;
00034   TH1F*       fHistEtaDistMC;
00035   TH1F*       fHistPhiDistMC;
00036 
00037   TProfile*   pdN_vs_etaMC;
00038   TProfile*   pdN_vs_ptMC;
00039 
00040   TProfile*   pdN_vs_dphiMC;
00041   TProfile*   pdPt_vs_dphiMC;
00042 
00043   // add histo on fluctuation in UE
00044   TH2D*   h2d_dN_vs_ptJTransMC;
00045 
00046 
00047   TProfile*   pdN_vs_ptJTransMC;
00048   TProfile*   pdN_vs_ptJTransMaxMC;
00049   TProfile*   pdN_vs_ptJTransMinMC;
00050   TProfile*   pdPt_vs_ptJTransMC;
00051   TProfile*   pdPt_vs_ptJTransMaxMC;
00052   TProfile*   pdPt_vs_ptJTransMinMC;
00053   TProfile*   pdN_vs_ptJTowardMC;
00054   TProfile*   pdN_vs_ptJAwayMC;
00055   TProfile*   pdPt_vs_ptJTowardMC;
00056   TProfile*   pdPt_vs_ptJAwayMC;
00057 
00058   TH1F*       temp1MC;
00059   TH1F*       temp2MC;
00060   TH1F*       temp3MC;
00061   TH1F*       temp4MC;
00062 
00063   TH1F*       fHistPtDistRECO;
00064   TH1F*       fHistEtaDistRECO;
00065   TH1F*       fHistPhiDistRECO;
00066 
00067   TProfile*   pdN_vs_etaRECO;
00068   TProfile*   pdN_vs_ptRECO;
00069 
00070   TProfile*   pdN_vs_dphiRECO;
00071   TProfile*   pdPt_vs_dphiRECO;
00072 
00073   TProfile*   pdN_vs_ptJTransRECO;
00074   TProfile*   pdN_vs_ptJTransMaxRECO;
00075   TProfile*   pdN_vs_ptJTransMinRECO;
00076   TProfile*   pdPt_vs_ptJTransRECO;
00077   TProfile*   pdPt_vs_ptJTransMaxRECO;
00078   TProfile*   pdPt_vs_ptJTransMinRECO;
00079   TProfile*   pdN_vs_ptJTowardRECO;
00080   TProfile*   pdN_vs_ptJAwayRECO;
00081   TProfile*   pdPt_vs_ptJTowardRECO;
00082   TProfile*   pdPt_vs_ptJAwayRECO;
00083 
00084   TProfile*   pdN_vs_ptCJTransRECO;
00085   TProfile*   pdN_vs_ptCJTransMaxRECO;
00086   TProfile*   pdN_vs_ptCJTransMinRECO;
00087   TProfile*   pdPt_vs_ptCJTransRECO;
00088   TProfile*   pdPt_vs_ptCJTransMaxRECO;
00089   TProfile*   pdPt_vs_ptCJTransMinRECO;
00090   TProfile*   pdN_vs_ptCJTowardRECO;
00091   TProfile*   pdN_vs_ptCJAwayRECO;
00092   TProfile*   pdPt_vs_ptCJTowardRECO;
00093   TProfile*   pdPt_vs_ptCJAwayRECO;
00094 
00095   TH1F*       temp1RECO;
00096   TH1F*       temp2RECO;
00097   TH1F*       temp3RECO;
00098   TH1F*       temp4RECO;
00099   
00100   float piG;
00101 
00102   UEAnalysisCorrCali* cc;
00103 
00104 };
00105 
00106 #endif