Definition at line 54 of file TrackConverter.h.
References Phase2L1GMT::BITSD0, Phase2L1GMT::BITSPHI, Phase2L1GMT::BITSTTCURV, Phase2L1GMT::BITSTTPHI, Phase2L1GMT::BITSTTTANL, Phase2L1GMT::BITSZ0, ALCARECOTkAlJpsiMuMu_cff::charge, PixelRecoUtilities::curvature(), d0, PVValHelper::eta, etaLookup(), Phase2L1GMT::etaLUT, generateQuality(), M_PI, Phase2L1GMT::maxCurv_, Phase2L1GMT::maxD0_, Phase2L1GMT::maxTanl_, Phase2L1GMT::maxZ0_, DiDispStaMuonMonitor_cfi::pt, ptLookup(), Phase2L1GMT::ptLUT, quality, Phase2L1GMT::ConvertedTTTrack::setOfflineQuantities(), HLT_2024v12_cff::track, parallelization::uint, and verbose_.
Referenced by convertTracks().
65 uint absTanL = tanLambda > 0 ? (tanLambda) : (-tanLambda);
67 int eta = tanLambda > 0 ? (absEta) : (-absEta);
69 ap_int<BITSPHI> phiSec = ap_int<BITSPHI>(
phi) -
71 ap_int<BITSPHI> phiCorrected = ap_int<BITSPHI>(phiSec +
track->phiSector() * 910);
76 bstart = wordconcat<wordtype>(
word, bstart, phiSec,
BITSTTPHI);
77 bstart = wordconcat<wordtype>(
word, bstart, tanLambda,
BITSTTTANL);
80 bstart = wordconcat<wordtype>(
word, bstart,
uint(
track->chi2()), 4);
83 convertedTrack.setOfflineQuantities(
track->momentum().transverse(),
track->eta(),
track->phi());
85 convertedTrack.print();
86 convertedTrack.setTrkPtr(
track);
87 return convertedTrack;
T curvature(T InversePt, const MagneticField &field)
uint etaLookup(uint absTanL)
uint ptLookup(uint absCurv)
static constexpr float d0
const ap_uint< BITSPT > ptLUT[1858]
uint generateQuality(const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > &track)