CMS 3D CMS Logo

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