CMS 3D CMS Logo

SpecialCylindricalMFGrid.h
Go to the documentation of this file.
1 #ifndef Interpolation_SpecialCylindricalMFGrid_h
2 #define Interpolation_SpecialCylindricalMFGrid_h
3 
12 #include "MFGrid3D.h"
13 
15  class binary_ifstream;
16 }
17 
19 public:
21 
26 
27  LocalVector uncheckedValueInTesla(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 private:
36  //double RParAsFunOfPhi[4]; // R = f(phi) or const. (0,2: const. par. ; 1,3: const./sin(phi))
37 
39  double stepPhiTerm_;
41  double startPhiTerm_;
42 
43  double stepSize(double sinPhi) const { return stepConstTerm_ + stepPhiTerm_ / sinPhi; }
44  double startingPoint(double sinPhi) const { return startConstTerm_ + startPhiTerm_ / sinPhi; }
45  bool sector1;
46 };
47 
48 #endif
virtual LocalVector uncheckedValueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point; does not check for exceptions.
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
double stepSize(double sinPhi) const
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 void dump() const
Definition: MFGrid.h:41
#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.
double b
Definition: hdecay.h:120
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
double startingPoint(double sinPhi) const
double a
Definition: hdecay.h:121