CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <StraightLine.h>
Public Member Functions | |
StraightLine (const HepPoint3D &pivot, const HepVector &a) | |
StraightLine (double dr, double phi0, double dz, double tanl) | |
StraightLine (HepPoint3D pos1, HepPoint3D pos2) | |
virtual | ~StraightLine () |
Destructor. | |
const HepPoint3D & | pivot (void) const |
returns pivot position. | |
const HepVector & | a (void) const |
returns helix parameters. | |
double | dr (void) const |
returns an element of parameters. | |
double | phi0 (void) const |
double | dz (void) const |
double | tanl (void) const |
double | sinPhi0 (void) const |
double | cosPhi0 (void) const |
double | lambda () const |
double | theta () const |
double | cosTheta () const |
HepPoint3D | x (double s=0.) const |
returns position after moving s in downwoards | |
double | sAtR (double R, int direction=1) const |
HepPoint3D | xAtR (double R, int direction=1) const |
double | sAtPhi (double phi) const |
HepPoint3D | xAtPhi (double phi) const |
void | set (const HepVector &a) |
returns position and convariance matrix(Ex) after moving s. | |
void | set (const HepPoint3D &pivot) |
void | set (const HepPoint3D &pivot, const HepVector &a) |
sets pivot position, parameters. | |
void | print () |
Definition at line 23 of file StraightLine.h.
StraightLine::StraightLine | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
Definition at line 8 of file StraightLine.cxx.
StraightLine::StraightLine | ( | double | dr, |
double | phi0, | ||
double | dz, | ||
double | tanl | ||
) |
StraightLine::StraightLine | ( | HepPoint3D | pos1, |
HepPoint3D | pos2 | ||
) |
Definition at line 25 of file StraightLine.cxx.
|
virtual |
|
inline |
returns helix parameters.
Definition at line 43 of file StraightLine.h.
Referenced by set().
|
inline |
Definition at line 51 of file StraightLine.h.
|
inline |
Definition at line 54 of file StraightLine.h.
|
inline |
returns an element of parameters.
Definition at line 45 of file StraightLine.h.
Referenced by CgemLineFit::execute(), CgemLineFit::Fit(), CgemLineFit::Get4Par(), CgemLineFit::Get_OtherIniPar(), CgemMidDriftPlane::getPointAligned(), BesCgemSD::ProcessHits(), and StraightLine().
|
inline |
Definition at line 48 of file StraightLine.h.
Referenced by CgemLineFit::execute(), CgemLineFit::Fit(), CgemLineFit::Get4Par(), CgemLineFit::Get_OtherIniPar(), CgemMidDriftPlane::getPointAligned(), and StraightLine().
|
inline |
|
inline |
Definition at line 46 of file StraightLine.h.
Referenced by cosPhi0(), CgemLineFit::execute(), CgemLineFit::Fit(), CgemLineFit::Get4Par(), CgemLineFit::Get_OtherIniPar(), CgemMidDriftPlane::getPointAligned(), sAtPhi(), sinPhi0(), and StraightLine().
|
inline |
returns pivot position.
Definition at line 40 of file StraightLine.h.
Referenced by set(), and StraightLine().
void StraightLine::print | ( | ) |
Definition at line 152 of file StraightLine.cxx.
double StraightLine::sAtPhi | ( | double | phi | ) | const |
Definition at line 108 of file StraightLine.cxx.
Referenced by xAtPhi().
double StraightLine::sAtR | ( | double | R, |
int | direction = 1 |
||
) | const |
Definition at line 89 of file StraightLine.cxx.
Referenced by CgemGeoAlign::StraightLineConversion(), and xAtR().
void StraightLine::set | ( | const HepPoint3D & | pivot | ) |
Definition at line 140 of file StraightLine.cxx.
void StraightLine::set | ( | const HepPoint3D & | pivot, |
const HepVector & | a | ||
) |
sets pivot position, parameters.
Definition at line 146 of file StraightLine.cxx.
void StraightLine::set | ( | const HepVector & | a | ) |
returns position and convariance matrix(Ex) after moving s.
Definition at line 135 of file StraightLine.cxx.
|
inline |
Definition at line 50 of file StraightLine.h.
|
inline |
Definition at line 49 of file StraightLine.h.
Referenced by CgemLineFit::execute(), CgemLineFit::Fit(), CgemLineFit::Get4Par(), CgemLineFit::Get_OtherIniPar(), CgemMidDriftPlane::getPointAligned(), and StraightLine().
|
inline |
HepPoint3D StraightLine::x | ( | double | s = 0. | ) | const |
returns position after moving s in downwoards
Definition at line 81 of file StraightLine.cxx.
Referenced by CgemLineFit::IncidentAngle(), CgemGeoAlign::StraightLineConversion(), x(), xAtPhi(), and xAtR().
HepPoint3D StraightLine::xAtPhi | ( | double | phi | ) | const |
Definition at line 127 of file StraightLine.cxx.
HepPoint3D StraightLine::xAtR | ( | double | R, |
int | direction = 1 |
||
) | const |
Definition at line 100 of file StraightLine.cxx.
Referenced by CgemMidDriftPlane::getPointIdealGeom(), BesCgemSD::ProcessHits(), and CgemGeoAlign::StraightLineConversion().