BOSS 7.1.0
BESIII Offline Software System
|
Helix parameter class. More...
#include <Helix.h>
Public Member Functions | |
Helix (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea) | |
Constructor with pivot, helix parameter a, and its error matrix. | |
Helix (const HepPoint3D &pivot, const HepVector &a) | |
Constructor without error matrix. | |
Helix (const HepPoint3D &position, const Hep3Vector &momentum, double charge) | |
Constructor with position, momentum, and charge. | |
virtual | ~Helix () |
Destructor. | |
const HepPoint3D & | center (void) const |
returns position of helix center(z = 0.); | |
const HepPoint3D & | pivot (void) const |
returns pivot position. | |
double | radius (void) const |
returns radious of helix. | |
HepPoint3D | x (double dPhi=0.) const |
returns position after rotating angle dPhi in phi direction. | |
double * | x (double dPhi, double p[3]) const |
HepPoint3D | x (double dPhi, HepSymMatrix &Ex) const |
returns position and convariance matrix(Ex) after rotation. | |
Hep3Vector | direction (double dPhi=0.) const |
returns direction vector after rotating angle dPhi in phi direction. | |
Hep3Vector | momentum (double dPhi=0.) const |
returns momentum vector after rotating angle dPhi in phi direction. | |
Hep3Vector | momentum (double dPhi, HepSymMatrix &Em) const |
returns momentum vector after rotating angle dPhi in phi direction. | |
HepLorentzVector | momentum (double dPhi, double mass) const |
returns 4momentum vector after rotating angle dPhi in phi direction. | |
HepLorentzVector | momentum (double dPhi, double mass, HepSymMatrix &Em) const |
returns 4momentum vector after rotating angle dPhi in phi direction. | |
HepLorentzVector | momentum (double dPhi, double mass, HepPoint3D &x, HepSymMatrix &Emx) const |
returns 4momentum vector after rotating angle dPhi in phi direction. | |
double | dr (void) const |
returns an element of parameters. | |
double | phi0 (void) const |
double | kappa (void) const |
double | dz (void) const |
double | tanl (void) const |
double | curv (void) const |
double | sinPhi0 (void) const |
double | cosPhi0 (void) const |
const HepVector & | a (void) const |
returns helix parameters. | |
const HepSymMatrix & | Ea (void) const |
returns error matrix. | |
double | approach (KalFitHitMdc &hit, bool doSagCorrection) const |
double | approach (HepPoint3D pfwd, HepPoint3D pbwd, bool doSagCorrection) const |
const HepVector & | a (const HepVector &newA) |
sets helix parameters. | |
const HepSymMatrix & | Ea (const HepSymMatrix &newdA) |
sets helix paramters and error matrix. | |
const HepPoint3D & | pivot (const HepPoint3D &newPivot) |
sets pivot position. | |
void | set (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea) |
sets helix pivot position, parameters, and error matrix. | |
void | ignoreErrorMatrix (void) |
unsets error matrix. Error calculations will be ignored after this function call until an error matrix be set again. 0 matrix will be return as a return value for error matrix when you call functions which returns an error matrix. | |
double | bFieldZ (double) |
sets/returns z componet of the magnetic field. | |
double | bFieldZ (void) const |
double | alpha (void) const |
Helix & | operator= (const Helix &) |
Copy operator. | |
HepMatrix | delApDelA (const HepVector &ap) const |
HepMatrix | delXDelA (double phi) const |
HepMatrix | delMDelA (double phi) const |
HepMatrix | del4MDelA (double phi, double mass) const |
HepMatrix | del4MXDelA (double phi, double mass) const |
Static Public Attributes | |
static const double | ConstantAlpha = 333.564095 |
Constant alpha for uniform field. | |
Helix parameter class.
Definition at line 41 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Helix::Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
Constructor with pivot, helix parameter a, and its error matrix.
Definition at line 49 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
Constructor without error matrix.
Definition at line 69 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | position, |
const Hep3Vector & | momentum, | ||
double | charge | ||
) |
Constructor with position, momentum, and charge.
Definition at line 89 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
|
virtual |
Destructor.
Definition at line 127 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
|
inline |
sets helix parameters.
Definition at line 266 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
|
inline |
returns helix parameters.
Definition at line 254 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by KalFitHelixSeg::a_exclude(), KalFitHelixSeg::a_filt_bwd(), KalFitHelixSeg::a_filt_fwd(), KalFitHelixSeg::a_include(), KalFitHelixSeg::a_pre_bwd(), KalFitHelixSeg::a_pre_fwd(), approach(), bFieldZ(), KalFitAlg::complete_track(), KalFitTrack::eloss(), KalFitAlg::execute(), KalFitAlg::fillTds(), KalFitAlg::fillTds_back(), KalFitAlg::fillTds_ip(), KalFitAlg::fillTds_lead(), KalFitTrack::filter(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), VertexExtrapolate::KalFitExt(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), KalFitTrack::pivot_numf(), KalFitTrack::radius_numf(), set(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), KalFitTrack::smoother_Mdc_csmalign(), KalFitAlg::start_seed(), KalFitTrack::update_forMdc(), KalFitTrack::update_hits_csmalign(), and KalFitTrack::update_last().
|
inline |
Definition at line 292 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
double Helix::approach | ( | HepPoint3D | pfwd, |
HepPoint3D | pbwd, | ||
bool | doSagCorrection | ||
) | const |
Definition at line 208 of file KalFitDoca.cxx.
double Helix::approach | ( | KalFitHitMdc & | hit, |
bool | doSagCorrection | ||
) | const |
Definition at line 16 of file KalFitDoca.cxx.
|
inline |
sets/returns z componet of the magnetic field.
Definition at line 280 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), and KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew().
|
inline |
Definition at line 300 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by KalFitTrack::KalFitTrack().
|
inline |
returns position of helix center(z = 0.);
Definition at line 194 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach(), KalFitTrack::eloss(), KalFitAlg::fillTds_back(), KalFitTrack::intersect_cylinder(), KalFitTrack::intersect_yz_plane(), KalFitTrack::intersect_zx_plane(), and KalFitTrack::KalFitTrack().
|
inline |
Definition at line 312 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
|
inline |
Definition at line 248 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
HepMatrix Helix::del4MDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 605 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::del4MXDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 651 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::delApDelA | ( | const HepVector & | ap | ) | const |
Definition at line 446 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by pivot(), and KalFitTrack::pivot_numf().
HepMatrix Helix::delMDelA | ( | double | phi | ) | const |
Definition at line 568 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::delXDelA | ( | double | phi | ) | const |
Definition at line 514 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by KalFitTrack::filter(), and x().
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 212 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
|
inline |
returns an element of parameters.
Definition at line 218 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), pivot(), KalFitTrack::pivot_numf(), and KalFitTrack::radius_numf().
|
inline |
Definition at line 236 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), KalFitTrack::intersect_xy_plane(), pivot(), KalFitTrack::pivot_numf(), and KalFitTrack::radius_numf().
|
inline |
sets helix paramters and error matrix.
Definition at line 274 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
|
inline |
returns error matrix.
Definition at line 260 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach(), KalFitHelixSeg::Ea_exclude(), KalFitHelixSeg::Ea_filt_bwd(), KalFitHelixSeg::Ea_filt_fwd(), KalFitHelixSeg::Ea_include(), KalFitHelixSeg::Ea_pre_bwd(), KalFitHelixSeg::Ea_pre_fwd(), KalFitTrack::eloss(), KalFitAlg::fillTds(), KalFitAlg::fillTds_back(), KalFitAlg::fillTds_ip(), KalFitAlg::fillTds_lead(), KalFitTrack::filter(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), VertexExtrapolate::KalFitExt(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), KalFitTrack::ms(), KalFitTrack::msgasmdc(), KalFitTrack::pivot_numf(), set(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), KalFitTrack::smoother_Mdc_csmalign(), KalFitAlg::start_seed(), KalFitTrack::update_forMdc(), KalFitTrack::update_hits_csmalign(), and KalFitTrack::update_last().
void Helix::ignoreErrorMatrix | ( | void | ) |
unsets error matrix. Error calculations will be ignored after this function call until an error matrix be set again. 0 matrix will be return as a return value for error matrix when you call functions which returns an error matrix.
Definition at line 722 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by KalFitTrack::chi2_next(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitTrack::order_wirhit(), KalFitTrack::pivot_numf(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().
|
inline |
Definition at line 230 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach(), KalFitTrack::chi2_next(), KalFitAlg::fillTds_back(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitTrack::ms(), KalFitTrack::msgasmdc(), KalFitTrack::order_hits(), pivot(), KalFitTrack::pivot_numf(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), KalFitTrack::smoother_Mdc_csmalign(), KalFitTrack::tof(), and KalFitTrack::update_hits_csmalign().
HepLorentzVector Helix::momentum | ( | double | dPhi, |
double | mass | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 229 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
HepLorentzVector Helix::momentum | ( | double | dPhi, |
double | mass, | ||
HepPoint3D & | x, | ||
HepSymMatrix & | Emx | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 277 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
HepLorentzVector Helix::momentum | ( | double | dPhi, |
double | mass, | ||
HepSymMatrix & | Em | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 252 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Hep3Vector Helix::momentum | ( | double | dPhi, |
HepSymMatrix & | Em | ||
) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 206 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Hep3Vector Helix::momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 186 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by KalFitAlg::complete_track(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitAlg::smoother_anal(), and KalFitAlg::smoother_calib().
Copy operator.
Definition at line 386 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
|
inline |
Definition at line 224 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach(), KalFitTrack::chi2_next(), del4MDelA(), del4MXDelA(), delApDelA(), delMDelA(), delXDelA(), KalFitAlg::fillTds_back(), KalFitTrack::intersect_cylinder(), pivot(), KalFitTrack::pivot_numf(), KalFitTrack::radius_numf(), KalFitAlg::smoother_anal(), KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().
const HepPoint3D & Helix::pivot | ( | const HepPoint3D & | newPivot | ) |
sets pivot position.
Definition at line 310 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
|
inline |
returns pivot position.
Definition at line 200 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach(), KalFitTrack::chi2_next(), KalFitAlg::complete_track(), KalFitAlg::execute(), KalFitAlg::fillTds(), KalFitAlg::fillTds_back(), KalFitAlg::fillTds_ip(), KalFitAlg::fillTds_lead(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitTrack::intersect_xy_plane(), VertexExtrapolate::KalFitExt(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), KalFitTrack::order_wirhit(), KalFitTrack::pivot_numf(), KalFitTrack::radius_numf(), set(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), KalFitTrack::smoother_Mdc_csmalign(), KalFitAlg::start_seed(), KalFitTrack::update_forMdc(), KalFitTrack::update_hits_csmalign(), and KalFitTrack::update_last().
|
inline |
returns radious of helix.
Definition at line 206 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by KalFitTrack::chi2_next(), KalFitTrack::eloss(), KalFitAlg::fillTds_back(), KalFitCylinder::intersect(), KalFitTrack::intersect_cylinder(), KalFitTrack::intersect_xy_plane(), KalFitTrack::intersect_yz_plane(), KalFitTrack::intersect_zx_plane(), KalFitTrack::KalFitTrack(), KalFitTrack::pivot_numf(), KalFitAlg::smoother_anal(), KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().
void Helix::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
sets helix pivot position, parameters, and error matrix.
Definition at line 375 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
|
inline |
Definition at line 306 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
|
inline |
Definition at line 242 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach(), KalFitTrack::chi2_next(), KalFitAlg::fillTds_back(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitCylinder::intersect(), KalFitTrack::intersect_xy_plane(), KalFitTrack::ms(), KalFitTrack::msgasmdc(), pivot(), KalFitTrack::pivot_numf(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), KalFitTrack::smoother_Mdc_csmalign(), KalFitTrack::tof(), and KalFitTrack::update_hits_csmalign().
double * Helix::x | ( | double | dPhi, |
double | p[3] | ||
) | const |
Definition at line 148 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
HepPoint3D Helix::x | ( | double | dPhi, |
HepSymMatrix & | Ex | ||
) | const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 165 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
HepPoint3D Helix::x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 131 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/src/helix/Helix.cxx.
Referenced by approach(), KalFitTrack::chi2_next(), KalFitAlg::complete_track(), KalFitAlg::fillTds_back(), KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitTrack::getDriftTime(), KalFitCylinder::intersect(), VertexExtrapolate::KalFitExt(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), KalFitTrack::order_wirhit(), KalFitAlg::smoother_anal(), KalFitAlg::smoother_calib(), and x().
|
static |
Constant alpha for uniform field.
Definition at line 162 of file Reconstruction/KalFitAlg/KalFitAlg-00-08-07/KalFitAlg/helix/Helix.h.
Referenced by approach().