CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <MdcxHel.h>
Public Member Functions | |
MdcxHel () | |
MdcxHel (double D0, double Phi0, double Omega, double Z0=0.0, double Tanl=0.0, double T0=0.0, int Code=11111, int Mode=0, double X=0.0, double Y=0.0) | |
virtual | ~MdcxHel () |
double | D0 () const |
double | Phi0 () const |
double | Omega () const |
double | Z0 () const |
double | Tanl () const |
double | X () const |
double | Xref () const |
double | Y () const |
double | Yref () const |
double | T0 () const |
double | CosPhi0 () const |
double | SinPhi0 () const |
double | Doca_Len () const |
double | Doca_FLen () const |
double | Doca_Tof () const |
double | Doca_Zh () const |
int | Doca_Samb () const |
int | Doca_Wamb () const |
double | Doca_Eang () const |
double | Omin () const |
int | Mode () const |
int | Code () const |
int | Nfree () const |
int | Ominfl () const |
int | Qd0 () const |
int | Qphi0 () const |
int | Qomega () const |
int | Qz0 () const |
int | Qtanl () const |
int | Qt0 () const |
double | Xc () const |
double | Yc () const |
double | X0 () const |
double | Y0 () const |
double | Xh (double l) const |
double | Yh (double l) const |
double | Zh (double l) const |
double | Px (double l=0.0) const |
double | Py (double l=0.0) const |
double | Pz (double l=0.0) const |
double | Ptot (double l=0.0) const |
double | Lmax () const |
double | Doca (double WX, double WY, double WZ, double X, double Y, double Z=0.0) |
double | Doca (const MdcxHit &h) |
void | print () const |
void | flip () |
std::vector< float > | derivatives (const MdcxHit &h) |
void | SetRef (double x, double y) |
void | SetMode (int n) |
void | SetD0 (int n) |
void | SetPhi0 (int n) |
void | SetOmega (int n) |
void | SetZ0 (int n) |
void | SetTanl (int n) |
void | SetT0 (int n) |
void | SetTurnFlag (const int &i) |
int | GetTurnFlag () const |
MdcxHel & | operator= (const MdcxHel &) |
Protected Member Functions | |
double | CalcPhi (double xf, double yf, double xl, double yl) const |
int | deltaq (int i, int j) const |
void | decode (const int i, int &i1, int &i2, int &i3, int &i4, int &i5, int &i6, int &n) |
void | copy (const MdcxHel &hel) |
Protected Attributes | |
double | d0 |
double | phi0 |
double | omega |
double | z0 |
double | tanl |
double | t0 |
double | xref |
double | yref |
double | cphi0 |
double | sphi0 |
double | x0 |
double | y0 |
double | xc |
double | yc |
int | code |
int | mode |
int | qd0 |
int | qphi0 |
int | qomega |
int | qz0 |
int | qtanl |
int | qt0 |
int | nfree |
int | ominfl |
int | turnflag |
double | omin |
double | len |
double | phi |
double | xh |
double | yh |
double | zh |
double | vx |
double | vy |
double | vz |
double | cosl |
double | sinl |
double | f0 |
double | tx |
double | ty |
double | tz |
Hep3Vector | wvec |
Hep3Vector | tvec |
Hep3Vector | vhat |
Hep3Vector | dvec |
int | samb |
int | wamb |
double | eang |
MdcxHel::MdcxHel | ( | ) |
Definition at line 32 of file MdcxHel.cxx.
MdcxHel::MdcxHel | ( | double | D0, |
double | Phi0, | ||
double | Omega, | ||
double | Z0 = 0.0 , |
||
double | Tanl = 0.0 , |
||
double | T0 = 0.0 , |
||
int | Code = 11111 , |
||
int | Mode = 0 , |
||
double | X = 0.0 , |
||
double | Y = 0.0 |
||
) |
FIXME
Definition at line 34 of file MdcxHel.cxx.
|
virtual |
Definition at line 55 of file MdcxHel.cxx.
|
inlineprotected |
|
inline |
|
protected |
Definition at line 219 of file MdcxHel.cxx.
Referenced by MdcxFittedHel::Grow(), MdcxFittedHel::operator=(), and operator=().
|
inline |
|
inline |
Definition at line 53 of file MdcxHel.h.
Referenced by copy(), MdcxAddHits::GetAssociates(), MdcxMergeDups::MdcxMergeDups(), MdcxFindTracks::process(), and MdcxFindTracks::TakeToOrigin().
|
protected |
FIXME use bit code ?
Definition at line 199 of file MdcxHel.cxx.
Referenced by MdcxHel().
|
inlineprotected |
std::vector< float > MdcxHel::derivatives | ( | const MdcxHit & | h | ) |
Definition at line 324 of file MdcxHel.cxx.
Referenced by MdcxHit::derivatives().
double MdcxHel::Doca | ( | const MdcxHit & | h | ) |
Definition at line 234 of file MdcxHel.cxx.
double MdcxHel::Doca | ( | double | WX, |
double | WY, | ||
double | WZ, | ||
double | X, | ||
double | Y, | ||
double | Z = 0.0 |
||
) |
calc the phi of point(i)
FIXME
Definition at line 239 of file MdcxHel.cxx.
Referenced by MdcxHit::d(), derivatives(), Doca(), MdcxFindTracks::drophits(), MdcxFindTracks::process(), MdcxHit::pull(), MdcxHit::residual(), and MdcxFindTracks::resout().
|
inline |
Definition at line 71 of file MdcxHel.h.
Referenced by MdcxHit::d(), MdcxHit::derivatives(), MdcxHit::pull(), and MdcxHit::residual().
|
inline |
|
inline |
Definition at line 65 of file MdcxHel.h.
Referenced by MdcxAddHits::GetAssociates(), and MdcxFindTracks::process().
|
inline |
Definition at line 67 of file MdcxHel.h.
Referenced by MdcxHit::d(), MdcxHit::derivatives(), MdcxHit::pull(), MdcxHit::residual(), and MdcxFindTracks::resout().
|
inline |
Definition at line 70 of file MdcxHel.h.
Referenced by MdcxHit::d(), MdcxHit::derivatives(), MdcxHit::pull(), and MdcxHit::residual().
|
inline |
Definition at line 68 of file MdcxHel.h.
Referenced by MdcxHit::d(), MdcxHit::derivatives(), MdcxHit::pull(), MdcxHit::residual(), and MdcxFindTracks::resout().
void MdcxHel::flip | ( | ) |
Definition at line 375 of file MdcxHel.cxx.
Referenced by MdcxFindTracks::process().
|
inline |
double MdcxHel::Lmax | ( | ) | const |
FIXME
Definition at line 142 of file MdcxHel.cxx.
Referenced by MdcxAddHits::GetAssociates(), and MdcxFindTracks::process().
|
inline |
Definition at line 73 of file MdcxHel.h.
Referenced by copy(), MdcxHit::pull(), and MdcxHit::residual().
|
inline |
|
inline |
Definition at line 55 of file MdcxHel.h.
Referenced by copy(), MdcxAddHits::GetAssociates(), MdcxMergeDups::MdcxMergeDups(), MdcxFindTracks::process(), and MdcxFindTracks::TakeToOrigin().
|
inline |
|
inline |
Definition at line 193 of file MdcxHel.cxx.
|
inline |
Definition at line 54 of file MdcxHel.h.
Referenced by copy(), MdcxAddHits::GetAssociates(), MdcxMergeDups::MdcxMergeDups(), MdcxFindTracks::process(), and MdcxFindTracks::TakeToOrigin().
void MdcxHel::print | ( | ) | const |
Definition at line 357 of file MdcxHel.cxx.
Referenced by MdcxAddHits::GetAssociates(), MdcxFittedHel::IterateFit(), and MdcxFindTracks::process().
double MdcxHel::Ptot | ( | double | l = 0.0 | ) | const |
double MdcxHel::Px | ( | double | l = 0.0 | ) | const |
double MdcxHel::Py | ( | double | l = 0.0 | ) | const |
double MdcxHel::Pz | ( | double | l = 0.0 | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void MdcxHel::SetD0 | ( | int | n | ) |
Definition at line 171 of file MdcxHel.cxx.
void MdcxHel::SetMode | ( | int | n | ) |
Definition at line 154 of file MdcxHel.cxx.
void MdcxHel::SetOmega | ( | int | n | ) |
void MdcxHel::SetPhi0 | ( | int | n | ) |
void MdcxHel::SetRef | ( | double | x, |
double | y | ||
) |
Definition at line 156 of file MdcxHel.cxx.
void MdcxHel::SetT0 | ( | int | n | ) |
void MdcxHel::SetTanl | ( | int | n | ) |
|
inline |
Definition at line 115 of file MdcxHel.h.
Referenced by MdcxMergeDups::MdcxMergeDups(), and MdcxFindSegs::trial().
void MdcxHel::SetZ0 | ( | int | n | ) |
|
inline |
|
inline |
Definition at line 62 of file MdcxHel.h.
Referenced by copy(), MdcxHit::d(), MdcxHit::derivatives(), MdcxHit::pull(), MdcxHit::residual(), and MdcxFindTracks::TakeToOrigin().
|
inline |
double MdcxHel::X0 | ( | ) | const |
Definition at line 77 of file MdcxHel.cxx.
Referenced by copy(), MdcxFittedHel::DoFit(), flip(), MdcxHel(), and MdcxFindTracks::process().
double MdcxHel::Xc | ( | ) | const |
Definition at line 59 of file MdcxHel.cxx.
Referenced by copy(), MdcxFittedHel::DoFit(), MdcxAddHits::GetAssociates(), MdcxHel(), and MdcxFindTracks::process().
double MdcxHel::Xh | ( | double | l | ) | const |
|
inline |
Definition at line 59 of file MdcxHel.h.
Referenced by copy(), MdcxSeg::printSegAll(), and MdcxFindTracks::TakeToOrigin().
double MdcxHel::Y0 | ( | ) | const |
Definition at line 81 of file MdcxHel.cxx.
Referenced by copy(), MdcxFittedHel::DoFit(), flip(), MdcxHel(), and MdcxFindTracks::process().
double MdcxHel::Yc | ( | ) | const |
Definition at line 68 of file MdcxHel.cxx.
Referenced by copy(), MdcxFittedHel::DoFit(), MdcxAddHits::GetAssociates(), MdcxHel(), and MdcxFindTracks::process().
double MdcxHel::Yh | ( | double | l | ) | const |
|
inline |
Definition at line 61 of file MdcxHel.h.
Referenced by copy(), MdcxSeg::printSegAll(), and MdcxFindTracks::TakeToOrigin().
|
inline |
double MdcxHel::Zh | ( | double | l | ) | const |
|
protected |
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 131 of file MdcxHel.h.
Referenced by copy(), CosPhi0(), derivatives(), Doca(), MdcxFittedHel::DoFit(), flip(), MdcxHel(), Px(), Xh(), Y0(), Yc(), Yh(), and MdcxSeg::Yline_bbrrf().
|
protected |
Definition at line 123 of file MdcxHel.h.
Referenced by copy(), D0(), MdcxSeg::D0_sl_approx(), derivatives(), MdcxFittedHel::DoFit(), MdcxFittedHel::FitPrint(), flip(), Lmax(), print(), MdcxSeg::printSegAll(), X0(), MdcxSeg::Xline_bbrrf(), Y0(), and MdcxSeg::Yline_bbrrf().
|
protected |
Definition at line 164 of file MdcxHel.h.
Referenced by Doca(), and Doca_Eang().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), Doca(), Doca_FLen(), Doca_Len(), and Doca_Tof().
|
protected |
|
protected |
Definition at line 153 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxFittedHel::Grow(), MdcxFittedHel::IterateFit(), MdcxHel(), Nfree(), print(), SetD0(), SetOmega(), SetPhi0(), SetT0(), SetTanl(), and SetZ0().
|
protected |
Definition at line 125 of file MdcxHel.h.
Referenced by copy(), MdcxSeg::D0_sl_approx(), derivatives(), Doca(), MdcxFittedHel::DoFit(), MdcxFittedHel::FitPrint(), flip(), Lmax(), MdcxHel(), Omega(), MdcxSeg::Phi0_sl_approx(), print(), MdcxSeg::printSegAll(), Ptot(), Px(), Py(), Pz(), Xc(), Xh(), Yc(), and Yh().
|
protected |
|
protected |
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 124 of file MdcxHel.h.
Referenced by copy(), Doca(), MdcxFittedHel::DoFit(), MdcxFittedHel::FitPrint(), flip(), MdcxHel(), Phi0(), MdcxSeg::Phi0_sl_approx(), print(), MdcxSeg::printSegAll(), Px(), Py(), Xh(), and Yh().
|
protected |
Definition at line 147 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxHel(), Qd0(), and SetD0().
|
protected |
Definition at line 149 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxHel(), Qomega(), and SetOmega().
|
protected |
Definition at line 148 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxHel(), Qphi0(), and SetPhi0().
|
protected |
Definition at line 152 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxHel(), Qt0(), and SetT0().
|
protected |
Definition at line 151 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxHel(), Qtanl(), and SetTanl().
|
protected |
Definition at line 150 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), MdcxHel(), Qz0(), and SetZ0().
|
protected |
Definition at line 164 of file MdcxHel.h.
Referenced by Doca(), and Doca_Samb().
|
protected |
Definition at line 132 of file MdcxHel.h.
Referenced by copy(), derivatives(), Doca(), MdcxFittedHel::DoFit(), flip(), MdcxHel(), Py(), SinPhi0(), X0(), Xc(), Xh(), MdcxSeg::Xline_bbrrf(), and Yh().
|
protected |
|
protected |
Definition at line 127 of file MdcxHel.h.
Referenced by copy(), Doca(), Doca_FLen(), Doca_Tof(), MdcxFittedHel::DoFit(), MdcxFittedHel::FitPrint(), flip(), print(), Ptot(), Pz(), Tanl(), and Zh().
|
protected |
Definition at line 155 of file MdcxHel.h.
Referenced by copy(), Doca(), GetTurnFlag(), MdcxHel(), and SetTurnFlag().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
Definition at line 164 of file MdcxHel.h.
Referenced by Doca(), and Doca_Wamb().
|
protected |
Definition at line 133 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), flip(), MdcxHel(), print(), Xc(), and Xh().
|
protected |
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
|
protected |
Definition at line 134 of file MdcxHel.h.
Referenced by copy(), derivatives(), MdcxFittedHel::DoFit(), flip(), MdcxHel(), print(), Yc(), and Yh().
|
protected |
|
protected |
Definition at line 162 of file MdcxHel.h.
Referenced by derivatives(), and Doca().
|
protected |
|
protected |
Definition at line 126 of file MdcxHel.h.
Referenced by copy(), Doca(), MdcxFittedHel::DoFit(), MdcxFittedHel::FitPrint(), flip(), print(), Z0(), and Zh().
|
protected |