Modified macros for TOF analysis of K* in pA for possibility to use daughter's pt...
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Aug 2013 10:12:43 +0000 (10:12 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Aug 2013 10:12:43 +0000 (10:12 +0000)
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskTOFKStar_pA.C

index b620aaa..ceeb00a 100644 (file)
@@ -34,7 +34,8 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTOFKStar_pA
    TString     monitorOpt = "",
    Double_t    minYlab =  0.465,
    Double_t    maxYlab =  0.965,
-   Bool_t      useMixLS = 0
+   Bool_t      useMixLS = 0,
+   AliRsnMiniValue::EType yaxisvar = AliRsnMiniValue::kPt                
 )
 {  
   //
@@ -125,7 +126,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTOFKStar_pA
        Printf("========================== MC analysis - PID cuts used");
    } else 
      Printf("========================== DATA analysis - PID cuts used");
-   if (!ConfigTOFanalysisKStar(task, isMC, isPP, "", cutsPair, aodFilterBit, cutPiCandidate, cutKaCandidate, nsigmaPi, nsigmaKa, enableMonitor, isMC&IsMcTrueOnly, useMixLS, signedPdg, monitorOpt.Data())) return 0x0;
+   if (!ConfigTOFanalysisKStar(task, isMC, isPP, "", cutsPair, aodFilterBit, cutPiCandidate, cutKaCandidate, nsigmaPi, nsigmaKa, enableMonitor, isMC&IsMcTrueOnly, useMixLS, signedPdg, monitorOpt.Data(), yaxisvar)) return 0x0;
    
    //
    // -- CONTAINERS --------------------------------------------------------------------------------