#include <CylinderFromSectorMFGrid.h>
Public Member Functions | |
CylinderFromSectorMFGrid (const GloballyPositioned< float > &vol, double phiMin, double phiMax, MFGrid *sectorGrid) | |
Dimensions | dimensions () const override |
LocalPoint | fromGridFrame (double a, double b, double c) const override |
find grid coordinates for point. For debugging and validation only. More... | |
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... | |
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 | valueInTesla (const LocalPoint &p) const override |
Interpolated field value at given point. More... | |
~CylinderFromSectorMFGrid () override | |
Public Member Functions inherited from MFGrid | |
virtual void | dump () const |
const GloballyPositioned< float > & | frame () const |
Local reference frame. More... | |
virtual Indexes | index (const LocalPoint &p) const |
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 Member Functions | |
void | throwUp (const char *message) const |
Private Attributes | |
double | theDelta |
double | thePhiMax |
double | thePhiMin |
MFGrid * | theSectorGrid |
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 |
Definition at line 7 of file CylinderFromSectorMFGrid.h.
CylinderFromSectorMFGrid::CylinderFromSectorMFGrid | ( | const GloballyPositioned< float > & | vol, |
double | phiMin, | ||
double | phiMax, | ||
MFGrid * | sectorGrid | ||
) |
Definition at line 5 of file CylinderFromSectorMFGrid.cc.
References Geom::pi(), theDelta, thePhiMax, and thePhiMin.
|
override |
|
overridevirtual |
Implements MFGrid.
Definition at line 54 of file CylinderFromSectorMFGrid.cc.
References MFGrid::dimensions(), and theSectorGrid.
|
overridevirtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 49 of file CylinderFromSectorMFGrid.cc.
References throwUp().
|
overridevirtual |
Position of node in local frame.
Implements MFGrid.
Definition at line 56 of file CylinderFromSectorMFGrid.cc.
References throwUp().
|
overridevirtual |
Field value at node.
Implements MFGrid.
Definition at line 61 of file CylinderFromSectorMFGrid.cc.
References throwUp().
|
private |
Definition at line 41 of file CylinderFromSectorMFGrid.cc.
References gather_cfg::cout.
Referenced by fromGridFrame(), nodePosition(), nodeValue(), and toGridFrame().
|
overridevirtual |
find grid coordinates for point. For debugging and validation only.
Implements MFGrid.
Definition at line 45 of file CylinderFromSectorMFGrid.cc.
References throwUp().
|
overridevirtual |
Interpolated field value at given point.
Implements MFGrid.
Definition at line 22 of file CylinderFromSectorMFGrid.cc.
References c, funct::cos(), AlCaHLTBitMon_ParallelJobs::p, phi, alignCSCRings::s, funct::sin(), theDelta, thePhiMin, theSectorGrid, createJobs::tmp, and MFGrid::valueInTesla().
|
private |
Definition at line 29 of file CylinderFromSectorMFGrid.h.
Referenced by CylinderFromSectorMFGrid(), and valueInTesla().
|
private |
Definition at line 27 of file CylinderFromSectorMFGrid.h.
Referenced by CylinderFromSectorMFGrid().
|
private |
Definition at line 26 of file CylinderFromSectorMFGrid.h.
Referenced by CylinderFromSectorMFGrid(), and valueInTesla().
|
private |
Definition at line 28 of file CylinderFromSectorMFGrid.h.
Referenced by dimensions(), valueInTesla(), and ~CylinderFromSectorMFGrid().