CMS 3D CMS Logo

GlobalGridWrapper.h
Go to the documentation of this file.
1 #ifndef GlobalGridWrapper_h
2 #define GlobalGridWrapper_h
3 
14 
15 #include <string>
16 
17 class MagneticFieldGrid;
18 
20 public:
22 
23  LocalVector valueInTesla(const LocalPoint& p) const override;
24 
25  void dump() const override;
26 
27  void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
28 
29  LocalPoint fromGridFrame(double a, double b, double c) const override;
30 
31  Dimensions dimensions() const override;
32 
33  LocalPoint nodePosition(int i, int j, int k) const override;
34 
35  LocalVector nodeValue(int i, int j, int k) const override;
36 
37 private:
39 };
40 
41 #endif
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
virtual void toGridFrame(const LocalPoint &p, double &a, double &b, double &c) const =0
find grid coordinates for point. For debugging and validation only.
virtual LocalVector nodeValue(int i, int j, int k) const =0
Field value at node.
virtual LocalPoint nodePosition(int i, int j, int k) const =0
Position of node in local frame.
virtual Dimensions dimensions() const =0
virtual void dump() const
Definition: MFGrid.h:41
#define dso_internal
Definition: Visibility.h:13
MagneticFieldGrid * theRealOne
virtual LocalPoint fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
double b
Definition: hdecay.h:118
Definition: MFGrid.h:27
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
double a
Definition: hdecay.h:119