From 6db74dc624ab3dff3916207e5316f5902337c25d Mon Sep 17 00:00:00 2001 From: "se.gorbunov" <se.gorbunov@gsi.de> Date: Fri, 2 Sep 2022 09:15:56 +0000 Subject: [PATCH] L1: bugxix --- reco/L1/L1Algo/L1CATrackFinder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reco/L1/L1Algo/L1CATrackFinder.cxx b/reco/L1/L1Algo/L1CATrackFinder.cxx index 7f9632f936..0bca23f37a 100644 --- a/reco/L1/L1Algo/L1CATrackFinder.cxx +++ b/reco/L1/L1Algo/L1CATrackFinder.cxx @@ -2460,7 +2460,7 @@ void L1Algo::CATrackFinder() fRecoHits_local[num_thread].push_back(*phIt); L1HitPoint tempPoint = CreateHitPoint(hit); //TODO take number of station from hit - L1Station stah = fParameters.GetStation(0); // TODO: Why is it a copy? + const L1Station& stah = fParameters.GetStation(hit.iSt); auto [xcoor, ycoor] = stah.ConvUVtoXY<fscal>(tempPoint.U(), tempPoint.V()); float zcoor = tempPoint.Z() - fParameters.GetTargetPositionZ()[0]; -- GitLab