CGEM BOSS 6.6.5.i
BESIII Offline Software System
|
Helix parameter class. More...
#include <Helix.h>
Public Member Functions | |
Ext_Helix (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea) | |
Constructor with pivot, helix parameter a, and its error matrix. | |
Ext_Helix (const HepPoint3D &pivot, const HepVector &a) | |
Constructor without error matrix. | |
Ext_Helix (const HepPoint3D &position, const Hep3Vector &momentum, double charge) | |
Constructor with position, momentum, and charge. | |
virtual | ~Ext_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. | |
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 |
Ext_Helix & | operator= (const Ext_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 |
Constant alpha for uniform field. | |
Helix parameter class.
Definition at line 38 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Ext_Helix::Ext_Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea ) |
Constructor with pivot, helix parameter a, and its error matrix.
Definition at line 52 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Ext_Helix::Ext_Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a ) |
Constructor without error matrix.
Definition at line 72 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Ext_Helix::Ext_Helix | ( | const HepPoint3D & | position, |
const Hep3Vector & | momentum, | ||
double | charge ) |
Constructor with position, momentum, and charge.
Definition at line 92 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
|
virtual |
Destructor.
Definition at line 130 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
|
inline |
sets helix parameters.
Definition at line 255 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
returns helix parameters.
Definition at line 243 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
sets/returns z componet of the magnetic field.
Definition at line 269 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
Definition at line 278 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
returns position of helix center(z = 0.);
Definition at line 183 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
Definition at line 290 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
Definition at line 237 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
HepMatrix Ext_Helix::del4MDelA | ( | double | phi, |
double | mass ) const |
Definition at line 602 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by momentum().
HepMatrix Ext_Helix::del4MXDelA | ( | double | phi, |
double | mass ) const |
Definition at line 648 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by momentum().
HepMatrix Ext_Helix::delApDelA | ( | const HepVector & | ap | ) | const |
Definition at line 443 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by pivot().
HepMatrix Ext_Helix::delMDelA | ( | double | phi | ) | const |
Definition at line 565 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by momentum().
HepMatrix Ext_Helix::delXDelA | ( | double | phi | ) | const |
Definition at line 511 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by x().
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 201 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
returns an element of parameters.
Definition at line 207 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), and pivot().
|
inline |
Definition at line 225 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), and pivot().
|
inline |
sets helix paramters and error matrix.
Definition at line 263 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
returns error matrix.
Definition at line 249 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by ExtMdcTrack::GetErrorMatrix(), and set().
void Ext_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 719 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
|
inline |
Definition at line 219 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by ExtMdcTrack::GetErrorMatrix(), and pivot().
HepLorentzVector Ext_Helix::momentum | ( | double | dPhi, |
double | mass ) const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 232 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
HepLorentzVector Ext_Helix::momentum | ( | double | dPhi, |
double | mass, | ||
HepPoint3D & | x, | ||
HepSymMatrix & | Emx ) const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 280 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
HepLorentzVector Ext_Helix::momentum | ( | double | dPhi, |
double | mass, | ||
HepSymMatrix & | Em ) const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 255 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Hep3Vector Ext_Helix::momentum | ( | double | dPhi, |
HepSymMatrix & | Em ) const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 209 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Hep3Vector Ext_Helix::momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 189 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by ExtMdcTrack::GetErrorMatrix(), and ExtMdcTrack::GetMomentum().
Copy operator.
Definition at line 385 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
|
inline |
Definition at line 213 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by del4MDelA(), del4MXDelA(), delApDelA(), delMDelA(), delXDelA(), ExtMdcTrack::GetErrorMatrix(), and pivot().
const HepPoint3D & Ext_Helix::pivot | ( | const HepPoint3D & | newPivot | ) |
sets pivot position.
Definition at line 313 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
|
inline |
returns pivot position.
Definition at line 189 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by set().
|
inline |
returns radious of helix.
Definition at line 195 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by ExtMdcTrack::GetTrackLength().
void Ext_Helix::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea ) |
sets helix pivot position, parameters, and error matrix.
Definition at line 374 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
|
inline |
Definition at line 284 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
|
inline |
Definition at line 231 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.
Referenced by ExtMdcTrack::GetTrackLength(), and pivot().
double * Ext_Helix::x | ( | double | dPhi, |
double | p[3] ) const |
Definition at line 151 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
HepPoint3D Ext_Helix::x | ( | double | dPhi, |
HepSymMatrix & | Ex ) const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 168 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
HepPoint3D Ext_Helix::x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 134 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/src/Helix.cxx.
Referenced by ExtMdcTrack::GetErrorMatrix(), ExtMdcTrack::GetPosition(), x(), and x().
|
static |
Constant alpha for uniform field.
Definition at line 151 of file Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/Helix.h.