BOSS 6.6.4.p03
BESIII Offline Software System
|
VFHelix parameter class. More...
#include <Helix.h>
Public Member Functions | |
VFHelix (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea) | |
Constructor with pivot, helix parameter a, and its error matrix. | |
VFHelix (const HepPoint3D &pivot, const HepVector &a) | |
Constructor without error matrix. | |
VFHelix (const HepPoint3D &position, const Hep3Vector &momentum, double charge) | |
Constructor with position, momentum, and charge. | |
virtual | ~VFHelix () |
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 |
VFHelix & | operator= (const VFHelix &) |
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. | |
VFHelix parameter class.
Definition at line 38 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
VFHelix::VFHelix | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
Constructor with pivot, helix parameter a, and its error matrix.
Definition at line 37 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
VFHelix::VFHelix | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
Constructor without error matrix.
Definition at line 55 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
VFHelix::VFHelix | ( | const HepPoint3D & | position, |
const Hep3Vector & | momentum, | ||
double | charge | ||
) |
Constructor with position, momentum, and charge.
Definition at line 71 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
|
virtual |
Destructor.
Definition at line 106 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
|
inline |
sets helix parameters.
Definition at line 252 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
returns helix parameters.
Definition at line 240 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by bFieldZ(), Gam4pikp::execute(), Rhopi::execute(), DQAKsKpi::execute(), DQASelHadron::execute(), CalibEventSelect::execute(), SD0Tag::execute(), DTagTool::isGoodTrack(), DSemilepAlg::isGoodTrack(), K0kk::MTotal(), K0kpi::MTotal(), K0pi0::MTotal(), K0pipi::MTotal(), K0pipipi0::MTotal(), K3pi::MTotal(), K3pipi0::MTotal(), Kk::MTotal(), Kkpi0::MTotal(), Kkpipi::MTotal(), Kpi::MTotal(), Kpipi0::MTotal(), Kpipi0pi0::MTotal(), Pipi::MTotal(), Pipipi0::MTotal(), LocalKaonSelector::operator()(), LocalPionSelector::operator()(), and set().
|
inline |
sets/returns z componet of the magnetic field.
Definition at line 266 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
Definition at line 275 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
returns position of helix center(z = 0.);
Definition at line 180 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
Definition at line 287 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
Definition at line 234 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
HepMatrix VFHelix::del4MDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 578 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Referenced by momentum().
HepMatrix VFHelix::del4MXDelA | ( | double | phi, |
double | mass | ||
) | const |
Definition at line 624 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Referenced by momentum().
HepMatrix VFHelix::delApDelA | ( | const HepVector & | ap | ) | const |
Definition at line 419 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Referenced by pivot().
HepMatrix VFHelix::delMDelA | ( | double | phi | ) | const |
Definition at line 541 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Referenced by momentum().
HepMatrix VFHelix::delXDelA | ( | double | phi | ) | const |
Definition at line 487 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Referenced by x().
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 198 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
returns an element of parameters.
Definition at line 204 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), and pivot().
|
inline |
Definition at line 222 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by del4MXDelA(), delApDelA(), delXDelA(), and pivot().
|
inline |
sets helix paramters and error matrix.
Definition at line 260 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
returns error matrix.
Definition at line 246 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by set().
void VFHelix::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 695 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
|
inline |
Definition at line 216 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by pivot().
HepLorentzVector VFHelix::momentum | ( | double | dPhi, |
double | mass | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 208 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
HepLorentzVector VFHelix::momentum | ( | double | dPhi, |
double | mass, | ||
HepPoint3D & | x, | ||
HepSymMatrix & | Emx | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 256 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
HepLorentzVector VFHelix::momentum | ( | double | dPhi, |
double | mass, | ||
HepSymMatrix & | Em | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 231 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Hep3Vector VFHelix::momentum | ( | double | dPhi, |
HepSymMatrix & | Em | ||
) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 185 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Hep3Vector VFHelix::momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 165 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Copy operator.
Definition at line 361 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
|
inline |
Definition at line 210 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by del4MDelA(), del4MXDelA(), delApDelA(), delMDelA(), delXDelA(), and pivot().
const HepPoint3D & VFHelix::pivot | ( | const HepPoint3D & | newPivot | ) |
sets pivot position.
Definition at line 289 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
|
inline |
returns pivot position.
Definition at line 186 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by Gam4pikp::execute(), Rhopi::execute(), DQAKsKpi::execute(), DQASelHadron::execute(), CalibEventSelect::execute(), SD0Tag::execute(), DTagTool::isGoodTrack(), DSemilepAlg::isGoodTrack(), K0kk::MTotal(), K0kpi::MTotal(), K0pi0::MTotal(), K0pipi::MTotal(), K0pipipi0::MTotal(), K3pi::MTotal(), K3pipi0::MTotal(), Kk::MTotal(), Kkpi0::MTotal(), Kkpipi::MTotal(), Kpi::MTotal(), Kpipi0::MTotal(), Kpipi0pi0::MTotal(), Pipi::MTotal(), Pipipi0::MTotal(), LocalKaonSelector::operator()(), LocalPionSelector::operator()(), and set().
|
inline |
returns radious of helix.
Definition at line 192 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
void VFHelix::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a, | ||
const HepSymMatrix & | Ea | ||
) |
sets helix pivot position, parameters, and error matrix.
Definition at line 350 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
|
inline |
Definition at line 281 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
|
inline |
Definition at line 228 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.
Referenced by pivot().
double * VFHelix::x | ( | double | dPhi, |
double | p[3] | ||
) | const |
Definition at line 127 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
HepPoint3D VFHelix::x | ( | double | dPhi, |
HepSymMatrix & | Ex | ||
) | const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 144 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
HepPoint3D VFHelix::x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 110 of file Analysis/VertexFit/VertexFit-00-02-71/src/Helix.cxx.
Referenced by x().
|
static |
Constant alpha for uniform field.
Definition at line 148 of file Analysis/VertexFit/VertexFit-00-02-71/VertexFit/Helix.h.