00001 #ifndef KVFHelper_H 00002 #define KVFHelper_H 00003 00004 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h" 00005 00010 template <unsigned int N> 00011 class KVFHelper { 00012 00013 public: 00014 00015 typedef typename CachingVertex<N>::RefCountedVertexTrack RefCountedVertexTrack; 00016 typedef typename VertexTrack<N>::RefCountedLinearizedTrackState RefCountedLinearizedTrackState; 00017 typedef typename VertexTrack<N>::RefCountedRefittedTrackState RefCountedRefittedTrackState; 00018 00019 00029 double vertexChi2(const VertexState & vertexA, 00030 const VertexState & VertexB) const; 00031 00032 double vertexChi2(const CachingVertex<N> & vertexA, 00033 const CachingVertex<N> & vertexB) const; 00034 00041 float trackParameterChi2(const RefCountedLinearizedTrackState linTrack, 00042 const RefCountedRefittedTrackState refittedTrackState) const; 00043 00049 float trackParameterChi2(const RefCountedVertexTrack track) const; 00050 00051 }; 00052 00053 #endif