File indexing completed on 2024-04-06 12:29:09
0001 #ifndef KalmanSmoothedVertexChi2Estimator_H
0002 #define KalmanSmoothedVertexChi2Estimator_H
0003
0004 #include "RecoVertex/VertexPrimitives/interface/VertexSmoothedChiSquaredEstimator.h"
0005 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
0006 #include "RecoVertex/KalmanVertexFit/interface/KVFHelper.h"
0007
0008
0009
0010
0011
0012
0013 template <unsigned int N>
0014 class KalmanSmoothedVertexChi2Estimator : public VertexSmoothedChiSquaredEstimator<N> {
0015 public:
0016 typedef typename std::pair<bool, double> BDpair;
0017
0018 ~KalmanSmoothedVertexChi2Estimator() override {}
0019
0020
0021
0022
0023
0024
0025 BDpair estimate(const CachingVertex<N>& vertex) const override;
0026
0027 KalmanSmoothedVertexChi2Estimator* clone() const override { return new KalmanSmoothedVertexChi2Estimator(*this); }
0028
0029 private:
0030 KVFHelper<N> helper;
0031 };
0032
0033 #endif