12 unsigned int iEtaReg)
const {
13 unsigned int nPar, hitPattern;
14 double d0, z0, tanL, chi2rphi, chi2rz;
19 if (fitTrk ==
nullptr) {
32 throw cms::Exception(
"LogicError") <<
"ConverterToTTTrack ERROR: requested to convert invalid L1fittedTrack";
43 const double& phi0 = trk->
phi0();
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);
virtual const std::vector< Stub * > & stubs() const =0
virtual float phi0() const =0
virtual float qOverPt() const =0
float nHelixParam() const
static constexpr float d0
=== This is the base class for the linearised chi-squared track fit algorithms.
Class to store the L1 Track Trigger tracks.
double rinv(double phi1, double phi2, double r1, double r2)
unsigned int hitPattern() const