From ef839ac34b6420bd2f9848f1cf2b926381f1e528 Mon Sep 17 00:00:00 2001 From: ivana Date: Mon, 20 Nov 2006 14:47:03 +0000 Subject: [PATCH] Imposing limitation on the number of created track branches (temporary solution) (Sasha) --- MUON/AliMUONTrackK.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MUON/AliMUONTrackK.cxx b/MUON/AliMUONTrackK.cxx index ce588bc4caa..998df878b62 100644 --- a/MUON/AliMUONTrackK.cxx +++ b/MUON/AliMUONTrackK.cxx @@ -823,7 +823,7 @@ Bool_t AliMUONTrackK::FindPoint(Int_t ichamb, Double_t zEnd, Int_t currIndx, Int { /// Picks up point within a window for the chamber No ichamb /// Split the track if there are more than 1 hit - Int_t ihit, nRecTracks; + Int_t ihit, nRecTracks = fgTrackReconstructor->GetNRecTracks(); Double_t windowB, windowNonB, dChi2Tmp=0, dChi2, y, x, savePosition=0; TClonesArray *trackPtr; AliMUONHitForRec *hit, *hitLoop; @@ -963,7 +963,7 @@ Bool_t AliMUONTrackK::FindPoint(Int_t ichamb, Double_t zEnd, Int_t currIndx, Int ok = kTRUE; nHitsOK++; //if (nHitsOK > -1) { - if (nHitsOK == 1) { + if (nHitsOK == 1 || nRecTracks > 10000) { // Save current members saveWeight = *fWeight; savePosition = fPosition; -- 2.39.3