#include <RectangularCartesianMFGrid.h>
Public Member Functions | |
virtual void | dump () const |
virtual LocalPoint | fromGridFrame (double a, double b, double c) const |
find grid coordinates for point. For debugging and validation only. More... | |
RectangularCartesianMFGrid (binary_ifstream &istr, const GloballyPositioned< float > &vol) | |
virtual void | toGridFrame (const LocalPoint &p, double &a, double &b, double &c) const |
find grid coordinates for point. For debugging and validation only. More... | |
virtual LocalVector | uncheckedValueInTesla (const LocalPoint &p) const |
Interpolated field value at given point; does not check for exceptions. More... | |
Public Member Functions inherited from MFGrid3D | |
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 | valueInTesla (const LocalPoint &p) const |
Interpolated field value at given point. More... | |
Public Member Functions inherited from MFGrid | |
const GloballyPositioned< float > & | frame () const |
Local reference frame. More... | |
MFGrid (const GloballyPositioned< float > &vol) | |
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 () |
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 |
Protected Types inherited from MFGrid3D | |
typedef Basic3DVector< float > | BVector |
typedef Grid3D | GridType |
Protected Member Functions inherited from MFGrid3D | |
void | setGrid (const GridType &grid) |
Protected Attributes inherited from MFGrid3D | |
GridType | grid_ |
Definition at line 9 of file RectangularCartesianMFGrid.h.
RectangularCartesianMFGrid::RectangularCartesianMFGrid | ( | binary_ifstream & | istr, |
const GloballyPositioned< float > & | vol | ||
) |
Definition at line 9 of file RectangularCartesianMFGrid.cc.
References gather_cfg::cout, MFGrid::frame(), MFGrid3D::grid_, submitDQMOfflineCAF::nLines, and GloballyPositioned< T >::toLocal().
|
virtual |
Reimplemented from MFGrid.
Definition at line 66 of file RectangularCartesianMFGrid.cc.
References gather_cfg::cout, Grid3D::data(), MFGrid3D::grid_, Grid3D::grida(), Grid3D::gridb(), Grid3D::gridc(), Grid1D::lower(), Grid1D::nodes(), and Grid1D::step().
|
virtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 108 of file RectangularCartesianMFGrid.cc.
|
virtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 100 of file RectangularCartesianMFGrid.cc.
|
virtual |
Interpolated field value at given point; does not check for exceptions.
Implements MFGrid3D.
Definition at line 90 of file RectangularCartesianMFGrid.cc.
References MFGrid3D::grid_, LinearGridInterpolator3D::interpolate(), and relativeConstraints::value.