From 2eafa9111d80e3733b6f535220685fc59fb1f863 Mon Sep 17 00:00:00 2001 From: abercuci Date: Fri, 15 Aug 2008 13:40:04 +0000 Subject: [PATCH] fix indexes in the tracklet Fit function --- TRD/AliTRDseedV1.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TRD/AliTRDseedV1.cxx b/TRD/AliTRDseedV1.cxx index 2cadbf29e6b..7b603e09895 100644 --- a/TRD/AliTRDseedV1.cxx +++ b/TRD/AliTRDseedV1.cxx @@ -674,9 +674,9 @@ Bool_t AliTRDseedV1::Fit() xc[nc] = fX0 - c->GetX(); yc[nc] = c->GetY(); zc[nc] = c->GetZ(); - sy[ic] = w; // all clusters have the same sigma - sz[ic] = fPadLength*convert; - fitterZ.AddPoint(&xc[ic], zc[ic], sz[ic]); + sy[nc] = w; // all clusters have the same sigma + sz[nc] = fPadLength*convert; + fitterZ.AddPoint(&xc[nc], zc[nc], sz[nc]); nc++; } // to few clusters -- 2.43.0