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
Vector3DBase
Definition: Vector3DBase.h:8
MagneticFieldProvider::GlobalPointType
Point3DBase< T, GlobalTag > GlobalPointType
Definition: MagneticFieldProvider.h:19
MagneticFieldProvider
Definition: MagCylinder.h:14
Point3DBase.h
MagneticFieldProvider::hasDerivatives
virtual int hasDerivatives() const
Definition: MagneticFieldProvider.h:38
MagneticFieldProvider::LocalPointType
Point3DBase< T, LocalTag > LocalPointType
Definition: MagneticFieldProvider.h:20
LocalTag.h
N
#define N
Definition: blowfish.cc:9
MagneticFieldProvider::~MagneticFieldProvider
virtual ~MagneticFieldProvider()
Definition: MagneticFieldProvider.h:24
Vector3DBase.h
Point3DBase< T, GlobalTag >
GlobalTag.h
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MagneticFieldProvider::valueInTesla
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0
MagneticFieldProvider::derivativeInTeslaPerMeter
virtual LocalVectorType derivativeInTeslaPerMeter(const LocalPointType &p, int N) const
Definition: MagneticFieldProvider.h:42
MagneticFieldProvider::LocalVectorType
Vector3DBase< T, LocalTag > LocalVectorType
Definition: MagneticFieldProvider.h:22
MagneticFieldProvider::GlobalVectorType
Vector3DBase< T, GlobalTag > GlobalVectorType
Definition: MagneticFieldProvider.h:21