update from Sandun
authorlmilano <lmilano@cern.ch>
Mon, 28 Apr 2014 12:05:34 +0000 (14:05 +0200)
committerlmilano <lmilano@cern.ch>
Mon, 28 Apr 2014 12:05:34 +0000 (14:05 +0200)
PWGCF/Correlations/DPhi/AliLeadingV0Correlation.cxx

index 4f5a4c9..7d4a6ae 100644 (file)
@@ -1104,6 +1104,7 @@ void AliLeadingV0Correlation::Terminate(Option_t *)
 //---------------------------------------------------------------------------------------
 Bool_t AliLeadingV0Correlation::IsAcseptedDaughterTrack(const AliAODTrack *itrack)
 {      
+       if(fCase==1 || fCase==2)
        if(TMath::Abs(itrack->Eta())>fTrackEtaCut)return kFALSE;
        
        if (!itrack->IsOn(AliAODTrack::kTPCrefit)) return kFALSE;