From 9277d10a55a70a9242a4e97dc89ea3bcf842aa46 Mon Sep 17 00:00:00 2001 From: skowron Date: Sat, 6 Sep 2003 14:00:10 +0000 Subject: [PATCH] Bug correction --- HBTAN/AliHBTAnalysis.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HBTAN/AliHBTAnalysis.cxx b/HBTAN/AliHBTAnalysis.cxx index d120bd03aad..28e2feadae5 100644 --- a/HBTAN/AliHBTAnalysis.cxx +++ b/HBTAN/AliHBTAnalysis.cxx @@ -337,7 +337,7 @@ void AliHBTAnalysis::ProcessTracksAndParticles() // } Bool_t firstcut = fPairCut->GetFirstPartCut()->Pass(part1); - if (fBufferSize == 0) + if (fBufferSize != 0) if ( (firstcut == kFALSE) || (fPairCut->GetSecondPartCut()->Pass(part1) == kFALSE) ) { //accepted by any cut @@ -500,7 +500,7 @@ void AliHBTAnalysis::ProcessTracks() track1= trackEvent->GetParticle(j); Bool_t firstcut = fPairCut->GetFirstPartCut()->Pass(track1); - if (fBufferSize == 0) //useless in case + if (fBufferSize != 0) if ( (firstcut == kFALSE) || (fPairCut->GetSecondPartCut()->Pass(track1) == kFALSE) ) { //accepted by any cut @@ -628,7 +628,7 @@ void AliHBTAnalysis::ProcessParticles() part1 = partEvent->GetParticle(j); Bool_t firstcut = fPairCut->GetFirstPartCut()->Pass(part1); - if (fBufferSize == 0) //useless in case + if (fBufferSize != 0) //useless in case if ( (firstcut == kFALSE) || (fPairCut->GetSecondPartCut()->Pass(part1) == kFALSE) ) { //accepted by any cut -- 2.39.3