CMS 3D CMS Logo

Public Member Functions

magneticfield::FakeInterpolator Class Reference

#include <FakeInterpolator.h>

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

List of all members.

Public Member Functions

 FakeInterpolator ()
 Constructor.
virtual LocalVectorType valueInTesla (const LocalPointType &p) const

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.

{};

Member Function Documentation

virtual LocalVectorType magneticfield::FakeInterpolator::valueInTesla ( const LocalPointType p) const [inline, virtual]

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

Implements MagneticFieldProvider< float >.

Definition at line 22 of file FakeInterpolator.h.

                                                                       {
    return LocalVectorType(0.,0.,0.);
  }