CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/TrackPropagation/RungeKutta/src/RKSolver.h

Go to the documentation of this file.
00001 #ifndef RKSolver_H
00002 #define RKSolver_H
00003 
00004 #include "FWCore/Utilities/interface/Visibility.h"
00005 #include "RKSmallVector.h"
00006 #include "RKDerivative.h"
00007 #include "RKDistance.h"
00008 
00010 
00011 template <typename T, int N>
00012 class dso_internal RKSolver {
00013 public:
00014 
00015     typedef T                                   Scalar;
00016     typedef RKSmallVector<T,N>                  Vector;
00017 
00018     virtual ~RKSolver() {}
00019 
00026     virtual Vector operator()( Scalar startPar, const Vector& startState,
00027                                Scalar step, const RKDerivative<T,N>& deriv,
00028                                const RKDistance<T,N>& dist,
00029                                Scalar eps) = 0;
00030 
00031 
00032 };
00033 
00034 #endif