00001 #ifndef RKDistance_H 00002 #define RKDistance_H 00003 00004 #include "TrackPropagation/RungeKutta/interface/RKSmallVector.h" 00005 00006 template <typename T, int N> 00007 class RKDistance { 00008 public: 00009 00010 typedef T Scalar; 00011 typedef RKSmallVector<T,N> Vector; 00012 00013 virtual ~RKDistance() {} 00014 00015 virtual Scalar operator()( const Vector& a, const Vector& b, const Scalar& s) const = 0; 00016 00017 }; 00018 00019 #endif