File indexing completed on 2024-04-06 12:29:09
0001 #ifndef KVFHelper_H
0002 #define KVFHelper_H
0003
0004 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
0005
0006
0007
0008
0009
0010 template <unsigned int N>
0011 class KVFHelper {
0012 public:
0013 typedef typename CachingVertex<N>::RefCountedVertexTrack RefCountedVertexTrack;
0014 typedef typename VertexTrack<N>::RefCountedLinearizedTrackState RefCountedLinearizedTrackState;
0015 typedef typename VertexTrack<N>::RefCountedRefittedTrackState RefCountedRefittedTrackState;
0016 typedef typename std::pair<bool, double> BDpair;
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 double vertexChi2(const VertexState& vertexA, const VertexState& VertexB) const;
0028
0029 double vertexChi2(const CachingVertex<N>& vertexA, const CachingVertex<N>& vertexB) const;
0030
0031
0032
0033
0034
0035
0036
0037 BDpair trackParameterChi2(const RefCountedLinearizedTrackState linTrack,
0038 const RefCountedRefittedTrackState refittedTrackState) const;
0039
0040
0041
0042
0043
0044
0045 BDpair trackParameterChi2(const RefCountedVertexTrack track) const;
0046 };
0047
0048 #endif