#include <TrapezoidalCylindricalMFGrid.h>
Public Member Functions | |
void | dump () const |
virtual LocalPoint | fromGridFrame (double a, double b, double c) const |
find grid coordinates for point. For debugging and validation only. More... | |
virtual void | toGridFrame (const LocalPoint &p, double &a, double &b, double &c) const |
find grid coordinates for point. For debugging and validation only. More... | |
TrapezoidalCylindricalMFGrid (binary_ifstream &istr, const GloballyPositioned< float > &vol) | |
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 () |
Private Attributes | |
Trapezoid2RectangleMappingX | mapping_ |
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 11 of file TrapezoidalCylindricalMFGrid.h.
TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid | ( | binary_ifstream & | istr, |
const GloballyPositioned< float > & | vol | ||
) |
Definition at line 10 of file TrapezoidalCylindricalMFGrid.cc.
References a, abs, b, gather_cfg::cout, delta, MFGrid::frame(), MFGrid3D::grid_, h, i, j, mapping_, submitDQMOfflineCAF::nLines, Geom::pi(), Trapezoid2RectangleMappingX::rectangle(), and GloballyPositioned< T >::toLocal().
|
virtual |
|
virtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 157 of file TrapezoidalCylindricalMFGrid.cc.
References mapping_, and Trapezoid2RectangleMappingX::trapezoid().
|
virtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 147 of file TrapezoidalCylindricalMFGrid.cc.
References a, trackerHits::c, mapping_, and Trapezoid2RectangleMappingX::rectangle().
Referenced by uncheckedValueInTesla().
|
virtual |
Interpolated field value at given point; does not check for exceptions.
Implements MFGrid3D.
Definition at line 135 of file TrapezoidalCylindricalMFGrid.cc.
References a, b, trackerHits::c, MFGrid::frame(), MFGrid3D::grid_, LinearGridInterpolator3D::interpolate(), toGridFrame(), and GloballyPositioned< T >::toLocal().
|
private |
Definition at line 27 of file TrapezoidalCylindricalMFGrid.h.
Referenced by fromGridFrame(), toGridFrame(), and TrapezoidalCylindricalMFGrid().