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 
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
GloballyPositioned< float >
Visibility.h
SpecialCylindricalMFGrid::startConstTerm_
double startConstTerm_
Definition: SpecialCylindricalMFGrid.h:36
SpecialCylindricalMFGrid::stepConstTerm_
double stepConstTerm_
Definition: SpecialCylindricalMFGrid.h:34
MFGrid::LocalVector
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
SpecialCylindricalMFGrid::sector1
bool sector1
Definition: SpecialCylindricalMFGrid.h:41
SpecialCylindricalMFGrid::stepPhiTerm_
double stepPhiTerm_
Definition: SpecialCylindricalMFGrid.h:35
SpecialCylindricalMFGrid::startPhiTerm_
double startPhiTerm_
Definition: SpecialCylindricalMFGrid.h:37
Phase1L1TJetProducer_cfi.sinPhi
sinPhi
Definition: Phase1L1TJetProducer_cfi.py:39
SpecialCylindricalMFGrid::stepSize
double stepSize(double sinPhi) const
Definition: SpecialCylindricalMFGrid.h:39
binary_ifstream
Definition: binary_ifstream.h:8
MFGrid::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
b
double b
Definition: hdecay.h:118
MFGrid3D.h
MFGrid3D::uncheckedValueInTesla
virtual LocalVector uncheckedValueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point; does not check for exceptions.
SpecialCylindricalMFGrid
Definition: SpecialCylindricalMFGrid.h:16
a
double a
Definition: hdecay.h:119
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
dso_internal
#define dso_internal
Definition: Visibility.h:13
MFGrid::fromGridFrame
virtual LocalPoint fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
MFGrid::dump
virtual void dump() const
Definition: MFGrid.h:41
MFGrid::toGridFrame
virtual void toGridFrame(const LocalPoint &p, double &a, double &b, double &c) const =0
find grid coordinates for point. For debugging and validation only.
MFGrid3D
Definition: MFGrid3D.h:17
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
SpecialCylindricalMFGrid::startingPoint
double startingPoint(double sinPhi) const
Definition: SpecialCylindricalMFGrid.h:40