CMS 3D CMS Logo

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
GloballyPositioned< float >
Visibility.h
mps_fire.i
i
Definition: mps_fire.py:428
MFGrid
Definition: MFGrid.h:27
MFGrid::LocalVector
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
CylinderFromSectorMFGrid::theDelta
double theDelta
Definition: CylinderFromSectorMFGrid.h:29
CylinderFromSectorMFGrid::thePhiMax
double thePhiMax
Definition: CylinderFromSectorMFGrid.h:27
CylinderFromSectorMFGrid::theSectorGrid
MFGrid * theSectorGrid
Definition: CylinderFromSectorMFGrid.h:28
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition: AlignmentTrackSelector_cfi.py:18
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
MFGrid::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
dqmdumpme.k
k
Definition: dqmdumpme.py:60
CylinderFromSectorMFGrid
Definition: CylinderFromSectorMFGrid.h:7
b
double b
Definition: hdecay.h:118
MFGrid::nodeValue
virtual LocalVector nodeValue(int i, int j, int k) const =0
Field value at node.
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::nodePosition
virtual LocalPoint nodePosition(int i, int j, int k) const =0
Position of node in local frame.
CylinderFromSectorMFGrid::thePhiMin
double thePhiMin
Definition: CylinderFromSectorMFGrid.h:26
MFGrid::dimensions
virtual Dimensions dimensions() const =0
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.
MFGrid.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
MFGrid::valueInTesla
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.
Dimensions
Definition: MFGrid.h:15