CMS 3D CMS Logo

MagneticFieldProvider.h
Go to the documentation of this file.
1 #ifndef MagneticFieldProvider_h
2 #define MagneticFieldProvider_h
3 
15 
16 template <class T>
18 public:
23 
25 
28  virtual LocalVectorType valueInTesla(const LocalPointType& p) const = 0;
29 
33  // virtual GlobalVectorType valueInTesla( const GlobalPointType& p) const = 0;
34 
38  virtual int hasDerivatives() const { return false; }
39 
43 };
44 
45 #endif
virtual LocalVectorType derivativeInTeslaPerMeter(const LocalPointType &p, int N) const
Vector3DBase< T, GlobalTag > GlobalVectorType
Point3DBase< T, LocalTag > LocalPointType
Point3DBase< T, GlobalTag > GlobalPointType
Vector3DBase< T, LocalTag > LocalVectorType
virtual int hasDerivatives() const
#define N
Definition: blowfish.cc:9
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0