CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Types | Private Attributes
ShiftingMagneticFieldProvider< T > Class Template Referencefinal

#include <ShiftingMagneticFieldProvider.h>

Inheritance diagram for ShiftingMagneticFieldProvider< T >:
MagneticFieldProvider< T >

Public Types

typedef MagneticFieldProvider
< T >::GlobalPointType 
GlobalPointType
 
typedef MagneticFieldProvider
< T >::GlobalVectorType 
GlobalVectorType
 
typedef MagneticFieldProvider
< T >::LocalPointType 
LocalPointType
 
typedef MagneticFieldProvider
< T >::LocalVectorType 
LocalVectorType
 
- Public Types inherited from MagneticFieldProvider< T >
typedef Point3DBase< T, GlobalTagGlobalPointType
 
typedef Vector3DBase< T,
GlobalTag
GlobalVectorType
 
typedef Point3DBase< T, LocalTagLocalPointType
 
typedef Vector3DBase< T, LocalTagLocalVectorType
 

Public Member Functions

 ShiftingMagneticFieldProvider (const MagVolume &magvol, const MagVolume::PositionType &pos, const MagVolume::RotationType &rot)
 
virtual LocalVectorType valueInTesla (const LocalPointType &p) const
 
- Public Member Functions inherited from MagneticFieldProvider< T >
virtual LocalVectorType derivativeInTeslaPerMeter (const LocalPointType &p, int N) const
 
virtual int hasDerivatives () const
 
virtual ~MagneticFieldProvider ()
 

Private Types

enum  FrameRelation { sameFrame, sameOrientation, differentFrames }
 

Private Attributes

GloballyPositioned< TtheFrame
 
FrameRelation theFrameRelation
 
const MagVolumetheMagVolume
 
Basic3DVector< TtheShift
 

Detailed Description

template<class T>
class ShiftingMagneticFieldProvider< T >

Definition at line 11 of file ShiftingMagneticFieldProvider.h.

Member Typedef Documentation

Definition at line 16 of file ShiftingMagneticFieldProvider.h.

Definition at line 17 of file ShiftingMagneticFieldProvider.h.

Definition at line 14 of file ShiftingMagneticFieldProvider.h.

Definition at line 15 of file ShiftingMagneticFieldProvider.h.

Member Enumeration Documentation

template<class T >
enum ShiftingMagneticFieldProvider::FrameRelation
private

Constructor & Destructor Documentation

template<class T >
ShiftingMagneticFieldProvider< T >::ShiftingMagneticFieldProvider ( const MagVolume magvol,
const MagVolume::PositionType pos,
const MagVolume::RotationType rot 
)

Member Function Documentation

template<class T >
virtual LocalVectorType ShiftingMagneticFieldProvider< T >::valueInTesla ( const LocalPointType p) const
virtual

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

Implements MagneticFieldProvider< T >.

Member Data Documentation

template<class T >
GloballyPositioned<T> ShiftingMagneticFieldProvider< T >::theFrame
private

Definition at line 30 of file ShiftingMagneticFieldProvider.h.

template<class T >
FrameRelation ShiftingMagneticFieldProvider< T >::theFrameRelation
private

Definition at line 31 of file ShiftingMagneticFieldProvider.h.

template<class T >
const MagVolume& ShiftingMagneticFieldProvider< T >::theMagVolume
private

Definition at line 32 of file ShiftingMagneticFieldProvider.h.

template<class T >
Basic3DVector<T> ShiftingMagneticFieldProvider< T >::theShift
private

Definition at line 33 of file ShiftingMagneticFieldProvider.h.