From 6e32ac3dabd31dd1eefcf87e166d28e99ddbd3e2 Mon Sep 17 00:00:00 2001 From: cnattras Date: Mon, 26 May 2014 17:48:25 -0400 Subject: [PATCH] Another fix to run over pPb --- .../hadEt/ConfigHadEtMonteCarlopPb5TeV.C | 39 +++++++++++++++++++ .../hadEt/ConfigHadEtReconstructedpPb5TeV.C | 21 ++++++++++ 2 files changed, 60 insertions(+) create mode 100644 PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C create mode 100644 PWGLF/totEt/macros/hadEt/ConfigHadEtReconstructedpPb5TeV.C diff --git a/PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C b/PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C new file mode 100644 index 00000000000..fcb548333a7 --- /dev/null +++ b/PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C @@ -0,0 +1,39 @@ + +AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){ + //cout<<"Hello I am configuring you"<InvestigateSmearing(kTRUE); + + //Turns off O(100) histograms that we do not normally use + hadEtMC->RunLightweight(kFALSE); + + //Whether or not to look at Et(sim)-Et(reco) for full acceptance + hadEtMC->InvestigateFull(kTRUE); + + //Whether or not to look at Et(sim)-Et(reco) for EMCAL acceptance + hadEtMC->InvestigateEMCAL(kFALSE); + + //Whether or not to look at Et(sim)-Et(reco) for PHOS acceptance + hadEtMC->InvestigatePHOS(kFALSE); + + //Whether or not to look at Et(sim)-Et(reco) for Pi/K/p in full acceptance (full acceptance must be turned on) + hadEtMC->InvestigatePiKP(kTRUE); + + //Look at ITS+TPC tracks + hadEtMC->RequireITSHits(kTRUE); + + //Look at the 2010 p+p data... + hadEtMC->SetDataSet(2013); + hadEtMC->SetV0ScaleDataSet(2013); + + //Turn baryon enhancement on and off + hadEtMC->EnhanceBaryons(kTRUE); + + //Do trigger checks + hadEtMC->DoTriggerChecks(); + + hadEtMC->Init(); + return hadEtMC; +} diff --git a/PWGLF/totEt/macros/hadEt/ConfigHadEtReconstructedpPb5TeV.C b/PWGLF/totEt/macros/hadEt/ConfigHadEtReconstructedpPb5TeV.C new file mode 100644 index 00000000000..60be75ac0ad --- /dev/null +++ b/PWGLF/totEt/macros/hadEt/ConfigHadEtReconstructedpPb5TeV.C @@ -0,0 +1,21 @@ + +AliAnalysisHadEtReconstructed * ConfigHadEtReconstructed(){ + //cout<<"Hello I am configuring you"<SetDataSet(2013); + //Set corrections... + + TFile *infile = new TFile("corrections.root"); + corrections = (AliAnalysisHadEtCorrections *)infile->Get("hadCorrectionEMCAL"); + cout<<"Setting the AliAnalysisHadEtCorrections to "<GetName()<GetEtaCut()<SetCorrections(corrections); + + + //Do trigger checks + hadEtReco->DoTriggerChecks(); + + hadEtReco->Init(); + return hadEtReco; +} + -- 2.43.0