CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoVertex/KalmanVertexFit/interface/KalmanSmoothedVertexChi2Estimator.h

Go to the documentation of this file.
00001 #ifndef KalmanSmoothedVertexChi2Estimator_H
00002 #define KalmanSmoothedVertexChi2Estimator_H
00003 
00004 #include "RecoVertex/VertexPrimitives/interface/VertexSmoothedChiSquaredEstimator.h"
00005 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
00006 #include "RecoVertex/KalmanVertexFit/interface/KVFHelper.h"
00007 
00013 template <unsigned int N>
00014 class KalmanSmoothedVertexChi2Estimator:public VertexSmoothedChiSquaredEstimator<N> {
00015 
00016 public:
00017 
00018   typedef typename std::pair<bool, double> BDpair;
00019 
00020   virtual ~KalmanSmoothedVertexChi2Estimator() {}
00021 
00027   BDpair estimate(const CachingVertex<N> & vertex) const;
00028    
00029   KalmanSmoothedVertexChi2Estimator * clone() const 
00030   {
00031    return new KalmanSmoothedVertexChi2Estimator(* this);
00032   }
00033    
00034 private:
00035 
00036   KVFHelper<N> helper;
00037 };
00038 
00039 #endif