]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopp900GeV.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / totEt / macros / hadEt / ConfigHadEtMonteCarlopp900GeV.C
index 8cfc3b38bc5b81a01a11f3f1d4ada492257e7fce..66e0828b55d2ce67ee770ab7e33a11316da5d90e 100644 (file)
@@ -4,7 +4,10 @@ AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
   cout<<"You are analyzing 900 GeV p+p simulations using the 2010 track cuts and 2009 V0 scaling"<<endl;
   AliAnalysisHadEtMonteCarlo *hadEtMC = new AliAnalysisHadEtMonteCarlo();
   //Whether or not to investigate the effects of efficiency, momentum resolution, PID, etc.
-  hadEtMC->InvestigateSmearing(kFALSE);
+  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);
@@ -16,7 +19,7 @@ AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
   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(kFALSE);
+  hadEtMC->InvestigatePiKP(kTRUE);
 
   //Look at ITS+TPC tracks
   hadEtMC->RequireITSHits(kTRUE);
@@ -28,6 +31,9 @@ AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
   //Turn baryon enhancement on and off
   hadEtMC->EnhanceBaryons(kTRUE);
 
+  //Do trigger checks
+  hadEtMC->DoTriggerChecks();
+
   hadEtMC->Init();
   return hadEtMC;
 }