12 unsigned int iEtaReg)
const {
13 unsigned int nPar, hitPattern;
14 double d0,
z0, tanL, chi2rphi, chi2rz;
16 const L1fittedTrack* fitTrk = dynamic_cast<const L1fittedTrack*>(trk);
19 if (fitTrk ==
nullptr) {
32 throw cms::Exception(
"LogicError") <<
"ConverterToTTTrack ERROR: requested to convert invalid L1fittedTrack";
43 const double& phi0 = trk->
phi0();
44 constexpr
double mva = -1.;
48 rinv, phi0, tanL,
z0,
d0, chi2rphi, chi2rz,
mva,
mva,
mva, hitPattern,
nPar,
magneticField);
51 std::vector<TTStubRef> ttstubrefs = this->stubRefs(trk);
52 track.setStubRefs(ttstubrefs);
55 track.setPhiSector(iPhiSec);
56 track.setEtaSector(iEtaReg);
58 track.setStubPtConsistency(-1);
65 std::vector<TTStubRef> ConverterToTTTrack::stubRefs(
const L1trackBase* trk)
const {
66 std::vector<TTStubRef> ttstubrefs;
67 const std::vector<Stub*>& stubs = trk->
stubs();
68 for (
Stub*
s : stubs) {
70 ttstubrefs.push_back(ref);