#include <RectangularCartesianMFGrid.h>
Public Types | |
using | binary_ifstream = magneticfield::interpolation::binary_ifstream |
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 |
Public Member Functions | |
void | dump () const override |
LocalPoint | fromGridFrame (double a, double b, double c) const override |
find grid coordinates for point. For debugging and validation only. More... | |
RectangularCartesianMFGrid (binary_ifstream &istr, const GloballyPositioned< float > &vol) | |
void | toGridFrame (const LocalPoint &p, double &a, double &b, double &c) const override |
find grid coordinates for point. For debugging and validation only. More... | |
LocalVector | uncheckedValueInTesla (const LocalPoint &p) const override |
Interpolated field value at given point; does not check for exceptions. More... | |
Public Member Functions inherited from MFGrid3D | |
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... | |
LocalVector | valueInTesla (const LocalPoint &p) const override |
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) | |
~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 () |
Additional Inherited Members | |
Protected Types inherited from MFGrid3D | |
using | BVector = Grid3D::BVector |
using | GridType = Grid3D |
Protected Member Functions inherited from MFGrid3D | |
void | setGrid (const GridType &grid) |
Protected Attributes inherited from MFGrid3D | |
GridType | grid_ |
Definition at line 11 of file RectangularCartesianMFGrid.h.
Definition at line 13 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_, testHGCalDigi_cfg::inFile, submitDQMOfflineCAF::nLines, and GloballyPositioned< T >::toLocal().
|
overridevirtual |
Reimplemented from MFGrid.
Definition at line 61 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().
|
overridevirtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 97 of file RectangularCartesianMFGrid.cc.
References a, b, and DummyCfis::c.
|
overridevirtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 91 of file RectangularCartesianMFGrid.cc.
References a, b, DummyCfis::c, and AlCaHLTBitMon_ParallelJobs::p.
|
overridevirtual |
Interpolated field value at given point; does not check for exceptions.
Implements MFGrid3D.
Definition at line 82 of file RectangularCartesianMFGrid.cc.
References MFGrid3D::grid_, LinearGridInterpolator3D::interpolate(), and AlCaHLTBitMon_ParallelJobs::p.