#include <KFParamsComb.h>
Public Member Functions | |
KFParamsComb (const Settings *settings, const uint nHelixPar, const std::string &fitterName) | |
~KFParamsComb () override=default | |
Public Member Functions inherited from tmtt::KFbase | |
L1fittedTrack | fit (const L1track3D &l1track3D) override |
KFbase (const Settings *settings, const uint nHelixPar, const std::string &fitterName="", const uint nMeas=2) | |
KFbase (const KFbase &kf)=delete | |
KFbase (KFbase &&kf)=delete | |
KFbase & | operator= (const KFbase &kf)=delete |
KFbase & | operator= (KFbase &&kf)=delete |
~KFbase () override | |
Public Member Functions inherited from tmtt::TrackFitGeneric | |
TrackFitGeneric (const Settings *settings, const std::string &fitterName="") | |
virtual | ~TrackFitGeneric ()=default |
Protected Member Functions | |
bool | isGoodState (const KalmanState &state) const override |
TMatrixD | matrixF (const Stub *stub, const KalmanState *state) const override |
TMatrixD | matrixH (const Stub *stub) const override |
TMatrixD | matrixV (const Stub *stub, const KalmanState *state) const override |
TMatrixD | seedC (const L1track3D &l1track3D) const override |
TVectorD | seedX (const L1track3D &l1track3D) const override |
TVectorD | trackParams (const KalmanState *state) const override |
TVectorD | trackParams_BeamConstr (const KalmanState *state, double &chi2rphi) const override |
TVectorD | vectorM (const Stub *stub) const override |
Protected Member Functions inherited from tmtt::KFbase | |
virtual void | adjustChi2 (const KalmanState *state, const TMatrixD &covRinv, const TVectorD &delta, double &chi2rphi, double &chi2rz) const |
void | adjustState (const TMatrixD &K, const TMatrixD &pxcov, const TVectorD &x, const TMatrixD &h, const TVectorD &delta, TVectorD &new_x, TMatrixD &new_xcov) const |
float | approxB (float z, float r) const |
const KalmanState * | doKF (const L1track3D &l1track3D, const std::vector< Stub *> &stubs, const TP *tpa) |
TMatrixD | getKalmanGainMatrix (const TMatrixD &h, const TMatrixD &pxcov, const TMatrixD &covRinv) const |
virtual bool | isHLS () |
virtual bool | kalmanAmbiguousLayer (unsigned int iEtaReg, unsigned int kfLayer) |
std::set< unsigned > | kalmanDeadLayers (bool &remove2PSCut) const |
virtual unsigned int | kalmanLayer (unsigned int iEtaReg, unsigned int layerIDreduced, bool barrel, float r, float z) const |
virtual const KalmanState * | kalmanUpdate (unsigned nSkipped, unsigned layer, Stub *stub, const KalmanState *state, const TP *tp) |
TMatrixD | matrixHCHt (const TMatrixD &h, const TMatrixD &c) const |
TMatrixD | matrixRinv (const TMatrixD &matH, const TMatrixD &matCref, const TMatrixD &matV) const |
const KalmanState * | mkState (const L1track3D &candidate, unsigned nSkipped, unsigned layer, const KalmanState *last_state, const TVectorD &x, const TMatrixD &pxx, const TMatrixD &K, const TMatrixD &dcov, Stub *stub, double chi2rphi, double chi2rz) |
void | printStub (const Stub *stub) const |
void | printStubLayers (const std::vector< Stub *> &stubs, unsigned int iEtaReg) const |
void | printStubs (const std::vector< Stub *> &stubs) const |
void | printTP (const TP *tp) const |
void | resetStates () |
virtual TVectorD | residual (const Stub *stub, const TVectorD &x, double candQoverPt) const |
double | sectorPhi () const |
Protected Attributes | |
std::vector< double > | kfLayerVsChiSq4_ |
std::vector< double > | kfLayerVsChiSq5_ |
std::vector< double > | kfLayerVsD0Cut5_ |
std::vector< double > | kfLayerVsPtToler_ |
std::vector< double > | kfLayerVsZ0Cut4_ |
std::vector< double > | kfLayerVsZ0Cut5_ |
Protected Attributes inherited from tmtt::KFbase | |
unsigned int | iEtaReg_ |
unsigned int | iPhiSec_ |
std::vector< std::unique_ptr< const KalmanState > > | listAllStates_ |
unsigned | nHelixPar_ |
unsigned | nMeas_ |
unsigned | numEtaRegions_ |
unsigned int | numUpdateCalls_ |
const TP * | tpa_ |
Protected Attributes inherited from tmtt::TrackFitGeneric | |
const std::string | fitterName_ |
const Settings * | settings_ |
Additional Inherited Members | |
Public Types inherited from tmtt::KFbase | |
enum | MEAS_IDS { PHI, Z } |
enum | PAR_IDS { INV2R, PHI0, T, Z0, D0 } |
enum | PAR_IDS_VAR { QOVERPT } |
Static Public Attributes inherited from tmtt::KFbase | |
static constexpr unsigned int | invalidKFlayer_ = nKFlayer_ |
static constexpr std::pair< unsigned, unsigned > | layerMap_ [nEta_/2][nGPlayer_+1] |
static const unsigned int | nEta_ = 16 |
static const unsigned int | nGPlayer_ = 7 |
static const unsigned int | nKFlayer_ = 7 |
Definition at line 35 of file KFParamsComb.h.
tmtt::KFParamsComb::KFParamsComb | ( | const Settings * | settings, |
const uint | nHelixPar, | ||
const std::string & | fitterName | ||
) |
Definition at line 17 of file KFParamsComb.cc.
|
overridedefault |
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 227 of file KFParamsComb.cc.
References funct::abs(), tmtt::KFbase::D0, d0, alignBH_cfg::fixed, tmtt::Settings::hybrid(), tmtt::Settings::kalmanDebugLevel(), kfLayerVsChiSq4_, kfLayerVsChiSq5_, kfLayerVsD0Cut5_, kfLayerVsPtToler_, kfLayerVsZ0Cut4_, kfLayerVsZ0Cut5_, tmtt::KFbase::nHelixPar_, tmtt::KFbase::PHI0, DiDispStaMuonMonitor_cfi::pt, tmtt::TP::pt(), tmtt::KFbase::QOVERPT, tmtt::TrackFitGeneric::settings_, tmtt::KFbase::T, submitPVValidationJobs::text, tmtt::KFbase::tpa_, trackParams(), and tmtt::KFbase::Z0.
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 180 of file KFParamsComb.cc.
References tmtt::KFbase::nHelixPar_.
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 165 of file KFParamsComb.cc.
References tmtt::KFbase::D0, tmtt::KFbase::INV2R, tmtt::KFbase::nHelixPar_, tmtt::KFbase::PHI, tmtt::KFbase::PHI0, tmtt::Stub::r(), tmtt::KFbase::Z, and tmtt::KFbase::Z0.
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 80 of file KFParamsComb.cc.
References a, tmtt::Stub::alpha(), tmtt::KFbase::approxB(), b, tmtt::Stub::barrel(), HLT_2023v12_cff::beta, funct::cos(), tmtt::Settings::invPtToInvR(), tmtt::Settings::kalmanHOalpha(), tmtt::Settings::kalmanHOfw(), tmtt::Settings::kalmanHOprojZcorr(), tmtt::Settings::kalmanHOtilted(), tmtt::Settings::kalmanMultiScattTerm(), tmtt::KFbase::PHI, tmtt::Stub::psModule(), tmtt::Stub::r(), diffTwoXMLs::r2, tmtt::TrackFitGeneric::settings_, tmtt::Stub::sigmaPar(), tmtt::Stub::sigmaPerp(), funct::sin(), tmtt::KFbase::T, tmtt::Stub::tiltAngle(), tmtt::Stub::tiltedBarrel(), tmtt::Settings::useApproxB(), run3scouting_cff::vz, tmtt::KFbase::Z, and tmtt::Stub::z().
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 44 of file KFParamsComb.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), tmtt::KFbase::D0, tmtt::KFbase::INV2R, tmtt::Settings::invPtToInvR(), tmtt::KFbase::nHelixPar_, tmtt::KFbase::PHI0, funct::pow(), tmtt::TrackFitGeneric::settings_, tmtt::KFbase::T, and tmtt::KFbase::Z0.
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 29 of file KFParamsComb.cc.
References tmtt::KFbase::D0, tmtt::L1track3D::d0(), reco::deltaPhi(), tmtt::KFbase::INV2R, tmtt::Settings::invPtToInvR(), tmtt::KFbase::nHelixPar_, tmtt::KFbase::PHI0, tmtt::L1track3D::phi0(), tmtt::L1track3D::qOverPt(), tmtt::KFbase::sectorPhi(), tmtt::TrackFitGeneric::settings_, tmtt::KFbase::T, tmtt::L1track3D::tanLambda(), tmtt::KFbase::Z0, and tmtt::L1track3D::z0().
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 187 of file KFParamsComb.cc.
References tmtt::KFbase::D0, reco::deltaPhi(), tmtt::KFbase::INV2R, tmtt::Settings::invPtToInvR(), tmtt::KFbase::nHelixPar_, tmtt::KFbase::PHI0, tmtt::KFbase::QOVERPT, tmtt::KFbase::sectorPhi(), tmtt::TrackFitGeneric::settings_, tmtt::KFbase::T, and tmtt::KFbase::Z0.
Referenced by isGoodState(), and trackParams_BeamConstr().
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 203 of file KFParamsComb.cc.
References tmtt::KFbase::D0, reco::deltaPhi(), tmtt::KFbase::INV2R, tmtt::Settings::invPtToInvR(), tmtt::KFbase::nHelixPar_, tmtt::KFbase::PHI0, tmtt::KFbase::QOVERPT, tmtt::KFbase::sectorPhi(), tmtt::TrackFitGeneric::settings_, tmtt::KFbase::T, trackParams(), and tmtt::KFbase::Z0.
|
overrideprotectedvirtual |
Implements tmtt::KFbase.
Definition at line 71 of file KFParamsComb.cc.
References reco::deltaPhi(), tmtt::KFbase::PHI, tmtt::Stub::phi(), tmtt::KFbase::sectorPhi(), tmtt::KFbase::Z, and tmtt::Stub::z().
|
protected |
Definition at line 72 of file KFParamsComb.h.
Referenced by isGoodState().
|
protected |
Definition at line 71 of file KFParamsComb.h.
Referenced by isGoodState().
|
protected |
Definition at line 68 of file KFParamsComb.h.
Referenced by isGoodState().
|
protected |
Definition at line 67 of file KFParamsComb.h.
Referenced by isGoodState().
|
protected |
Definition at line 70 of file KFParamsComb.h.
Referenced by isGoodState().
|
protected |
Definition at line 69 of file KFParamsComb.h.
Referenced by isGoodState().