]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
filter like-sign V0s and min number of cluster selection (H.Ricaud)
authorbhippoly <bhippoly@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Nov 2009 13:28:42 +0000 (13:28 +0000)
committerbhippoly <bhippoly@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Nov 2009 13:28:42 +0000 (13:28 +0000)
PWG2/SPECTRA/AliAnalysisTaskStrange.cxx

index bdf36f1a743a86dcb533b2f1929a851a78b8e2d2..fcee14e6ff3ce72b42e03b461d5f72ac721ba7fc 100644 (file)
@@ -305,7 +305,13 @@ void AliAnalysisTaskStrange::UserExec(Option_t *)
        if (!pTrack || !nTrack) {
          Printf("ERROR: Could not retreive one of the daughter track");
          continue;
-       }       
+       }
+
+       // Remove like-sign
+       if ( pTrack->GetSign() == nTrack->GetSign()){
+         //cout<< "like sign, continue"<< endl;
+         continue;
+       } 
 
        // Tracks quality cuts 
        if ( ( (pTrack->GetTPCNcls()) < 80 ) || ( (nTrack->GetTPCNcls()) < 80 ) ) continue;