Hall-D Software
alpha
|
#include <combinedResidFunc.h>
Public Member Functions | |
combinedResidFunc (vector< const DFDCPseudo * > *pseudopoints, vector< const DCDCTrackHit * > *trackhits, MyTrajectory *trajectory, const DLorentzDeflections *lorentz_def, int level=1) | |
void | resid (const HepVector *x, void *data, HepVector *f) |
void | deriv (const HepVector *x, void *data, HepMatrix *J) |
void | residAndDeriv (const HepVector *x, void *data, HepVector *f, HepMatrix *J) |
unsigned int | getN () |
unsigned int | getP () |
void | setStoreDetails (bool storeDetailsValue) |
void | clearDetails () |
vector< CDCHitDetails * > * | getCDCDetails () |
vector< FDCHitDetails * > * | getFDCDetails () |
void | setInnerResidFrac (double innerResidFracIn) |
void | getResidsBoth (vector< double > &residsBoth) |
double | getChiSquared () |
Protected Attributes | |
double | chiSquared |
Private Member Functions | |
HepVector | pseudo2HepVector (const DFDCPseudo &pseudopoint) |
DLine | trackhit2line (const DCDCTrackHit &trackhit) |
bool | getCorrectionSign (const DFDCPseudo &pseudopoint, double x, double y, double deltaX, double deltaY) |
void | getCorrectionValue (const DFDCPseudo &pseudopoint, double x, double y, double z, double t, double &delta_x, double &delta_y) |
FDCHitDetails | getDetails (const DFDCPseudo *ppoint, HepVector point) |
CDCHitDetails | getDetails (const DCDCTrackHit *trackhit, DLine line) |
Private Attributes | |
unsigned int | n_fdc |
unsigned int | n_cdc |
vector< const DFDCPseudo * > * | ppPtr |
vector< const DCDCTrackHit * > * | trkhitPtr |
MyTrajectory * | trajPtr |
vector< double > | delta |
int | debug_level |
const DLorentzDeflections * | lorentz_def |
bool | storeDetails |
vector< FDCHitDetails * > | FDCDetails |
vector< CDCHitDetails * > | CDCDetails |
double | innerResidFrac |
residCDC | rCDC |
residFDC | rFDC |
Definition at line 16 of file combinedResidFunc.h.
combinedResidFunc::combinedResidFunc | ( | vector< const DFDCPseudo * > * | pseudopoints, |
vector< const DCDCTrackHit * > * | trackhits, | ||
MyTrajectory * | trajectory, | ||
const DLorentzDeflections * | lorentz_def, | ||
int | level = 1 |
||
) |
Definition at line 19 of file combinedResidFunc.cc.
void combinedResidFunc::clearDetails | ( | ) |
Definition at line 215 of file combinedResidFunc.cc.
References CDCDetails, and FDCDetails.
Referenced by DTrackLSFitter::FitTrack().
|
virtual |
Implements residFunc.
Definition at line 251 of file combinedResidFunc.cc.
References MyTrajectory::clear(), debug_level, delta, MyTrajectory::getNumberOfParams(), getResidsBoth(), n_cdc, n_fdc, MyTrajectory::swim(), and trajPtr.
|
inline |
Definition at line 30 of file combinedResidFunc.h.
References CDCDetails.
|
inlineinherited |
Definition at line 14 of file residFunc.h.
|
private |
Definition at line 131 of file combinedResidFunc.cc.
References debug_level, DCoordinateSystem::udir, DFDCPseudo::wire, and DFDCPseudo::xy.
Referenced by pseudo2HepVector().
|
private |
Definition at line 160 of file combinedResidFunc.cc.
References alpha, c, debug_level, DRIFT_VELOCITY, DLorentzDeflections::GetLorentzCorrection(), lorentz_def, DFDCPseudo::time, DCoordinateSystem::udir, and DFDCPseudo::wire.
Referenced by pseudo2HepVector().
|
private |
Definition at line 194 of file combinedResidFunc.cc.
References FDCHitDetails::doca, MyTrajectory::doca(), FDCHitDetails::poca, FDCHitDetails::rCorr, and trajPtr.
|
private |
Definition at line 201 of file combinedResidFunc.cc.
References c, CDCHitDetails::dist, CDCHitDetails::doca, MyTrajectory::doca(), DLine::poca(), CDCHitDetails::poca, CDCHitDetails::posWire, DCDCTrackHit::tdrift, trajPtr, and velDrift.
|
inline |
Definition at line 31 of file combinedResidFunc.h.
References FDCDetails.
|
inlinevirtual |
Implements residFunc.
Definition at line 26 of file combinedResidFunc.h.
|
inlinevirtual |
Implements residFunc.
Definition at line 27 of file combinedResidFunc.h.
References MyTrajectory::getNumberOfParams(), and trajPtr.
void combinedResidFunc::getResidsBoth | ( | vector< double > & | residsBoth | ) |
Definition at line 226 of file combinedResidFunc.cc.
References residCDC::calcResids(), residFDC::calcResids(), residCDC::getResids(), residFDC::getResids(), innerResidFrac, n_cdc, n_fdc, rCDC, rFDC, and residCDC::setInnerResidFrac().
Referenced by deriv().
|
private |
Definition at line 107 of file combinedResidFunc.cc.
References debug_level, getCorrectionSign(), getCorrectionValue(), MyTrajectory::getXYT(), DCoordinateSystem::origin, trajPtr, DFDCPseudo::wire, x, DFDCPseudo::xy, and y.
|
virtual |
Implements residFunc.
Definition at line 31 of file combinedResidFunc.cc.
References residCDC::calcResids(), residFDC::calcResids(), CDCDetails, residFunc::chiSquared, MyTrajectory::clear(), debug_level, CDCHitDetails::dist, FDCHitDetails::doca, CDCHitDetails::doca, f, FDCDetails, residCDC::getDetails(), residFDC::getDetails(), residCDC::getResids(), residFDC::getResids(), innerResidFrac, n_cdc, n_fdc, FDCHitDetails::poca, CDCHitDetails::poca, CDCHitDetails::posWire, rCDC, FDCHitDetails::rCorr, rFDC, residCDC::setInnerResidFrac(), storeDetails, MyTrajectory::swim(), trajPtr, and x.
|
virtual |
Implements residFunc.
Definition at line 104 of file combinedResidFunc.cc.
void combinedResidFunc::setInnerResidFrac | ( | double | innerResidFracIn | ) |
Definition at line 222 of file combinedResidFunc.cc.
References innerResidFrac.
Referenced by DTrackLSFitter::FitTrack().
void combinedResidFunc::setStoreDetails | ( | bool | storeDetailsValue | ) |
Definition at line 210 of file combinedResidFunc.cc.
References storeDetails.
Referenced by DTrackLSFitter::FitTrack().
|
private |
Definition at line 176 of file combinedResidFunc.cc.
References DCoordinateSystem::origin, DCoordinateSystem::udir, DCDCTrackHit::wire, x, and y.
|
private |
Definition at line 51 of file combinedResidFunc.h.
Referenced by clearDetails(), getCDCDetails(), and resid().
|
protectedinherited |
Definition at line 14 of file residFunc.h.
Referenced by resid().
|
private |
Definition at line 43 of file combinedResidFunc.h.
Referenced by deriv(), getCorrectionSign(), getCorrectionValue(), pseudo2HepVector(), and resid().
|
private |
Definition at line 42 of file combinedResidFunc.h.
Referenced by deriv().
|
private |
Definition at line 49 of file combinedResidFunc.h.
Referenced by clearDetails(), getFDCDetails(), and resid().
|
private |
Definition at line 52 of file combinedResidFunc.h.
Referenced by getResidsBoth(), resid(), and setInnerResidFrac().
|
private |
Definition at line 46 of file combinedResidFunc.h.
Referenced by getCorrectionValue().
|
private |
Definition at line 36 of file combinedResidFunc.h.
Referenced by deriv(), getN(), getResidsBoth(), and resid().
|
private |
Definition at line 36 of file combinedResidFunc.h.
Referenced by deriv(), getN(), getResidsBoth(), and resid().
|
private |
Definition at line 37 of file combinedResidFunc.h.
|
private |
Definition at line 53 of file combinedResidFunc.h.
Referenced by getResidsBoth(), and resid().
|
private |
Definition at line 54 of file combinedResidFunc.h.
Referenced by getResidsBoth(), and resid().
|
private |
Definition at line 47 of file combinedResidFunc.h.
Referenced by resid(), and setStoreDetails().
|
private |
Definition at line 39 of file combinedResidFunc.h.
Referenced by deriv(), getDetails(), getP(), pseudo2HepVector(), and resid().
|
private |
Definition at line 38 of file combinedResidFunc.h.