CMS 3D CMS Logo

List of all members | Public Member Functions
MagneticFieldVolume Class Reference

#include <MagneticFieldVolume.h>

Public Member Functions

LocalVector derivativeInTeslaPerMeter (const LocalPoint &p, int N) const
 
int hasDerivatives () const
 
PositionType position () const
 
RotationType rotation () const
 
LocalVector valueInTesla (const LocalPoint &p) const
 
GlobalVector valueInTesla (const GlobalPoint &p) const
 

Detailed Description

Definition at line 4 of file MagneticFieldVolume.h.

Member Function Documentation

LocalVector MagneticFieldVolume::derivativeInTeslaPerMeter ( const LocalPoint p,
int  N 
) const

Returns the Nth spacial derivative of the field in the local frame.

int MagneticFieldVolume::hasDerivatives ( ) const

Returns the maximal order of available derivatives. Returns 0 if derivatives are not available.

PositionType MagneticFieldVolume::position ( ) const

Position and rotation of field parametrisation reference frame with respect to the global frame.

RotationType MagneticFieldVolume::rotation ( ) const
LocalVector MagneticFieldVolume::valueInTesla ( const LocalPoint p) const

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

GlobalVector MagneticFieldVolume::valueInTesla ( const GlobalPoint p) const

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