CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
Helix parameter class. More...
#include <Helix.h>
Public Member Functions | |
Helix () | |
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. | |
Helix (const Helix &i) | |
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 |
double | alpha (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 |
double | IntersectCylinder (double r) const |
double | flightArc (HepPoint3D &hit) const |
double | flightArc (double r) const |
double | flightLength (HepPoint3D &hit) const |
double | dPhi (HepPoint3D &hit) 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-12/TrackUtil/Helix.h.
Helix::Helix | ( | ) |
Definition at line 47 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
Constructor with pivot, helix parameter a, and its error matrix.
Definition at line 67 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
Constructor without error matrix.
Definition at line 88 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Helix::Helix | ( | const HepPoint3D & | position, |
const Hep3Vector & | momentum, | ||
double | charge | ||
) |
Constructor with position, momentum, and charge.
Definition at line 109 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Helix::Helix | ( | const Helix & | i | ) |
Definition at line 427 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
|
virtual |
Destructor.
Definition at line 148 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
|
inline |
sets helix parameters.
Definition at line 284 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
|
inline |
returns helix parameters.
Definition at line 272 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TTrack::approach2D(), TBuilder::buildStereo(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilderCurl::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), HoughTrack::calculateZ_S(), TTrack::dump(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::fit2D(), HoughTrack::fitCircle(), HoughTrack::fitHelix(), TTrack::HelCyl(), Helix(), HelixHasNan(), HoughTrack::HoughTrack(), TRunge::pivot(), TTrack::pt(), TTrack::ptot(), TTrack::pz(), TofFz_helix::TofFz_Get(), TrackKinematics(), TTrack::TTrack(), HoughTrack::update(), and HoughTrack::updateHelix().
|
inline |
Definition at line 307 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by HoughTrack::fitCircle(), HoughTrack::fitHelix(), CgemHitOnTrack::getFitStuff(), and HoughHit::residual().
|
inline |
|
inline |
Definition at line 315 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by HoughTrack::HoughTrack().
|
inline |
returns position of helix center(z = 0.);
Definition at line 212 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TTrack::approach(), TTrack::approach2D(), TBuilderCurl::buildStereoMC(), HoughTrack::calculateZ_S(), calVirtualCircle(), TTrack::center(), dPhi(), HoughTrack::driftDistRes(), TTrack::dump(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::fit2D(), TTrack::HelCyl(), HoughTrack::HoughTrack(), TTrack::impact(), TRunge::intersect_cylinder(), TRunge::intersect_yz_plane(), TRunge::intersect_zx_plane(), IntersectCylinder(), HoughTrack::judgeCharge(), HoughTrack::judgeHalf(), TTrackManager::merge(), HoughHit::residual(), TRunge::SetFlightLength(), TTrack::stereoHitForCurl(), TTrack::szPosition(), TofFz_helix::TofFz_Get(), and HoughHit::VHitPosition().
|
inline |
Definition at line 327 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
|
inline |
Definition at line 130 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
|
inline |
Definition at line 266 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/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 642 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::del4MXDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 688 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::delApDelA | ( | const HepVector & | ap | ) | const |
Definition at line 483 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by pivot().
HepMatrix Helix::delMDelA | ( | double | phi | ) | const |
Definition at line 605 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by momentum().
HepMatrix Helix::delXDelA | ( | double | phi | ) | const |
Definition at line 551 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by CgemHitOnTrack::getFitStuff(), and x().
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 230 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by Emc_helix::Emc_Get(), CgemHitOnTrack::getFitStuff(), and TofFz_helix::TofFz_Get().
double Helix::dPhi | ( | HepPoint3D & | hit | ) | const |
Definition at line 835 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by flightArc(), and IntersectCylinder().
|
inline |
returns an element of parameters.
Definition at line 236 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), CgemHitOnTrack::getFitStuff(), HoughTrack::HoughTrack(), pivot(), HoughTrack::print(), HoughHit::residual(), and HoughTrack::updateCirclePar().
|
inline |
Definition at line 254 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by CgemHitOnTrack::getFitStuff(), HoughTrack::HoughTrack(), TTrackManager::maskCurl(), TTrackManager::merge(), pivot(), HoughTrack::print(), HoughHit::residual(), HoughTrack::setDz(), TRunge::SetFlightLength(), and HoughHit::updateVHit().
|
inline |
sets helix paramters and error matrix.
Definition at line 292 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
|
inline |
returns error matrix.
Definition at line 278 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TTrack::fit2D(), HoughTrack::fitCircle(), HoughTrack::fitHelix(), Helix(), HelixHasNan(), HoughTrack::HoughTrack(), TRunge::pivot(), PositiveDefinite(), and HoughTrack::update().
double Helix::flightArc | ( | double | r | ) | const |
Definition at line 804 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
double Helix::flightArc | ( | HepPoint3D & | hit | ) | const |
Definition at line 780 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by HoughTrack::calculateZ_S(), HoughTrack::fitHelix(), flightLength(), HoughHit::residual(), and HoughHit::updateVHit().
double Helix::flightLength | ( | HepPoint3D & | hit | ) | const |
Definition at line 812 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by HoughTrack::fitCircle(), flightLength(), and HoughHit::residual().
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 759 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by EsTimeAlg::execute().
double Helix::IntersectCylinder | ( | double | r | ) | const |
Definition at line 764 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by HoughTrack::driftDistRes(), flightArc(), CgemHitOnTrack::getFitStuff(), and HoughHit::residual().
|
inline |
Definition at line 248 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TTrack::approach(), CgemHitOnTrack::getFitStuff(), HoughTrack::HoughTrack(), pivot(), HoughTrack::print(), HoughHit::residual(), TRunge::SetFlightLength(), TTrack::TTrack(), and HoughTrack::updateCirclePar().
HepLorentzVector Helix::momentum | ( | double | dPhi, |
double | mass | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 250 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/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 298 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/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 273 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Hep3Vector Helix::momentum | ( | double | dPhi, |
HepSymMatrix & | Em | ||
) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 227 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Hep3Vector Helix::momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 207 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by EsTimeAlg::execute(), and TTrack::p().
Copy operator.
Definition at line 403 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by HoughTrack::operator=().
|
inline |
Definition at line 242 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TTrack::approach(), del4MDelA(), del4MXDelA(), delApDelA(), delMDelA(), delXDelA(), dPhi(), HoughTrack::fitCircle(), HoughTrack::fitHelix(), CgemHitOnTrack::getFitStuff(), HoughTrack::HoughTrack(), TRunge::intersect_cylinder(), IntersectCylinder(), pivot(), HoughTrack::print(), HoughHit::residual(), and HoughTrack::updateCirclePar().
const HepPoint3D & Helix::pivot | ( | const HepPoint3D & | newPivot | ) |
sets pivot position.
Definition at line 331 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
|
inline |
returns pivot position.
Definition at line 218 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TPerfectFinder::doit(), TTrack::dump(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), HoughTrack::fitCircle(), HoughTrack::fitHelix(), HoughFinder::getMcParticleCol(), TTrack::HelCyl(), Helix(), HoughTrack::HoughTrack(), TTrackManager::maskCurl(), TTrackManager::merge(), TTrack::movePivot(), TRunge::pivot(), HoughHit::residual(), TRunge::SetFlightLength(), TofFz_helix::TofFz_Get(), TrackKinematics(), HoughTrack::update(), and HoughTrack::updateHelix().
|
inline |
Definition at line 129 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by HoughTrack::findVHot(), largerPt(), momentum(), and HoughTrack::print().
|
inline |
returns radious of helix.
Definition at line 224 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by HoughTrack::calculateZ_S(), HoughTrack::driftDistRes(), Emc_helix::Emc_Get(), EsTimeAlg::execute(), TTrack::fit2D(), TTrack::HelCyl(), HoughTrack::HoughTrack(), TTrack::impact(), RkFitCylinder::intersect(), TRunge::intersect_cylinder(), TRunge::intersect_xy_plane(), TRunge::intersect_yz_plane(), TRunge::intersect_zx_plane(), IntersectCylinder(), TTrackManager::merge(), TTrack::radius(), HoughHit::residual(), TofFz_helix::TofFz_Get(), and HoughHit::VHitPosition().
void Helix::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
sets helix pivot position, parameters, and error matrix.
Definition at line 392 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by HoughTrack::HoughTrack(), and HoughTrack::update().
|
inline |
Definition at line 321 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
|
inline |
Definition at line 260 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by TTrack::approach(), HoughTrack::fitCircle(), HoughTrack::fitHelix(), CgemHitOnTrack::getFitStuff(), HoughTrack::HoughTrack(), RkFitCylinder::intersect(), TRunge::intersect_xy_plane(), pivot(), HoughTrack::print(), HoughHit::residual(), TRunge::SetFlightLength(), HoughTrack::setTanl(), and HoughHit::updateVHit().
double * Helix::x | ( | double | dPhi, |
double | p[3] | ||
) | const |
Definition at line 169 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
HepPoint3D Helix::x | ( | double | dPhi, |
HepSymMatrix & | Ex | ||
) | const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 186 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
HepPoint3D Helix::x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 152 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/src/Helix.cxx.
Referenced by TTrack::approach(), TTrack::approach2D(), HoughTrack::driftDistRes(), EsTimeAlg::execute(), TTrack::fit2D(), CgemHitOnTrack::getFitStuff(), TTrack::HelCyl(), RkFitCylinder::intersect(), HoughHit::residual(), TRunge::SetFlightLength(), TofFz_helix::TofFz_Get(), and x().
|
static |
Constant alpha for uniform field.
Definition at line 180 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
|
protected |
Definition at line 173 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by alpha(), bFieldZ(), HoughTrack::fitCircle(), Helix(), HoughTrack::HoughTrack(), operator=(), and HoughTrack::update().
|
protected |
Definition at line 172 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by bFieldZ(), Helix(), and operator=().
|
protected |
Definition at line 171 of file Reconstruction/TrackUtil/TrackUtil-00-00-12/TrackUtil/Helix.h.
Referenced by Helix().