Hall-D Software
alpha
|
#include <DMagneticFieldMapConst.h>
Public Member Functions | |
DMagneticFieldMapConst (JApplication *japp, string namepath="Magnets/Solenoid/solenoid_const") | |
DMagneticFieldMapConst (JCalibration *jcalib, string namepath="Magnets/Solenoid/solenoid_const") | |
DMagneticFieldMapConst (double Br, double Bphi, double Bz) | |
virtual | ~DMagneticFieldMapConst () |
int | GetValues (string namepath, int32_t runnumber=1, string context="") |
void | GetField (const DVector3 &pos, DVector3 &Bout) const |
void | GetField (double x, double y, double z, double &Bx, double &By, double &Bz, int method=0) const |
double | GetBz (double x, double y, double z) const |
void | GetFieldGradient (double x, double y, double z, double &dBxdx, double &dBxdy, double &dBxdz, double &dBydx, double &dBydy, double &dBydz, double &dBzdx, double &dBzdy, double &dBzdz) const |
void | GetFieldBicubic (double x, double y, double z, double &Bx, double &By, double &Bz) const |
void | GetFieldAndGradient (double x, double y, double z, double &Bx, double &By, double &Bz, double &dBxdx, double &dBxdy, double &dBxdz, double &dBydx, double &dBydy, double &dBydz, double &dBzdx, double &dBzdy, double &dBzdz) const |
Protected Attributes | |
JCalibration * | jcalib |
double | Br |
double | Bphi |
double | Bz |
Definition at line 24 of file DMagneticFieldMapConst.h.
DMagneticFieldMapConst::DMagneticFieldMapConst | ( | JApplication * | japp, |
string | namepath = "Magnets/Solenoid/solenoid_const" |
||
) |
Definition at line 18 of file DMagneticFieldMapConst.cc.
References _DBG_.
DMagneticFieldMapConst::DMagneticFieldMapConst | ( | JCalibration * | jcalib, |
string | namepath = "Magnets/Solenoid/solenoid_const" |
||
) |
Definition at line 31 of file DMagneticFieldMapConst.cc.
References _DBG_.
DMagneticFieldMapConst::DMagneticFieldMapConst | ( | double | Br, |
double | Bphi, | ||
double | Bz | ||
) |
Definition at line 43 of file DMagneticFieldMapConst.cc.
|
virtual |
Definition at line 55 of file DMagneticFieldMapConst.cc.
|
inlinevirtual |
Implements DMagneticFieldMap.
Definition at line 34 of file DMagneticFieldMapConst.h.
This calculates the magnetic field at an arbitrary point in space using the constat field map parameters read from the calibaration database.
Implements DMagneticFieldMap.
Definition at line 137 of file DMagneticFieldMapConst.cc.
|
virtual |
This calculates the magnetic field at an arbitrary point in space using the constat field map parameters read from the calibaration database.
Implements DMagneticFieldMap.
Definition at line 112 of file DMagneticFieldMapConst.cc.
References sqrt().
|
virtual |
Implements DMagneticFieldMap.
Definition at line 168 of file DMagneticFieldMapConst.cc.
|
virtual |
Implements DMagneticFieldMap.
Definition at line 161 of file DMagneticFieldMapConst.cc.
|
virtual |
Implements DMagneticFieldMap.
Definition at line 86 of file DMagneticFieldMapConst.cc.
int DMagneticFieldMapConst::GetValues | ( | string | namepath, |
int32_t | runnumber = 1 , |
||
string | context = "" |
||
) |
Read the parameters for the constant magnetic field map from the calibration database.
Definition at line 63 of file DMagneticFieldMapConst.cc.
|
protected |
Definition at line 59 of file DMagneticFieldMapConst.h.
|
protected |
Definition at line 59 of file DMagneticFieldMapConst.h.
|
protected |
Definition at line 59 of file DMagneticFieldMapConst.h.
|
protected |
Definition at line 58 of file DMagneticFieldMapConst.h.