CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CylinderFromSectorMFGrid.h
Go to the documentation of this file.
1 #ifndef CylinderFromSectorMFGrid_H
2 #define CylinderFromSectorMFGrid_H
3 
6 
8 public:
9  CylinderFromSectorMFGrid(const GloballyPositioned<float>& vol, double phiMin, double phiMax, MFGrid* sectorGrid);
10 
11  ~CylinderFromSectorMFGrid() override;
12 
13  LocalVector valueInTesla(const LocalPoint& p) const override;
14 
15  void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
16 
17  LocalPoint fromGridFrame(double a, double b, double c) const override;
18 
19  Dimensions dimensions() const override;
20 
21  LocalPoint nodePosition(int i, int j, int k) const override;
22 
23  LocalVector nodeValue(int i, int j, int k) const override;
24 
25 private:
26  double thePhiMin;
27  double thePhiMax;
29  double theDelta;
30 
31  void throwUp(const char* message) const;
32 };
33 
34 #endif
const edm::EventSetup & c
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.
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
#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:118
Definition: MFGrid.h:27
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
double a
Definition: hdecay.h:119