CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
Vector3DBase< T, GlobalTag > GlobalVectorType
Point3DBase< T, LocalTag > LocalPointType
virtual int hasDerivatives() const
Point3DBase< T, GlobalTag > GlobalPointType
Vector3DBase< T, LocalTag > LocalVectorType
virtual LocalVectorType derivativeInTeslaPerMeter(const LocalPointType &p, int N) const
#define N
Definition: blowfish.cc:9
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0