#include <MFGrid.h>
Public Types | |
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 |
Public Member Functions | |
virtual Dimensions | dimensions () const =0 |
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... | |
virtual Indexes | index (const LocalPoint &p) const |
MFGrid (const GloballyPositioned< float > &vol) | |
virtual LocalPoint | nodePosition (int i, int j, int k) const =0 |
Position of node in local frame. More... | |
virtual LocalVector | nodeValue (int i, int j, int k) const =0 |
Field value at node. More... | |
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 LocalVector | valueInTesla (const LocalPoint &p) const =0 |
Interpolated field value at given point. 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 () |
Private Attributes | |
GloballyPositioned< float > | frame_ |
Virtual interface for a field provider that is based on interpolation on a regular grid.
typedef GloballyPositioned<float>::GlobalPoint MFGrid::GlobalPoint |
typedef GloballyPositioned<float>::GlobalVector MFGrid::GlobalVector |
typedef GloballyPositioned<float>::LocalPoint MFGrid::LocalPoint |
typedef GloballyPositioned<float>::LocalVector MFGrid::LocalVector |
|
inlineexplicit |
|
inlinevirtual |
|
pure virtual |
Implemented in GlobalGridWrapper, MFGrid3D, CylinderFromSectorMFGrid, and ZReflectedMFGrid.
Referenced by CylinderFromSectorMFGrid::dimensions(), and ZReflectedMFGrid::dimensions().
|
inlinevirtual |
Reimplemented in GlobalGridWrapper, SpecialCylindricalMFGrid, TrapezoidalCartesianMFGrid, TrapezoidalCylindricalMFGrid, RectangularCartesianMFGrid, and RectangularCylindricalMFGrid.
Definition at line 44 of file MFGrid.h.
References a, b, EnergyCorrector::c, SiPixelPhase1DigisV_cfi::dimensions, mps_fire::i, and gen::k.
|
inline |
Local reference frame.
Definition at line 63 of file MFGrid.h.
Referenced by SpecialCylindricalMFGrid::fromGridFrame(), RectangularCartesianMFGrid::RectangularCartesianMFGrid(), RectangularCylindricalMFGrid::RectangularCylindricalMFGrid(), SpecialCylindricalMFGrid::SpecialCylindricalMFGrid(), SpecialCylindricalMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), TrapezoidalCylindricalMFGrid::uncheckedValueInTesla(), and GlobalGridWrapper::valueInTesla().
|
pure virtual |
find grid coordinates for point. For debugging and validation only.
Implemented in GlobalGridWrapper, SpecialCylindricalMFGrid, TrapezoidalCartesianMFGrid, TrapezoidalCylindricalMFGrid, RectangularCartesianMFGrid, RectangularCylindricalMFGrid, CylinderFromSectorMFGrid, and ZReflectedMFGrid.
Referenced by MFGrid3D::nodePosition(), and MFGrid3D::valueInTesla().
|
inlinevirtual |
Reimplemented in MFGrid3D.
Definition at line 60 of file MFGrid.h.
Referenced by BeautifulSoup.PageElement::insert().
|
pure virtual |
Position of node in local frame.
Implemented in GlobalGridWrapper, MFGrid3D, CylinderFromSectorMFGrid, and ZReflectedMFGrid.
|
pure virtual |
Field value at node.
Implemented in GlobalGridWrapper, MFGrid3D, CylinderFromSectorMFGrid, and ZReflectedMFGrid.
|
pure virtual |
find grid coordinates for point. For debugging and validation only.
Implemented in GlobalGridWrapper, SpecialCylindricalMFGrid, TrapezoidalCartesianMFGrid, TrapezoidalCylindricalMFGrid, RectangularCartesianMFGrid, RectangularCylindricalMFGrid, CylinderFromSectorMFGrid, and ZReflectedMFGrid.
Referenced by MFGrid3D::index().
|
pure virtual |
Interpolated field value at given point.
Implemented in MFGrid3D, GlobalGridWrapper, CylinderFromSectorMFGrid, and ZReflectedMFGrid.
Referenced by MFGrid3D::index(), ZReflectedMFGrid::valueInTesla(), and CylinderFromSectorMFGrid::valueInTesla().
|
private |