#include <MFGrid3D.h>
Public Member Functions | |
virtual Dimensions | dimensions (void) const |
virtual Indexes | index (const LocalPoint &p) const |
MFGrid3D (const GloballyPositioned< float > &vol) | |
virtual LocalPoint | nodePosition (int i, int j, int k) const |
Position of node in local frame. More... | |
virtual LocalVector | nodeValue (int i, int j, int k) const |
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... | |
virtual LocalVector | valueInTesla (const LocalPoint &p) const |
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... | |
virtual | ~MFGrid () |
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.
|
inlinevirtual |
Implements MFGrid.
Definition at line 23 of file MFGrid3D.h.
References Dimensions::d, Dimensions::h, tmp, and Dimensions::w.
|
inlinevirtual |
Reimplemented from MFGrid.
Definition at line 42 of file MFGrid3D.h.
References a, b, trackerHits::c, Indexes::i, Indexes::j, Indexes::k, query::result, and MFGrid::toGridFrame().
Referenced by BeautifulSoup.PageElement::_invert().
|
inlinevirtual |
Position of node in local frame.
Implements MFGrid.
Definition at line 32 of file MFGrid3D.h.
References MFGrid::fromGridFrame().
|
inlinevirtual |
Field value at node.
must check range here: FIX ME !!!!
Implements MFGrid.
Definition at line 37 of file MFGrid3D.h.
|
inlineprotected |
Definition at line 64 of file MFGrid3D.h.
|
pure virtual |
Interpolated field value at given point; does not check for exceptions.
Implemented in SpecialCylindricalMFGrid, TrapezoidalCartesianMFGrid, TrapezoidalCylindricalMFGrid, RectangularCartesianMFGrid, and RectangularCylindricalMFGrid.
Referenced by valueInTesla().
|
virtual |
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().