Added generalisation of y-cut for pairs
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 May 2013 08:18:25 +0000 (08:18 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 May 2013 08:18:25 +0000 (08:18 +0000)
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskTOFKStar_pA.C

index e32374e..bb8d740 100644 (file)
@@ -36,7 +36,9 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTOFKStar_pA
    TString     outNameSuffix = "",
    Bool_t      useMixLS = 0,
    Int_t       signedPdg = 313,
-   TString     monitorOpt = ""
+   TString     monitorOpt = "",
+   Double_t    minYlab =  0.465,
+   Double_t    maxYlab =  0.965
 )
 {  
   //
@@ -117,7 +119,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTOFKStar_pA
    // -- PAIR CUTS (common to all resonances) ------------------------------------------------------
    //
    AliRsnCutMiniPair *cutY = new AliRsnCutMiniPair("cutRapidity", AliRsnCutMiniPair::kRapidityRange);
-   cutY->SetRangeD(-0.032, 0.968); //   cutY->SetRangeD(-0.5, 0.5);
+   cutY->SetRangeD(minYlab,maxYlab); //   cutY->SetRangeD(-0.5, 0.5);
    
    AliRsnCutSet *cutsPair = new AliRsnCutSet("pairCuts", AliRsnTarget::kMother);
    cutsPair->AddCut(cutY);