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.

Date:
2009/03/03 12:57:19
Revision:
1.1
Author
N. Amapane - CERN

Definition at line 16 of file FakeInterpolator.h.

Constructor & Destructor Documentation

magneticfield::FakeInterpolator::FakeInterpolator ( )
inline

Constructor.

Definition at line 19 of file FakeInterpolator.h.

19 {};

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 22 of file FakeInterpolator.h.

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