]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGUD/DIFFRACTIVE/xsAndTwoProng/AliCDMesonTracks.cxx
bug fix / Coverity 20826
[u/mrichter/AliRoot.git] / PWGUD / DIFFRACTIVE / xsAndTwoProng / AliCDMesonTracks.cxx
index ae6e74bd96143d71dbcf91c34082c92dfabfec69..8f6125266221bdebb285978954bd2d06948053f6 100644 (file)
@@ -442,7 +442,7 @@ void AliCDMesonTracks::GetRemainingTracklets()
                        if (!mult->GetTrackletTrackIDs(iTracklet, 0, id1, id2)) {
                                float_t eta = mult->GetEta(iTracklet);
 
-                               if ((eta < -0.9) || (eta < 0.9)) {
+                               if ((eta < -0.9) || (eta > 0.9)) {
                                        ++fNtrackletsForward;
                                }
                                else {