CMS 3D CMS Logo

Public Types | Public Member Functions | Private Types | Private Attributes

ShiftingMagneticFieldProvider< T > Class Template Reference

#include <ShiftingMagneticFieldProvider.h>

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

List of all members.

Public Types

typedef MagneticFieldProvider
< T >::GlobalPointType 
GlobalPointType
typedef MagneticFieldProvider
< T >::GlobalVectorType 
GlobalVectorType
typedef MagneticFieldProvider
< T >::LocalPointType 
LocalPointType
typedef MagneticFieldProvider
< T >::LocalVectorType 
LocalVectorType

Public Member Functions

 ShiftingMagneticFieldProvider (const MagVolume &magvol, const MagVolume::PositionType &pos, const MagVolume::RotationType &rot)
virtual LocalVectorType valueInTesla (const LocalPointType &p) const

Private Types

enum  FrameRelation { sameFrame, sameOrientation, differentFrames }

Private Attributes

GloballyPositioned< T > theFrame
FrameRelation theFrameRelation
const MagVolumetheMagVolume
Basic3DVector< T > theShift

Detailed Description

template<class T>
class ShiftingMagneticFieldProvider< T >

Definition at line 8 of file ShiftingMagneticFieldProvider.h.


Member Typedef Documentation

Reimplemented from MagneticFieldProvider< T >.

Definition at line 13 of file ShiftingMagneticFieldProvider.h.

Reimplemented from MagneticFieldProvider< T >.

Definition at line 14 of file ShiftingMagneticFieldProvider.h.

Reimplemented from MagneticFieldProvider< T >.

Definition at line 11 of file ShiftingMagneticFieldProvider.h.

Reimplemented from MagneticFieldProvider< T >.

Definition at line 12 of file ShiftingMagneticFieldProvider.h.


Member Enumeration Documentation

template<class T >
enum ShiftingMagneticFieldProvider::FrameRelation [private]
Enumerator:
sameFrame 
sameOrientation 
differentFrames 

Definition at line 25 of file ShiftingMagneticFieldProvider.h.


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 27 of file ShiftingMagneticFieldProvider.h.

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

Definition at line 28 of file ShiftingMagneticFieldProvider.h.

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

Definition at line 29 of file ShiftingMagneticFieldProvider.h.

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

Definition at line 30 of file ShiftingMagneticFieldProvider.h.