CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 binary_ifstream;
18 class MagneticFieldGrid;
19 
21 public:
23 
24  LocalVector valueInTesla(const LocalPoint& p) const override;
25 
26  void dump() const override;
27 
28  void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
29 
30  LocalPoint fromGridFrame(double a, double b, double c) const override;
31 
32  Dimensions dimensions() const override;
33 
34  LocalPoint nodePosition(int i, int j, int k) const override;
35 
36  LocalVector nodeValue(int i, int j, int k) const override;
37 
38 private:
40 };
41 
42 #endif
const edm::EventSetup & c
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
#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.
virtual void dump() const
Definition: MFGrid.h:41
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