CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ShiftingMagneticFieldProvider.h
Go to the documentation of this file.
1 #ifndef ShiftingMagneticFieldProvider_H
2 #define ShiftingMagneticFieldProvider_H
3 
6 
8 
9 
10 template <class T>
11 class ShiftingMagneticFieldProvider GCC11_FINAL : public MagneticFieldProvider<T> {
12 public:
13 
18 
19 
20  ShiftingMagneticFieldProvider( const MagVolume& magvol,
21  const MagVolume::PositionType& pos,
23 
24  virtual LocalVectorType valueInTesla( const LocalPointType& p) const;
25 
26 private:
27 
28  enum FrameRelation {sameFrame, sameOrientation, differentFrames};
29 
34 
35 };
36 
37 #include "TrackPropagation/NavGeometry/src/ShiftingMagneticFieldProvider.icc"
38 
39 #endif
FrameRelation theFrameRelation
Basic3DVector< T > theShift
MagneticFieldProvider< T >::GlobalPointType GlobalPointType
MagneticFieldProvider< T >::LocalPointType LocalPointType
MagneticFieldProvider< T >::LocalVectorType LocalVectorType
MagneticFieldProvider< T >::GlobalVectorType GlobalVectorType
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0
const MagVolume & theMagVolume
GloballyPositioned< T > theFrame
Unlimited (trivial) bounds.