CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MagneticFieldProvider.h
Go to the documentation of this file.
1 #ifndef MagneticFieldProvider_h
2 #define MagneticFieldProvider_h
3 
17 
18 template <class T>
20 public:
21 
26 
29  virtual LocalVectorType valueInTesla( const LocalPointType& p) const = 0;
30 
34  // virtual GlobalVectorType valueInTesla( const GlobalPointType& p) const = 0;
35 
39  virtual int hasDerivatives() const {return false;}
40 
44  int N) const {
45  return LocalVectorType();
46  }
47 
48 };
49 
50 #endif
virtual int hasDerivatives() const
virtual LocalVectorType derivativeInTeslaPerMeter(const LocalPointType &p, int N) const
Point3DBase< T, LocalTag > LocalPointType
Point3DBase< T, GlobalTag > GlobalPointType
Vector3DBase< T, LocalTag > LocalVectorType
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0
Vector3DBase< T, GlobalTag > GlobalVectorType