]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Another fix to run over pPb
authorcnattras <saccharomyces.cerevisae@gmail.com>
Mon, 26 May 2014 21:48:25 +0000 (17:48 -0400)
committercnattras <saccharomyces.cerevisae@gmail.com>
Mon, 26 May 2014 21:48:25 +0000 (17:48 -0400)
PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C [new file with mode: 0644]
PWGLF/totEt/macros/hadEt/ConfigHadEtReconstructedpPb5TeV.C [new file with mode: 0644]

diff --git a/PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C b/PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C
new file mode 100644 (file)
index 0000000..fcb5483
--- /dev/null
@@ -0,0 +1,39 @@
+
+AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
+  //cout<<"Hello I am configuring you"<<endl;
+  cout<<"You are analyzing 5 TeV p+Pb simulations"<<endl;
+  AliAnalysisHadEtMonteCarlo *hadEtMC = new AliAnalysisHadEtMonteCarlo();
+  //Whether or not to investigate the effects of efficiency, momentum resolution, PID, etc.
+  hadEtMC->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 (file)
index 0000000..60be75a
--- /dev/null
@@ -0,0 +1,21 @@
+
+AliAnalysisHadEtReconstructed * ConfigHadEtReconstructed(){
+  //cout<<"Hello I am configuring you"<<endl;
+  AliAnalysisHadEtReconstructed *hadEtReco = new AliAnalysisHadEtReconstructed();
+  hadEtReco->SetDataSet(2013);
+  //Set corrections...
+
+  TFile *infile = new TFile("corrections.root");
+  corrections = (AliAnalysisHadEtCorrections *)infile->Get("hadCorrectionEMCAL");
+  cout<<"Setting the AliAnalysisHadEtCorrections to "<<corrections->GetName()<<endl;
+  cout<<"eta cut is "<<corrections->GetEtaCut()<<endl;
+  hadEtReco->SetCorrections(corrections);
+
+
+  //Do trigger checks
+  hadEtReco->DoTriggerChecks();
+
+  hadEtReco->Init();
+  return hadEtReco;
+}
+