From 4d137c015ba75706e23b419f9263dd8c2519551f Mon Sep 17 00:00:00 2001 From: sgorbuno <se.gorbunov@gsi.de> Date: Mon, 30 Nov 2020 22:58:04 +0000 Subject: [PATCH] CA: use STS cluster indices provided by the hit finder --- reco/L1/CbmL1ReadEvent.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reco/L1/CbmL1ReadEvent.cxx b/reco/L1/CbmL1ReadEvent.cxx index de7b9e19e4..0ba139b384 100644 --- a/reco/L1/CbmL1ReadEvent.cxx +++ b/reco/L1/CbmL1ReadEvent.cxx @@ -520,8 +520,8 @@ void CbmL1::ReadEvent(L1AlgoInputData* fData_, CbmEvent* event) { + CbmStsSetup::Instance()->GetStationNumber( mh->GetAddress()); //mh->GetStationNr() - 1; th.isStrip = 0; - th.iStripF = 0; //mh->GetFrontClusterId(); - th.iStripB = 0; //mh->GetBackClusterId(); + th.iStripF = mh->GetFrontClusterId(); + th.iStripB = mh->GetBackClusterId(); //Get time th.time = mh->GetTime(); @@ -985,16 +985,16 @@ void CbmL1::ReadEvent(L1AlgoInputData* fData_, CbmEvent* event) { TmpStrip& s = tmpStrips[is]; if (s.iStation != th.iStation) continue; if (s.iStrip != th.iStripF) continue; - if (fabs(s.time - th.time) > 30) continue; - if (fabs(s.u - th.u_front) > 1.e-4) continue; + //if (fabs(s.time - th.time) > 30) continue; + //if (fabs(s.u - th.u_front) > 1.e-4) continue; th.indStripF = is; } for (int is = 0; is < NStripsB; is++) { TmpStrip& s = tmpStripsB[is]; if (s.iStation != th.iStation) continue; if (s.iStrip != th.iStripB) continue; - if (fabs(s.time - th.time) > 30) continue; - if (fabs(s.u - th.u_back) > 1.e-4) continue; + //if (fabs(s.time - th.time) > 30) continue; + //if (fabs(s.u - th.u_back) > 1.e-4) continue; th.indStripB = is; } // create new strips -- GitLab