From c1eeb83cde8dc31e312ee768df90e937a9dda0b6 Mon Sep 17 00:00:00 2001 From: sgorbuno <se.gorbunov@gsi.de> Date: Thu, 22 Apr 2021 09:34:11 +0000 Subject: [PATCH] correct the size of the strip arrays --- reco/L1/L1Algo/L1Algo.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reco/L1/L1Algo/L1Algo.cxx b/reco/L1/L1Algo/L1Algo.cxx index 9f54f4a6da..f958ba212f 100644 --- a/reco/L1/L1Algo/L1Algo.cxx +++ b/reco/L1/L1Algo/L1Algo.cxx @@ -199,8 +199,8 @@ void L1Algo::SetData(const vector<L1StsHit>& StsHits_, int nStsStrips_, const ve hitToBestTrackF.resize(NhitsGlobal * 2); hitToBestTrackB.resize(NhitsGlobal * 2); #endif - vStripToTrack.resize(NhitsGlobal * 2); - vStripToTrackB.resize(NhitsGlobal * 2); + vStripToTrack.resize(NStsStrips); + vStripToTrackB.resize(NStsStrips); TripForHit[0].resize(nHits); TripForHit[1].resize(nHits); -- GitLab