From a494460a05bfcd7b5e2d658e24ed919df3a3fd60 Mon Sep 17 00:00:00 2001 From: hristov Date: Fri, 18 Nov 2005 13:04:51 +0000 Subject: [PATCH] Bug fix --- PHOS/AliPHOSTrackSegmentMakerv1.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PHOS/AliPHOSTrackSegmentMakerv1.cxx b/PHOS/AliPHOSTrackSegmentMakerv1.cxx index 69b0bb019eb..df03c7cf4f9 100644 --- a/PHOS/AliPHOSTrackSegmentMakerv1.cxx +++ b/PHOS/AliPHOSTrackSegmentMakerv1.cxx @@ -17,6 +17,9 @@ /* History of cvs commits: * * $Log$ + * Revision 1.77 2005/11/17 23:34:36 hristov + * Corrected logics + * * Revision 1.76 2005/11/17 22:29:12 hristov * Faster version, no attempt to match tracks outside the PHOS acceptance * @@ -211,7 +214,7 @@ Float_t AliPHOSTrackSegmentMakerv1::GetDistanceInPHOSPlane(AliPHOSEmcRecPoint * Double_t inTheta = inPHOS.Theta(); Bool_t skip = kTRUE; - for (Int_t imod=0; nModules; imod++) { + for (Int_t imod=0; imod inTheta && phmin[imod] < inPhi && phmax[imod] > inPhi) { -- 2.43.0