From 3360cc63b4ae3f13f4f9071c0e2233a199198356 Mon Sep 17 00:00:00 2001 From: Thomas Schuh Date: Wed, 18 Sep 2024 12:38:05 +0100 Subject: [PATCH] TTTrack conversion fixes. --- L1Trigger/TrackerTFP/src/TrackFindingProcessor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/L1Trigger/TrackerTFP/src/TrackFindingProcessor.cc b/L1Trigger/TrackerTFP/src/TrackFindingProcessor.cc index 6653bf4476784..78b038be43f55 100644 --- a/L1Trigger/TrackerTFP/src/TrackFindingProcessor.cc +++ b/L1Trigger/TrackerTFP/src/TrackFindingProcessor.cc @@ -208,11 +208,11 @@ namespace trackerTFP { const auto it = find_if(tracks_.begin(), tracks_.end(), match); // TTTrack conversion const int region = ttTrackRef->phiSector(); - const double aRinv = -.5 * it->inv2R_; + const double aRinv = -2. * it->inv2R_; const double aphi = deltaPhi(it->phiT_ - it->inv2R_ * setup_->chosenRofPhi() + region * setup_->baseRegion()); const double aTanLambda = it->cot_; const double az0 = it->zT_ - it->cot_ * setup_->chosenRofZ(); - const double ad0 = ttTrackRef->d0(); + const double ad0 = -ttTrackRef->d0(); const double aChi2xyfit = it->chi2rphi_; const double aChi2zfit = it->chi2rz_; const double trkMVA1 = (TTTrack_TrackWord::tqMVABins[it->mva_]);