#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 57 of file MFGrid3D.h.
|
protected |
Definition at line 56 of file MFGrid3D.h.
|
inlineexplicit |
Definition at line 19 of file MFGrid3D.h.
|
inlineoverridevirtual |
Implements MFGrid.
Definition at line 21 of file MFGrid3D.h.
References createJobs::tmp.
|
inlineoverridevirtual |
Reimplemented from MFGrid.
Definition at line 40 of file MFGrid3D.h.
References a, b, c, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and MFGrid::toGridFrame().
Referenced by BeautifulSoup.PageElement::insert().
|
inlineoverridevirtual |
Position of node in local frame.
Implements MFGrid.
Definition at line 30 of file MFGrid3D.h.
References MFGrid::fromGridFrame(), mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
|
inlineoverridevirtual |
Field value at node.
must check range here: FIX ME !!!!
Implements MFGrid.
Definition at line 35 of file MFGrid3D.h.
References mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
|
inlineprotected |
|
pure virtual |
Interpolated field value at given point; does not check for exceptions.
Implemented in SpecialCylindricalMFGrid, TrapezoidalCartesianMFGrid, TrapezoidalCylindricalMFGrid, RectangularCylindricalMFGrid, and RectangularCartesianMFGrid.
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(), TH2PolyOfflineMaps::limits, AlCaHLTBitMon_ParallelJobs::p, and uncheckedValueInTesla().
|
protected |
Definition at line 59 of file MFGrid3D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), RectangularCartesianMFGrid::RectangularCartesianMFGrid(), RectangularCylindricalMFGrid::RectangularCylindricalMFGrid(), SpecialCylindricalMFGrid::SpecialCylindricalMFGrid(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), RectangularCartesianMFGrid::uncheckedValueInTesla(), RectangularCylindricalMFGrid::uncheckedValueInTesla(), TrapezoidalCylindricalMFGrid::uncheckedValueInTesla(), TrapezoidalCartesianMFGrid::uncheckedValueInTesla(), and SpecialCylindricalMFGrid::uncheckedValueInTesla().