BOSS 7.0.7
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 | pt (void) const |
double | cosTheta (void) 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 |
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. | |
Protected Attributes | |
IMagneticFieldSvc * | m_pmgnIMF |
double | m_bField |
double | m_alpha |
Helix parameter class.
Definition at line 53 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/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 47 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
Constructor without error matrix.
Definition at line 67 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | position, |
const Hep3Vector & | momentum, | ||
double | charge | ||
) |
Constructor with position, momentum, and charge.
Definition at line 87 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
|
virtual |
Destructor.
Definition at line 125 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
|
inline |
sets helix parameters.
Definition at line 275 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
returns helix parameters.
Definition at line 263 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TTrack::approach2D(), TBuilder::buildStereo(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilderCurl::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), TTrack::dump(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::fit2D(), TTrack::HelCyl(), HelixHasNan(), TRunge::pivot(), TTrack::pt(), TTrack::ptot(), TTrack::pz(), TofFz_helix::TofFz_Get(), TrackKinematics(), and TTrack::TTrack().
|
inline |
sets/returns z componet of the magnetic field.
Definition at line 289 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
Definition at line 298 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
returns position of helix center(z = 0.);
Definition at line 203 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TTrack::approach(), TTrack::approach2D(), TBuilderCurl::buildStereoMC(), calVirtualCircle(), TTrack::center(), TTrack::dump(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::fit2D(), TTrack::HelCyl(), TTrack::impact(), TRunge::intersect_cylinder(), TRunge::intersect_yz_plane(), TRunge::intersect_zx_plane(), TTrackManager::merge(), TRunge::SetFlightLength(), TTrack::stereoHitForCurl(), TTrack::szPosition(), and TofFz_helix::TofFz_Get().
|
inline |
Definition at line 310 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
Definition at line 126 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
Definition at line 257 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TBuilder0::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), TTrack::stereoHitForCurl(), and TTrack::szPosition().
HepMatrix Helix::del4MDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 597 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::del4MXDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 643 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::delApDelA | ( | const HepVector & | ap | ) | const |
Definition at line 438 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by pivot().
HepMatrix Helix::delMDelA | ( | double | phi | ) | const |
Definition at line 560 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::delXDelA | ( | double | phi | ) | const |
Definition at line 506 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by x().
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 221 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by Emc_helix::Emc_Get(), and TofFz_helix::TofFz_Get().
|
inline |
returns an element of parameters.
Definition at line 227 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), and pivot().
|
inline |
Definition at line 245 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), TTrackManager::maskCurl(), TTrackManager::merge(), pivot(), and TRunge::SetFlightLength().
|
inline |
sets helix paramters and error matrix.
Definition at line 283 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
returns error matrix.
Definition at line 269 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TTrack::fit2D(), HelixHasNan(), TRunge::pivot(), and PositiveDefinite().
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 714 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by EsTimeAlg::execute().
|
inline |
Definition at line 239 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TTrack::approach(), pivot(), TRunge::SetFlightLength(), and TTrack::TTrack().
HepLorentzVector Helix::momentum | ( | double | dPhi, |
double | mass | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 227 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/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 275 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/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 250 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Hep3Vector Helix::momentum | ( | double | dPhi, |
HepSymMatrix & | Em | ||
) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 204 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Hep3Vector Helix::momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 184 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by EsTimeAlg::execute(), and TTrack::p().
Copy operator.
Definition at line 380 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
|
inline |
Definition at line 233 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TTrack::approach(), del4MDelA(), del4MXDelA(), delApDelA(), delMDelA(), delXDelA(), TRunge::intersect_cylinder(), and pivot().
const HepPoint3D & Helix::pivot | ( | const HepPoint3D & | newPivot | ) |
sets pivot position.
Definition at line 308 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
|
inline |
returns pivot position.
Definition at line 209 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TPerfectFinder::doit(), TTrack::dump(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::HelCyl(), TTrackManager::maskCurl(), TTrackManager::merge(), TTrack::movePivot(), TRunge::pivot(), TRunge::SetFlightLength(), TofFz_helix::TofFz_Get(), and TrackKinematics().
|
inline |
Definition at line 125 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by momentum().
|
inline |
returns radious of helix.
Definition at line 215 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::fit2D(), TTrack::HelCyl(), TTrack::impact(), RkFitCylinder::intersect(), TRunge::intersect_cylinder(), TRunge::intersect_xy_plane(), TRunge::intersect_yz_plane(), TRunge::intersect_zx_plane(), TTrackManager::merge(), TTrack::radius(), and TofFz_helix::TofFz_Get().
void Helix::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
sets helix pivot position, parameters, and error matrix.
Definition at line 369 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
|
inline |
Definition at line 304 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
inline |
Definition at line 251 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by TTrack::approach(), RkFitCylinder::intersect(), TRunge::intersect_xy_plane(), pivot(), and TRunge::SetFlightLength().
double * Helix::x | ( | double | dPhi, |
double | p[3] | ||
) | const |
Definition at line 146 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
HepPoint3D Helix::x | ( | double | dPhi, |
HepSymMatrix & | Ex | ||
) | const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 163 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
HepPoint3D Helix::x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 129 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/src/Helix.cxx.
Referenced by TTrack::approach(), TTrack::approach2D(), EsTimeAlg::execute(), TTrack::fit2D(), TTrack::HelCyl(), RkFitCylinder::intersect(), TRunge::SetFlightLength(), TofFz_helix::TofFz_Get(), and x().
|
static |
Constant alpha for uniform field.
Definition at line 171 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
|
protected |
Definition at line 164 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by bFieldZ(), Helix(), and operator=().
|
protected |
Definition at line 163 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by bFieldZ(), Helix(), and operator=().
|
protected |
Definition at line 162 of file Reconstruction/TrackUtil/TrackUtil-00-00-08/TrackUtil/Helix.h.
Referenced by Helix().