CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
14 class binary_ifstream;
15 
17 public:
22 
23  LocalVector uncheckedValueInTesla(const LocalPoint& p) const override;
24 
25  void dump() const override;
26 
27  void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
28 
29  LocalPoint fromGridFrame(double a, double b, double c) const override;
30 
31 private:
32  //double RParAsFunOfPhi[4]; // R = f(phi) or const. (0,2: const. par. ; 1,3: const./sin(phi))
33 
35  double stepPhiTerm_;
37  double startPhiTerm_;
38 
39  double stepSize(double sinPhi) const { return stepConstTerm_ + stepPhiTerm_ / sinPhi; }
40  double startingPoint(double sinPhi) const { return startConstTerm_ + startPhiTerm_ / sinPhi; }
41  bool sector1;
42 };
43 
44 #endif
virtual LocalVector uncheckedValueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point; does not check for exceptions.
const edm::EventSetup & c
double startingPoint(double sinPhi) const
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
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:41
double stepSize(double sinPhi) const
double b
Definition: hdecay.h:118
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
double a
Definition: hdecay.h:119