00001 #ifndef KalmanTrackToTrackCovCalculator_H 00002 #define KalmanTrackToTrackCovCalculator_H 00003 00004 #include "RecoVertex/VertexPrimitives/interface/TrackToTrackCovCalculator.h" 00005 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h" 00006 00012 template <unsigned int N> 00013 class KalmanTrackToTrackCovCalculator:public TrackToTrackCovCalculator<N> 00014 { 00015 00016 public: 00017 00018 typedef typename CachingVertex<N>::RefCountedVertexTrack RefCountedVertexTrack; 00019 00020 KalmanTrackToTrackCovCalculator() {} 00021 00029 typename CachingVertex<N>::TrackToTrackMap operator() (const CachingVertex<N> & vertex) const; 00030 00031 KalmanTrackToTrackCovCalculator * clone() const 00032 { 00033 return new KalmanTrackToTrackCovCalculator(* this); 00034 } 00035 00036 }; 00037 00038 00039 #endif