test
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 
15 
16 #include <string>
17 
18 class binary_ifstream;
19 class MagneticFieldGrid;
20 
22 public:
23 
25  const std::string& fileName);
26 
27  virtual LocalVector valueInTesla( const LocalPoint& p) const;
28 
29  void dump() const;
30 
31  virtual void toGridFrame( const LocalPoint& p, double& a, double& b, double& c) const;
32 
33  virtual LocalPoint fromGridFrame( double a, double b, double c) const;
34 
35  virtual Dimensions dimensions() const;
36 
37  virtual LocalPoint nodePosition( int i, int j, int k) const;
38 
39  virtual LocalVector nodeValue( int i, int j, int k) const;
40 
41 private:
42 
44 
45 };
46 
47 #endif
int i
Definition: DBlmapReader.cc:9
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:34
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
MagneticFieldGrid * theRealOne
virtual LocalPoint fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
virtual LocalVector valueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point.
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
#define dso_internal
double a
Definition: hdecay.h:121