Definition at line 53 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_2022v12_cff::track, parallelization::uint, verbose_, and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by convertTracks().
64 uint absTanL = tanLambda > 0 ? (tanLambda) : (-tanLambda);
66 int eta = tanLambda > 0 ? (absEta) : (-absEta);
68 ap_int<BITSPHI> phiSec = ap_int<BITSPHI>(
phi) -
70 ap_int<BITSPHI> phiCorrected = ap_int<BITSPHI>(phiSec +
track->phiSector() * 910);
75 bstart = wordconcat<wordtype>(
word, bstart, phiSec,
BITSTTPHI);
76 bstart = wordconcat<wordtype>(
word, bstart, tanLambda,
BITSTTTANL);
79 bstart = wordconcat<wordtype>(
word, bstart,
uint(
track->chi2()), 4);
82 convertedTrack.setOfflineQuantities(
track->momentum().transverse(),
track->eta(),
track->phi());
84 convertedTrack.print();
85 convertedTrack.setTrkPtr(
track);
86 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)