CMS 3D CMS Logo

RKLocalFieldProvider.h
Go to the documentation of this file.
1 #ifndef RKLocalFieldProvider_H
2 #define RKLocalFieldProvider_H
4 
7 
8 class MagVolume;
9 
11 public:
20 
22  explicit RKLocalFieldProvider(const MagVolume& vol);
23 
25  RKLocalFieldProvider(const MagVolume& vol, const Frame& frame);
26 
28  Vector inTesla(const LocalPoint& lp) const;
29 
30  Vector inTesla(double x, double y, double z) const { return inTesla(LocalPoint(x, y, z)); }
31 
32  Vector inTesla(const Vector& v) const { return inTesla(LocalPoint(v)); }
33 
35  const Frame& frame() const { return theFrame; }
36 
37 private:
39  const Frame& theFrame;
40  bool transform_;
41 };
42 
43 #endif
Vector3DBase
Definition: Vector3DBase.h:8
GloballyPositioned< float >
TkRotation< float >
DDAxes::y
Visibility.h
RKLocalFieldProvider::theVolume
const MagVolume & theVolume
Definition: RKLocalFieldProvider.h:38
RKLocalFieldProvider::inTesla
Vector inTesla(double x, double y, double z) const
Definition: RKLocalFieldProvider.h:30
RKLocalFieldProvider::GlobalPoint
Frame::GlobalPoint GlobalPoint
Definition: RKLocalFieldProvider.h:14
DDAxes::x
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
RKLocalFieldProvider::GlobalVector
Frame::GlobalVector GlobalVector
Definition: RKLocalFieldProvider.h:13
findQualityFiles.v
v
Definition: findQualityFiles.py:179
RKLocalFieldProvider
Definition: RKLocalFieldProvider.h:10
RKLocalFieldProvider::Rotation
Frame::RotationType Rotation
Definition: RKLocalFieldProvider.h:18
RKLocalFieldProvider::theFrame
const Frame & theFrame
Definition: RKLocalFieldProvider.h:39
DDAxes::z
GloballyPositioned.h
Point3DBase< float, GlobalTag >
RKLocalFieldProvider::LocalPoint
Frame::LocalPoint LocalPoint
Definition: RKLocalFieldProvider.h:16
dso_internal
#define dso_internal
Definition: Visibility.h:13
MagVolume
Definition: MagVolume.h:13
RKLocalFieldProvider::transform_
bool transform_
Definition: RKLocalFieldProvider.h:40
RKLocalFieldProvider::LocalVector
Frame::LocalVector LocalVector
Definition: RKLocalFieldProvider.h:15
RKLocalFieldProvider::inTesla
Vector inTesla(const Vector &v) const
Definition: RKLocalFieldProvider.h:32
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
RKLocalFieldProvider::Frame
GloballyPositioned< float > Frame
Definition: RKLocalFieldProvider.h:12
RKLocalFieldProvider::Position
Frame::PositionType Position
Definition: RKLocalFieldProvider.h:17
RKLocalFieldProvider::Vector
GlobalVector::BasicVectorType Vector
Definition: RKLocalFieldProvider.h:19
RKLocalFieldProvider::frame
const Frame & frame() const
The reference frame in which the field is defined.
Definition: RKLocalFieldProvider.h:35
Basic3DVector
Definition: extBasic3DVector.h:30