CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SpecialCylindricalMFGrid.h
Go to the documentation of this file.
1 #ifndef Interpolation_SpecialCylindricalMFGrid_h
2 #define Interpolation_SpecialCylindricalMFGrid_h
3 
15 #include "MFGrid3D.h"
16 
17 class binary_ifstream;
18 
20 public:
21 
26  const GloballyPositioned<float>& vol,
27  int gridType);
28 
29  virtual LocalVector uncheckedValueInTesla( const LocalPoint& p) const;
30 
31  virtual 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 private:
38 
39  //double RParAsFunOfPhi[4]; // R = f(phi) or const. (0,2: const. par. ; 1,3: const./sin(phi))
40 
42  double stepPhiTerm_;
44  double startPhiTerm_;
45 
46  double stepSize( double sinPhi) const {return stepConstTerm_ + stepPhiTerm_ /sinPhi;}
47  double startingPoint( double sinPhi) const {return startConstTerm_ + startPhiTerm_/sinPhi;}
48  bool sector1;
49 };
50 
51 #endif
virtual LocalVector uncheckedValueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point; does not check for exceptions.
double startingPoint(double sinPhi) const
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.
#define dso_internal
Definition: Visibility.h:13
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:46
double stepSize(double sinPhi) const
double b
Definition: hdecay.h:120
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:37
double a
Definition: hdecay.h:121