BOSS 7.0.8
BESIII Offline Software System
|
Helix parameter class. More...
#include <Dedx_Helix.h>
Public Member Functions | |
Dedx_Helix (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea) | |
Constructor with pivot, helix parameter a, and its error matrix. | |
Dedx_Helix (const HepPoint3D &pivot, const HepVector &a) | |
Constructor without error matrix. | |
Dedx_Helix (const HepPoint3D &position, const Hep3Vector &momentum, double charge) | |
Constructor with position, momentum, and charge. | |
virtual | ~Dedx_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 |
Dedx_Helix & | operator= (const Dedx_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 33 of file Dedx_Helix.h.
Dedx_Helix::Dedx_Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
Constructor with pivot, helix parameter a, and its error matrix.
Definition at line 126 of file Dedx_Helix.cxx.
Dedx_Helix::Dedx_Helix | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
Constructor without error matrix.
Definition at line 147 of file Dedx_Helix.cxx.
Dedx_Helix::Dedx_Helix | ( | const HepPoint3D & | position, |
const Hep3Vector & | momentum, | ||
double | charge | ||
) |
Constructor with position, momentum, and charge.
Definition at line 167 of file Dedx_Helix.cxx.
|
virtual |
|
inline |
sets helix parameters.
Definition at line 250 of file Dedx_Helix.h.
|
inline |
returns helix parameters.
Definition at line 238 of file Dedx_Helix.h.
Referenced by bFieldZ(), DedxCorrecSvc::PathL(), and set().
|
inline |
sets/returns z componet of the magnetic field.
Definition at line 264 of file Dedx_Helix.h.
|
inline |
Definition at line 273 of file Dedx_Helix.h.
|
inline |
returns position of helix center(z = 0.);
Definition at line 178 of file Dedx_Helix.h.
|
inline |
Definition at line 285 of file Dedx_Helix.h.
|
inline |
Definition at line 232 of file Dedx_Helix.h.
HepMatrix Dedx_Helix::del4MDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 681 of file Dedx_Helix.cxx.
Referenced by momentum().
HepMatrix Dedx_Helix::del4MXDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 727 of file Dedx_Helix.cxx.
Referenced by momentum().
HepMatrix Dedx_Helix::delApDelA | ( | const HepVector & | ap | ) | const |
Definition at line 522 of file Dedx_Helix.cxx.
Referenced by pivot().
HepMatrix Dedx_Helix::delMDelA | ( | double | phi | ) | const |
Definition at line 644 of file Dedx_Helix.cxx.
Referenced by momentum().
HepMatrix Dedx_Helix::delXDelA | ( | double | phi | ) | const |
Definition at line 590 of file Dedx_Helix.cxx.
Referenced by x().
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 196 of file Dedx_Helix.h.
|
inline |
returns an element of parameters.
Definition at line 202 of file Dedx_Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), DedxCorrecSvc::PathL(), and pivot().
|
inline |
Definition at line 220 of file Dedx_Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), DedxCorrecSvc::PathL(), and pivot().
|
inline |
sets helix paramters and error matrix.
Definition at line 258 of file Dedx_Helix.h.
|
inline |
returns error matrix.
Definition at line 244 of file Dedx_Helix.h.
Referenced by set().
void Dedx_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 798 of file Dedx_Helix.cxx.
|
inline |
HepLorentzVector Dedx_Helix::momentum | ( | double | dPhi, |
double | mass | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 311 of file Dedx_Helix.cxx.
HepLorentzVector Dedx_Helix::momentum | ( | double | dPhi, |
double | mass, | ||
HepPoint3D & | x, | ||
HepSymMatrix & | Emx | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 359 of file Dedx_Helix.cxx.
HepLorentzVector Dedx_Helix::momentum | ( | double | dPhi, |
double | mass, | ||
HepSymMatrix & | Em | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 334 of file Dedx_Helix.cxx.
Hep3Vector Dedx_Helix::momentum | ( | double | dPhi, |
HepSymMatrix & | Em | ||
) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 288 of file Dedx_Helix.cxx.
Hep3Vector Dedx_Helix::momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 268 of file Dedx_Helix.cxx.
Dedx_Helix & Dedx_Helix::operator= | ( | const Dedx_Helix & | i | ) |
Copy operator.
Definition at line 464 of file Dedx_Helix.cxx.
|
inline |
Definition at line 208 of file Dedx_Helix.h.
Referenced by del4MDelA(), del4MXDelA(), delApDelA(), delMDelA(), delXDelA(), and pivot().
const HepPoint3D & Dedx_Helix::pivot | ( | const HepPoint3D & | newPivot | ) |
sets pivot position.
Definition at line 392 of file Dedx_Helix.cxx.
|
inline |
returns pivot position.
Definition at line 184 of file Dedx_Helix.h.
Referenced by DedxCorrecSvc::PathL(), and set().
|
inline |
void Dedx_Helix::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
sets helix pivot position, parameters, and error matrix.
Definition at line 453 of file Dedx_Helix.cxx.
|
inline |
Definition at line 279 of file Dedx_Helix.h.
|
inline |
double * Dedx_Helix::x | ( | double | dPhi, |
double | p[3] | ||
) | const |
Definition at line 230 of file Dedx_Helix.cxx.
HepPoint3D Dedx_Helix::x | ( | double | dPhi, |
HepSymMatrix & | Ex | ||
) | const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 247 of file Dedx_Helix.cxx.
HepPoint3D Dedx_Helix::x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 209 of file Dedx_Helix.cxx.
Referenced by DedxCorrecSvc::PathL(), and x().
|
static |
Constant alpha for uniform field.
Definition at line 146 of file Dedx_Helix.h.