CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/TrackPropagation/RungeKutta/src/RKDistance.h

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