CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalGridWrapper.h
Go to the documentation of this file.
1 #ifndef GlobalGridWrapper_h
2 #define GlobalGridWrapper_h
3 
17 
18 #include <string>
19 
20 class binary_ifstream;
21 class MagneticFieldGrid;
22 
24 public:
25 
27  const std::string& fileName);
28 
29  virtual LocalVector valueInTesla( const LocalPoint& p) const;
30 
31  void dump() const;
32 
33  virtual void toGridFrame( const LocalPoint& p, double& a, double& b, double& c) const;
34 
35  virtual LocalPoint fromGridFrame( double a, double b, double c) const;
36 
37  virtual Dimensions dimensions() const;
38 
39  virtual LocalPoint nodePosition( int i, int j, int k) const;
40 
41  virtual LocalVector nodeValue( int i, int j, int k) const;
42 
43 private:
44 
46 
47 };
48 
49 #endif
int i
Definition: DBlmapReader.cc:9
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:36
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
int j
Definition: DBlmapReader.cc:9
#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.
int k[5][pyjets_maxn]
virtual LocalVector valueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point.
virtual void dump() const
Definition: MFGrid.h:46
double b
Definition: hdecay.h:120
Definition: MFGrid.h:31
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:37
double a
Definition: hdecay.h:121