Hall-D Software
alpha
|
#include <DLorentzMapCalibDB.h>
Public Member Functions | |
DLorentzMapCalibDB (JApplication *japp, unsigned int run_number=1) | |
DLorentzMapCalibDB (JCalibration *jcalib) | |
~DLorentzMapCalibDB () | |
unsigned int | GetLorentzDeflections (void) |
jerror_t | GetLorentzCorrectionParameters (double x, double y, double z, double &tanz, double &tanr) const |
double | GetLorentzCorrection (double x, double y, double z, double alpha, double dx) const |
Protected Attributes | |
JCalibration * | jcalib |
double | lorentz_x [LORENTZ_X_POINTS] |
double | lorentz_z [LORENTZ_Z_POINTS] |
double | lorentz_nx [LORENTZ_X_POINTS][LORENTZ_Z_POINTS] |
double | lorentz_nz [LORENTZ_X_POINTS][LORENTZ_Z_POINTS] |
Definition at line 10 of file DLorentzMapCalibDB.h.
DLorentzMapCalibDB::DLorentzMapCalibDB | ( | JApplication * | japp, |
unsigned int | run_number = 1 |
||
) |
Definition at line 11 of file DLorentzMapCalibDB.cc.
References _DBG_.
DLorentzMapCalibDB::DLorentzMapCalibDB | ( | JCalibration * | jcalib | ) |
Definition at line 26 of file DLorentzMapCalibDB.cc.
References _DBG_.
|
inline |
Definition at line 14 of file DLorentzMapCalibDB.h.
|
inherited |
Definition at line 102 of file DLorentzDeflections.cc.
References DLorentzDeflections::GetLorentzCorrectionParameters(), and sin().
Referenced by DEventProcessor_track_hists::hit_info_t::FindLR(), DEventProcessor_candidate_tree::hit_info_t::FindLR(), residFDC::getCorrectionValue(), and combinedResidFunc::getCorrectionValue().
|
inherited |
Definition at line 70 of file DLorentzDeflections.cc.
References locate(), DLorentzDeflections::lorentz_nx, DLorentzDeflections::lorentz_nz, DLorentzDeflections::lorentz_x, LORENTZ_X_POINTS, DLorentzDeflections::lorentz_z, LORENTZ_Z_POINTS, PACKAGE_Z_POINTS, polint(), and sqrt().
Referenced by DLorentzDeflections::GetLorentzCorrection().
unsigned int DLorentzMapCalibDB::GetLorentzDeflections | ( | void | ) |
Routine for accessing calibration constants adapted from code written by David Lawrence. The values specified by "namepath" will be read into the array "vals". The "vals" array should have enough memory allocated to hold *Nvals elements. If not, only the first *Nvals elements will be copied and a non-zero value returned. If the number of values in the database are less than *Nvals, then all values are copied, *Nvals is updated to reflect the number of valid elements in "vals", and a value of 0 is returned.
Definition at line 38 of file DLorentzMapCalibDB.cc.
References _DBG_, LORENTZ_X_POINTS, and LORENTZ_Z_POINTS.
|
protected |
Definition at line 19 of file DLorentzMapCalibDB.h.
|
protectedinherited |
Definition at line 26 of file DLorentzDeflections.h.
Referenced by DLorentzDeflections::GetLorentzCorrectionParameters().
|
protectedinherited |
Definition at line 27 of file DLorentzDeflections.h.
Referenced by DLorentzDeflections::GetLorentzCorrectionParameters().
|
protectedinherited |
Definition at line 24 of file DLorentzDeflections.h.
Referenced by DLorentzDeflections::GetLorentzCorrectionParameters().
|
protectedinherited |
Definition at line 25 of file DLorentzDeflections.h.
Referenced by DLorentzDeflections::GetLorentzCorrectionParameters().