CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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...
 
virtual LocalVectorType valueInTesla (const LocalPointType &p) const
 
- 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,
GlobalTag
GlobalPointType
 
typedef Vector3DBase< float,
GlobalTag
GlobalVectorType
 
typedef Point3DBase< float,
LocalTag
LocalPointType
 
typedef Vector3DBase< float,
LocalTag
LocalVectorType
 

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

magneticfield::FakeInterpolator::FakeInterpolator ( )
inline

Constructor.

Definition at line 17 of file FakeInterpolator.h.

17 {};

Member Function Documentation

virtual LocalVectorType magneticfield::FakeInterpolator::valueInTesla ( const LocalPointType p) const
inlinevirtual

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

Implements MagneticFieldProvider< float >.

Definition at line 20 of file FakeInterpolator.h.

20  {
21  return LocalVectorType(0.,0.,0.);
22  }
Vector3DBase< float, LocalTag > LocalVectorType