CMS 3D CMS Logo

GlobalGridWrapper.h
Go to the documentation of this file.
1 #ifndef GlobalGridWrapper_h
2 #define GlobalGridWrapper_h
3 
14 
15 #include <string>
16 
17 class binary_ifstream;
18 class MagneticFieldGrid;
19 
21 public:
23 
24  LocalVector valueInTesla(const LocalPoint& p) const override;
25 
26  void dump() const override;
27 
28  void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
29 
30  LocalPoint fromGridFrame(double a, double b, double c) const override;
31 
32  Dimensions dimensions() const override;
33 
34  LocalPoint nodePosition(int i, int j, int k) const override;
35 
36  LocalVector nodeValue(int i, int j, int k) const override;
37 
38 private:
40 };
41 
42 #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
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
MagneticFieldGrid
Definition: MagneticFieldGrid.h:32
binary_ifstream
Definition: binary_ifstream.h:8
MFGrid::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
dqmdumpme.k
k
Definition: dqmdumpme.py:60
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.
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MFGrid::nodePosition
virtual LocalPoint nodePosition(int i, int j, int k) const =0
Position of node in local frame.
MFGrid::dump
virtual void dump() const
Definition: MFGrid.h:41
MFGrid::dimensions
virtual Dimensions dimensions() const =0
GlobalGridWrapper::theRealOne
MagneticFieldGrid * theRealOne
Definition: GlobalGridWrapper.h:39
GlobalGridWrapper
Definition: GlobalGridWrapper.h:20
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