CMS 3D CMS Logo

List of all members | Public Member Functions
magneticfield::FakeInterpolator Class Reference

#include <FakeInterpolator.h>

Inheritance diagram for magneticfield::FakeInterpolator:
MagneticFieldProvider< float >

Public Member Functions

 FakeInterpolator ()
 Constructor. More...
 
LocalVectorType valueInTesla (const LocalPointType &p) const override
 
- Public Member Functions inherited from MagneticFieldProvider< float >
virtual LocalVectorType derivativeInTeslaPerMeter (const LocalPointType &p, int N) const
 
virtual int hasDerivatives () const
 
virtual ~MagneticFieldProvider ()
 

Additional Inherited Members

- Public Types inherited from MagneticFieldProvider< float >
typedef Point3DBase< float, GlobalTagGlobalPointType
 
typedef Vector3DBase< float, GlobalTagGlobalVectorType
 
typedef Point3DBase< float, LocalTagLocalPointType
 
typedef Vector3DBase< float, LocalTagLocalVectorType
 

Detailed Description

Fake field interpolator, that always return B=0.

Author
N. Amapane - CERN

Definition at line 14 of file FakeInterpolator.h.

Constructor & Destructor Documentation

◆ FakeInterpolator()

magneticfield::FakeInterpolator::FakeInterpolator ( )
inline

Constructor.

Definition at line 17 of file FakeInterpolator.h.

17 {};

Member Function Documentation

◆ valueInTesla()

LocalVectorType magneticfield::FakeInterpolator::valueInTesla ( const LocalPointType p) const
inlineoverridevirtual

Returns the field vector in the local frame, at local position p

Implements MagneticFieldProvider< float >.

Definition at line 20 of file FakeInterpolator.h.

20 { return LocalVectorType(0., 0., 0.); }
MagneticFieldProvider< float >::LocalVectorType
Vector3DBase< float, LocalTag > LocalVectorType
Definition: MagneticFieldProvider.h:22