#include <ConverterToTTTrack.h>
Definition at line 18 of file ConverterToTTTrack.h.
◆ ConverterToTTTrack()
tmtt::ConverterToTTTrack::ConverterToTTTrack |
( |
const Settings * |
settings | ) |
|
|
inline |
◆ makeTTTrack()
Definition at line 10 of file ConverterToTTTrack.cc.
References tmtt::L1fittedTrack::accepted(), tmtt::L1fittedTrack::chi2rphi(), tmtt::L1fittedTrack::chi2rz(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), d0, tmtt::L1fittedTrack::d0(), tmtt::L1fittedTrack::hitPattern(), HLT_2024v10_cff::magneticField, beam_dqm_sourceclient-live_cfg::mva, tmtt::L1fittedTrack::nHelixParam(), HcalResponse_cfi::nPar, tmtt::L1trackBase::phi0(), tmtt::L1trackBase::qOverPt(), trklet::rinv(), tmtt::L1fittedTrack::tanLambda(), HLT_2024v10_cff::track, and tmtt::L1fittedTrack::z0().
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();
37 tanL = fitTrk->tanLambda();
38 chi2rphi = fitTrk->chi2rphi();
39 chi2rz = fitTrk->chi2rz();
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);
float magneticField() const
const Settings * settings_
static constexpr float d0
Class to store the L1 Track Trigger tracks.
double rinv(double phi1, double phi2, double r1, double r2)
std::vector< TTStubRef > stubRefs(const L1trackBase *trk) const
◆ stubRefs()
◆ invPtToInvR_
float tmtt::ConverterToTTTrack::invPtToInvR_ |
|
private |
◆ settings_
const Settings* tmtt::ConverterToTTTrack::settings_ |
|
private |