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 
27 
29 
32  virtual LocalVectorType valueInTesla( const LocalPointType& p) const = 0;
33 
37  // virtual GlobalVectorType valueInTesla( const GlobalPointType& p) const = 0;
38 
42  virtual int hasDerivatives() const {return false;}
43 
47  int N) const {
48  return LocalVectorType();
49  }
50 
51 };
52 
53 #endif
virtual int hasDerivatives() const
virtual LocalVectorType derivativeInTeslaPerMeter(const LocalPointType &p, int N) const
Point3DBase< T, LocalTag > LocalPointType
Point3DBase< T, GlobalTag > GlobalPointType
#define N
Definition: blowfish.cc:9
Vector3DBase< T, LocalTag > LocalVectorType
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0
Vector3DBase< T, GlobalTag > GlobalVectorType