8 #ifndef UEAnalysisOnRootple_h
9 #define UEAnalysisOnRootple_h
21 #include <TClonesArray.h>
22 #include <TObjString.h>
242 virtual Int_t
Cut(Long64_t entry);
243 virtual Int_t
GetEntry(Long64_t entry);
244 virtual Long64_t
LoadTree(Long64_t entry);
247 virtual void BeginJob(
char* outname);
251 virtual void Show(Long64_t entry = -1);
271 #ifdef UEAnalysisOnRootple_cxx
275 std::cout <<
"UEAnalysisOnRootple constructor " <<std::endl;
281 delete fChain->GetCurrentFile();
288 return fChain->GetEntry(entry);
294 Long64_t centry =
fChain->LoadTree(entry);
295 if (centry < 0)
return centry;
296 if (!
fChain->InheritsFrom(TChain::Class()))
return centry;
297 TChain *chain = (TChain*)
fChain;
298 if (chain->GetTreeNumber() !=
fCurrent) {
virtual void UEAnalysisMC(Float_t weight, std::string tkpt)
TProfile * pdN_vs_ptJAwayMC
TProfile * calib_chginc_eta
TBranch * b_NumberMCParticles
virtual void MPIAnalysisRECO(Float_t weight, std::string tkpt)
TProfile * pdPt_vs_ptCJAwayRECO
TBranch * b_NumberInclusiveJet
TBranch * b_NumberChargedJet
TProfile * calib_chgcalo_eta
Float_t CorrectionNToward(Float_t ptReco, std::string tkpt)
Float_t CorrectionPtToward(Float_t ptReco, std::string tkpt)
TProfile * pdN_vs_ptCJTransRECO
Float_t TrasverseMomentumIJ[1000]
TProfile * pdN_vs_ptJTransMaxRECO
Float_t CorrectionNAway(Float_t ptReco, std::string tkpt)
TBranch * b_TransverseMomentumMC
TProfile * pdPt_vs_ptCJTowardRECO
TProfile * pdPt_vs_ptJTransMaxMC
virtual void JetCalibAnalysis(Float_t weight, std::string tkpt)
TProfile * pdN_vs_ptJAwayRECO
TProfile * pdN_vs_ptJTowardMC
Float_t TrasverseMomentumTJ[1000]
TProfile * calib_chgmcreco_phi
virtual ~UEAnalysisOnRootple()
TProfile * pdN_vs_ptCJTransMinRECO
TProfile * pdN_vs_ptJTowardRECO
Float_t TrasverseMomentumEHJ[1000]
TProfile * pPtRatio_vs_EtaJleadMC
TProfile * pdN_vs_dphiRECO
TProfile * pdPt_vs_ptJTowardMC
TProfile * pPtRatio_vs_PtJleadRECO
TH1D * fdPhiLeadingPairRECO
TProfile * pdN_vs_ptJTransMinRECO
TProfile * pPtRatio_vs_PtJleadMC
TProfile * pdPt_vs_dphiRECO
TProfile * pdPt_vs_ptJTowardRECO
TProfile * pdN_vs_ptJTransMaxMC
TProfile * pdPt_vs_ptJAwayMC
TProfile * calib_chgmcreco_eta
Int_t fCurrent
pointer to the analyzed TTree or TChain
TProfile * pdN_vs_ptCJAwayRECO
TH1D * fdPhiLeadingPairMC
TProfile * calib_caloinc_phi
virtual void BeginJob(char *outname)
TH1D * fptRatioLeadingPairRECO
Float_t CorrectionNTrans(Float_t ptReco, std::string tkpt)
TBranch * b_acceptedTriggers
TH1D * fptRatioLeadingPairMC
virtual void Loop(Float_t we, Float_t triggerPt, std::string type, std::string trigger, std::string tkpt)
Float_t TransverseMomentumMC[1000]
Float_t CorrectionPtTrans(Float_t ptReco, std::string tkpt)
virtual void Init(TTree *tree)
Float_t TrasverseMomentumCJ[1000]
Int_t EventKind
current Tree number in a TChain
TProfile * pdPt_vs_ptJTransMinMC
TBranch * b_TrasverseMomentumEHJ
TProfile * pPtRatio_vs_PhiJleadMC
virtual Int_t GetEntry(Long64_t entry)
TBranch * b_TrasverseMomentumTJ
TProfile * pdPt_vs_ptJTransMinRECO
TProfile * pdN_vs_ptJTransMinMC
TProfile * pdN_vs_ptCJTransMaxRECO
TH2D * h2d_dN_vs_ptJTransMC
virtual Int_t Cut(Long64_t entry)
TProfile * pdPt_vs_dphiMC
TBranch * b_NumberTracksJet
TProfile * pdPt_vs_ptJTransMC
Float_t MomentumEHJ[1000]
TProfile * pdN_vs_ptCJTowardRECO
Float_t CalibrationPt(Float_t ptReco, std::string tkpt)
virtual void MultiAnalysis(char *filelist, char *outname, Float_t weight[13], Float_t eta, Float_t triggerPt, std::string type, std::string trigger, std::string tkpt, Float_t ptCut)
TH1D * fdEtaLeadingPairMC
TProfile * calib_caloinc_eta
TProfile * pPtRatio_vs_PhiJleadRECO
TClonesArray * acceptedTriggers
TProfile * pdPt_vs_ptCJTransMinRECO
TProfile * pdN_vs_ptJTransMC
TProfile * pdN_vs_etaRECO
virtual Long64_t LoadTree(Long64_t entry)
virtual void MPIAnalysisMC(Float_t weight, std::string tkpt)
TProfile * pdPt_vs_ptJTransMaxRECO
virtual void UEAnalysisRECO(Float_t weight, std::string tkpt)
TProfile * calib_chginc_phi
TProfile * calib_chgcalo_phi
TProfile * pdN_vs_ptJTransRECO
TProfile * pdPt_vs_ptJAwayRECO
TBranch * b_NumberCaloJet
TBranch * b_TrasverseMomentumTK
TProfile * pdPt_vs_ptCJTransRECO
TProfile * pdPt_vs_ptCJTransMaxRECO
TBranch * b_TrasverseMomentumIJ
virtual void Show(Long64_t entry=-1)
TProfile * pPtRatio_vs_EtaJleadRECO
TProfile * pdPt_vs_ptJTransRECO
Float_t CorrectionPtAway(Float_t ptReco, std::string tkpt)
TH1D * fdEtaLeadingPairRECO
TProfile * calib_chgmcreco
Float_t TrasverseMomentumTK[1000]
TBranch * b_TrasverseMomentumCJ