CMS 3D CMS Logo

KFParamsComb.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTMTT_KFParamsComb_h
2 #define L1Trigger_TrackFindingTMTT_KFParamsComb_h
3 
6 
10 
11 namespace tmtt {
12 
13  class KFParamsComb : public KFbase {
14  public:
15  KFParamsComb(const Settings* settings, const uint nHelixPar, const std::string& fitterName);
16 
17  ~KFParamsComb() override = default;
18 
19  protected:
20  //--- Input data
21 
22  // Seed track helix params & covariance matrix
23  TVectorD seedX(const L1track3D& l1track3D) const override;
24  TMatrixD seedC(const L1track3D& l1track3D) const override;
25 
26  // Stub coordinate measurements & resolution
27  TVectorD vectorM(const Stub* stub) const override;
28  TMatrixD matrixV(const Stub* stub, const KalmanState* state) const override;
29 
30  //--- KF maths matrix multiplications
31 
32  // Derivate of helix intercept point w.r.t. helix params.
33  TMatrixD matrixH(const Stub* stub) const override;
34  // Kalman helix ref point extrapolation matrix
35  TMatrixD matrixF(const Stub* stub, const KalmanState* state) const override;
36 
37  // Convert to physical helix params instead of local ones used by KF
38  TVectorD trackParams(const KalmanState* state) const override;
39  TVectorD trackParams_BeamConstr(const KalmanState* state, double& chi2rphi) const override;
40 
41  // Does helix state pass cuts?
42  bool isGoodState(const KalmanState& state) const override;
43 
44  protected:
45  std::vector<double> kfLayerVsPtToler_;
46  std::vector<double> kfLayerVsD0Cut5_;
47  std::vector<double> kfLayerVsZ0Cut5_;
48  std::vector<double> kfLayerVsZ0Cut4_;
49  std::vector<double> kfLayerVsChiSq5_;
50  std::vector<double> kfLayerVsChiSq4_;
51  };
52 
53 } // namespace tmtt
54 
55 #endif
tmtt::KFParamsComb::matrixV
TMatrixD matrixV(const Stub *stub, const KalmanState *state) const override
Definition: KFParamsComb.cc:80
tmtt::KFParamsComb::matrixF
TMatrixD matrixF(const Stub *stub, const KalmanState *state) const override
Definition: KFParamsComb.cc:180
tmtt::KFParamsComb::trackParams_BeamConstr
TVectorD trackParams_BeamConstr(const KalmanState *state, double &chi2rphi) const override
Definition: KFParamsComb.cc:203
tmtt::KFParamsComb::kfLayerVsZ0Cut5_
std::vector< double > kfLayerVsZ0Cut5_
Definition: KFParamsComb.h:47
tmtt::KFParamsComb::kfLayerVsChiSq5_
std::vector< double > kfLayerVsChiSq5_
Definition: KFParamsComb.h:49
tmtt::KFParamsComb::kfLayerVsChiSq4_
std::vector< double > kfLayerVsChiSq4_
Definition: KFParamsComb.h:50
L1track3D.h
parallelization.uint
uint
Definition: parallelization.py:124
tmtt::KFParamsComb::matrixH
TMatrixD matrixH(const Stub *stub) const override
Definition: KFParamsComb.cc:165
tmtt::KFParamsComb::~KFParamsComb
~KFParamsComb() override=default
tmtt::KFParamsComb::kfLayerVsZ0Cut4_
std::vector< double > kfLayerVsZ0Cut4_
Definition: KFParamsComb.h:48
tmtt::KFParamsComb::kfLayerVsPtToler_
std::vector< double > kfLayerVsPtToler_
Definition: KFParamsComb.h:45
tmtt::KFParamsComb::isGoodState
bool isGoodState(const KalmanState &state) const override
Definition: KFParamsComb.cc:227
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
tmtt::KFParamsComb::vectorM
TVectorD vectorM(const Stub *stub) const override
Definition: KFParamsComb.cc:71
tmtt::KalmanState
Definition: KalmanState.h:22
tmtt::Settings
Definition: Settings.h:17
tmtt::KFbase
Definition: KFbase.h:31
tmtt::KFParamsComb::seedC
TMatrixD seedC(const L1track3D &l1track3D) const override
Definition: KFParamsComb.cc:44
RunInfoPI::state
state
Definition: RunInfoPayloadInspectoHelper.h:16
tmtt::KFParamsComb
Definition: KFParamsComb.h:13
KFbase.h
tmtt::KFParamsComb::KFParamsComb
KFParamsComb(const Settings *settings, const uint nHelixPar, const std::string &fitterName)
Definition: KFParamsComb.cc:17
tmtt::Stub
Definition: Stub.h:43
tmtt::KFParamsComb::seedX
TVectorD seedX(const L1track3D &l1track3D) const override
Definition: KFParamsComb.cc:29
tmtt::L1track3D
Definition: L1track3D.h:24
tmtt
=== This is the base class for the linearised chi-squared track fit algorithms.
Definition: ChiSquaredFit4.h:6
tmtt::KFParamsComb::kfLayerVsD0Cut5_
std::vector< double > kfLayerVsD0Cut5_
Definition: KFParamsComb.h:46
tmtt::KFParamsComb::trackParams
TVectorD trackParams(const KalmanState *state) const override
Definition: KFParamsComb.cc:187