#include <MFGrid3D.h>
Public Member Functions | |
Dimensions | dimensions (void) const override |
Indexes | index (const LocalPoint &p) const override |
MFGrid3D (const GloballyPositioned< float > &vol) | |
LocalPoint | nodePosition (int i, int j, int k) const override |
Position of node in local frame. More... | |
LocalVector | nodeValue (int i, int j, int k) const override |
Field value at node. More... | |
virtual LocalVector | uncheckedValueInTesla (const LocalPoint &p) const =0 |
Interpolated field value at given point; does not check for exceptions. More... | |
LocalVector | valueInTesla (const LocalPoint &p) const override |
Interpolated field value at given point. More... | |
Public Member Functions inherited from MFGrid | |
virtual void | dump () const |
const GloballyPositioned< float > & | frame () const |
Local reference frame. More... | |
virtual LocalPoint | fromGridFrame (double a, double b, double c) const =0 |
find grid coordinates for point. For debugging and validation only. More... | |
MFGrid (const GloballyPositioned< float > &vol) | |
virtual void | toGridFrame (const LocalPoint &p, double &a, double &b, double &c) const =0 |
find grid coordinates for point. For debugging and validation only. More... | |
~MFGrid () override | |
Public Member Functions inherited from MagneticFieldProvider< float > | |
virtual LocalVectorType | derivativeInTeslaPerMeter (const LocalPointType &p, int N) const |
virtual int | hasDerivatives () const |
virtual LocalVectorType | valueInTesla (const LocalPointType &p) const =0 |
virtual | ~MagneticFieldProvider () |
Protected Types | |
using | BVector = Grid3D::BVector |
using | GridType = Grid3D |
Protected Member Functions | |
void | setGrid (const GridType &grid) |
Protected Attributes | |
GridType | grid_ |
Additional Inherited Members | |
Public Types inherited from MFGrid | |
typedef GloballyPositioned< float >::GlobalPoint | GlobalPoint |
typedef GloballyPositioned< float >::GlobalVector | GlobalVector |
typedef GloballyPositioned< float >::LocalPoint | LocalPoint |
typedef GloballyPositioned< float >::LocalVector | LocalVector |
Public Types inherited from MagneticFieldProvider< float > | |
typedef Point3DBase< float, GlobalTag > | GlobalPointType |
typedef Vector3DBase< float, GlobalTag > | GlobalVectorType |
typedef Point3DBase< float, LocalTag > | LocalPointType |
typedef Vector3DBase< float, LocalTag > | LocalVectorType |
Generic virtual implementation of a MFGrid for a 3D underlying regular grid.
Definition at line 17 of file MFGrid3D.h.
|
protected |
Definition at line 60 of file MFGrid3D.h.
|
protected |
Definition at line 59 of file MFGrid3D.h.
|
inlineexplicit |
Definition at line 20 of file MFGrid3D.h.
|
inlineoverridevirtual |
Implements MFGrid.
Definition at line 23 of file MFGrid3D.h.
References Dimensions::d, Dimensions::h, tmp, and Dimensions::w.
|
inlineoverridevirtual |
Reimplemented from MFGrid.
Definition at line 42 of file MFGrid3D.h.
References a, b, EnergyCorrector::c, Indexes::i, Indexes::j, Indexes::k, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, MFGrid::toGridFrame(), and MFGrid::valueInTesla().
Referenced by BeautifulSoup.PageElement::insert().
|
inlineoverridevirtual |
Position of node in local frame.
Implements MFGrid.
Definition at line 32 of file MFGrid3D.h.
References MFGrid::fromGridFrame().
|
inlineoverridevirtual |
Field value at node.
must check range here: FIX ME !!!!
Implements MFGrid.
Definition at line 37 of file MFGrid3D.h.
|
inlineprotected |
|
pure virtual |
Interpolated field value at given point; does not check for exceptions.
Implemented in SpecialCylindricalMFGrid, TrapezoidalCartesianMFGrid, TrapezoidalCylindricalMFGrid, RectangularCartesianMFGrid, and RectangularCylindricalMFGrid.
Referenced by valueInTesla().
|
overridevirtual |
Interpolated field value at given point.
Implements MFGrid.
Definition at line 5 of file MFGrid3D.cc.
References MFGrid::fromGridFrame(), GridInterpolator3DException::limits(), uncheckedValueInTesla(), and pileupCalc::upper.
|
protected |
Definition at line 62 of file MFGrid3D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), RectangularCartesianMFGrid::RectangularCartesianMFGrid(), RectangularCylindricalMFGrid::RectangularCylindricalMFGrid(), SpecialCylindricalMFGrid::SpecialCylindricalMFGrid(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), RectangularCylindricalMFGrid::uncheckedValueInTesla(), RectangularCartesianMFGrid::uncheckedValueInTesla(), TrapezoidalCylindricalMFGrid::uncheckedValueInTesla(), TrapezoidalCartesianMFGrid::uncheckedValueInTesla(), and SpecialCylindricalMFGrid::uncheckedValueInTesla().