]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/ForwardAODConfig.C
Disable secondary corrrection by default, allow override from train
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / ForwardAODConfig.C
index d2a7930fd94d5dab24e107e7b407f7c3345e445a..231a786c8a4890681cc6fc1501c2a268186e1a46 100644 (file)
@@ -179,8 +179,10 @@ ForwardAODConfig(AliForwardMultiplicityBase* task)
     .SetUsePhiAcceptance(AliFMDDensityCalculator::kPhiCorrectNch);
 
   // --- Corrector ---------------------------------------------------
-  // Whether to use the secondary map correction
-  task->GetCorrections().SetUseSecondaryMap(true);
+  // Whether to use the secondary map correction.  By default we turn
+  // off secondary correction for normal data, and on for simulated
+  // data.
+  task->GetCorrections().SetUseSecondaryMap(mc);
   // Whether to use the vertex bias correction (deprecated)
   task->GetCorrections().SetUseVertexBias(false);
   // Whether to use the acceptance correction from dead-strips (deprecated)