#include <TrapezoidalCylindricalMFGrid.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... | |
void | toGridFrame (const LocalPoint &p, double &a, double &b, double &c) const override |
find grid coordinates for point. For debugging and validation only. More... | |
TrapezoidalCylindricalMFGrid (binary_ifstream &istr, const GloballyPositioned< float > &vol) | |
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 () |
Private Attributes | |
Trapezoid2RectangleMappingX | mapping_ |
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 12 of file TrapezoidalCylindricalMFGrid.h.
Definition at line 14 of file TrapezoidalCylindricalMFGrid.h.
TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid | ( | binary_ifstream & | istr, |
const GloballyPositioned< float > & | vol | ||
) |
Definition at line 10 of file TrapezoidalCylindricalMFGrid.cc.
References a, funct::abs(), b, gather_cfg::cout, dumpMFGeometry_cfg::delta, MFGrid::frame(), MFGrid3D::grid_, h, mps_fire::i, testHGCalDigi_cfg::inFile, dqmiolumiharvest::j, mapping_, submitDQMOfflineCAF::nLines, Geom::pi(), Trapezoid2RectangleMappingX::rectangle(), and GloballyPositioned< T >::toLocal().
|
overridevirtual |
|
overridevirtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 149 of file TrapezoidalCylindricalMFGrid.cc.
References a, b, HltBtagPostValidation_cff::c, mapping_, and Trapezoid2RectangleMappingX::trapezoid().
|
overridevirtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 142 of file TrapezoidalCylindricalMFGrid.cc.
References a, b, HltBtagPostValidation_cff::c, mapping_, AlCaHLTBitMon_ParallelJobs::p, and Trapezoid2RectangleMappingX::rectangle().
Referenced by uncheckedValueInTesla().
|
overridevirtual |
Interpolated field value at given point; does not check for exceptions.
Implements MFGrid3D.
Definition at line 131 of file TrapezoidalCylindricalMFGrid.cc.
References a, b, HltBtagPostValidation_cff::c, MFGrid::frame(), MFGrid3D::grid_, LinearGridInterpolator3D::interpolate(), AlCaHLTBitMon_ParallelJobs::p, toGridFrame(), and GloballyPositioned< T >::toLocal().
|
private |
Definition at line 27 of file TrapezoidalCylindricalMFGrid.h.
Referenced by fromGridFrame(), toGridFrame(), and TrapezoidalCylindricalMFGrid().