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) {
31 if (not fitTrk->accepted())
32 throw cms::Exception(
"LogicError") <<
"ConverterToTTTrack ERROR: requested to convert invalid L1fittedTrack";
33 nPar = fitTrk->nHelixParam();
34 hitPattern = fitTrk->hitPattern();
37 tanL = fitTrk->tanLambda();
38 chi2rphi = fitTrk->chi2rphi();
39 chi2rz = fitTrk->chi2rz();
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);
const Settings * settings_
static constexpr float d0
std::vector< TTStubRef > stubRefs(const L1trackBase *trk) const
Class to store the L1 Track Trigger tracks.
double rinv(double phi1, double phi2, double r1, double r2)
float magneticField() const