File indexing completed on 2021-02-14 14:28:10
0001 #ifndef RecoBTag_KalmanGhostTrackUpdater_h
0002 #define RecoBTag_KalmanGhostTrackUpdater_h
0003
0004 #include "RecoVertex/GhostTrackFitter/interface/GhostTrackFitter.h"
0005
0006 namespace reco {
0007
0008 class GhostTrackPrediction;
0009 class GhostTrackState;
0010
0011 class KalmanGhostTrackUpdater : public GhostTrackFitter::PredictionUpdater {
0012 public:
0013 ~KalmanGhostTrackUpdater() override {}
0014
0015 KalmanGhostTrackUpdater *clone() const override { return new KalmanGhostTrackUpdater(*this); }
0016
0017 GhostTrackPrediction update(const GhostTrackPrediction &pred,
0018 const GhostTrackState &state,
0019 double &ndof,
0020 double &chi2) const override;
0021
0022 void contribution(const GhostTrackPrediction &pred,
0023 const GhostTrackState &state,
0024 double &ndof,
0025 double &chi2,
0026 bool withPredError = false) const override;
0027 };
0028
0029 }
0030
0031 #endif