Definition at line 16 of file TrackConverter.cc.
References Phase2L1GMT::BITSD0, Phase2L1GMT::BITSETA, Phase2L1GMT::BITSPHI, Phase2L1GMT::BITSTTCURV, Phase2L1GMT::BITSTTD0, Phase2L1GMT::BITSTTTANL, Phase2L1GMT::BITSTTZ0, Phase2L1GMT::BITSZ0, ALCARECOTkAlJpsiMuMu_cff::charge, PixelRecoUtilities::curvature(), d0, PVValHelper::eta, etaLookup(), Phase2L1GMT::etaLUT, generateQuality(), Phase2L1GMT::LSBeta, Phase2L1GMT::LSBphi, Phase2L1GMT::LSBpt, Phase2L1GMT::ConvertedTTTrack::print(), DiDispStaMuonMonitor_cfi::pt, ptLookup(), Phase2L1GMT::ptLUT, quality, Phase2L1GMT::ConvertedTTTrack::setOfflineQuantities(), Phase2L1GMT::ConvertedTTTrack::setTrkPtr(), HLT_2024v14_cff::track, parallelization::uint, and verbose_.
Referenced by convertTracks().
18 ap_int<BITSTTCURV>
curvature = ap_int<BITSTTCURV>(
track->getRinvBits());
19 ap_int<BITSPHI> phisec = ap_int<BITSPHI>(ap_int<BITSTTPHI>(
track->getPhiBits()) / 2);
20 ap_int<BITSTTTANL> tanLambda = ap_int<BITSTTTANL>(
track->getTanlBits());
21 ap_int<BITSZ0>
z0 = ap_int<BITSZ0>(ap_int<BITSTTZ0>(
track->getZ0Bits()) / (1 << (
BITSTTZ0 -
BITSZ0)));
22 ap_int<BITSD0>
d0 = ap_int<BITSD0>(ap_int<BITSTTD0>(
track->getD0Bits()) / (1 << (
BITSTTD0 -
BITSD0)));
29 tanLambda > 0 ? ap_uint<
BITSTTTANL - 1>(tanLambda) : ap_uint<BITSTTTANL - 1>(-tanLambda);
31 ap_int<BITSETA>
eta = tanLambda > 0 ? ap_int<BITSETA>(absEta) : ap_int<BITSETA>(-absEta);
33 ap_int<BITSPHI>
phi = ap_int<BITSPHI>(phisec +
track->phiSector() * 910);
39 bstart = wordconcat<wordtype>(
word, bstart, tanLambda,
BITSTTTANL);
42 bstart = wordconcat<wordtype>(
word, bstart,
uint(
track->chi2()), 4);
47 convertedTrack.print();
48 convertedTrack.setTrkPtr(
track);
49 return convertedTrack;
const ap_uint< BITSPT > ptLUT[2251]
T curvature(T InversePt, const MagneticField &field)
uint etaLookup(uint absTanL)
uint ptLookup(uint absCurv)
static constexpr float d0
uint generateQuality(const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > &track)