#include <MdcSegInfoAxialO.h>
◆ MdcSegInfoAxialO() [1/2]
MdcSegInfoAxialO::MdcSegInfoAxialO |
( |
| ) |
|
|
inline |
◆ ~MdcSegInfoAxialO() [1/2]
MdcSegInfoAxialO::~MdcSegInfoAxialO |
( |
| ) |
|
|
inline |
◆ MdcSegInfoAxialO() [2/2]
MdcSegInfoAxialO::MdcSegInfoAxialO |
( |
| ) |
|
|
inline |
◆ ~MdcSegInfoAxialO() [2/2]
MdcSegInfoAxialO::~MdcSegInfoAxialO |
( |
| ) |
|
|
inline |
◆ calcFromOrigin() [1/4]
void MdcSegInfoAxialO::calcFromOrigin |
( |
const MdcSeg * |
parentSeg | ) |
|
◆ calcFromOrigin() [2/4]
void MdcSegInfoAxialO::calcFromOrigin |
( |
const MdcSeg * |
parentSeg | ) |
|
◆ calcFromOrigin() [3/4]
void MdcSegInfoAxialO::calcFromOrigin |
( |
double |
phi, |
|
|
double |
slope, |
|
|
double |
rad, |
|
|
const double * |
inErr |
|
) |
| |
Definition at line 34 of file MdcSegInfoAxialO.cxx.
35 {
36
37
38 if (slope == 0.) slope = 0.00000001;
39 double slinv = 1./slope;
40 _par1 = slope / sqrt(1. + radius*radius * slope*slope);
41 double temp = 1. -
_par1*
_par1 * radius*radius;
42 if (temp < 0.) temp = 0.;
43 double dphi0ds = -radius *
_par1 * sqrt(temp) * slinv;
46
47
48 _errmat[0] = inErr[2] * dphi0ds * dphi0ds + inErr[0] +
49 inErr[1] * 2. * dphi0ds;
51
54
56 inErr[1] *
_par1 * slinv * temp;
58 if (error) {
59 std::cout << " ErrMsg(warning) "
60 << "Failed to invert matrix -- MdcSegInfo::calcFromOrigin" << endl
62 }
63}
int mdcTwoInv(double matrix[3], double invmat[3])
◆ calcFromOrigin() [4/4]
void MdcSegInfoAxialO::calcFromOrigin |
( |
double |
phi, |
|
|
double |
slope, |
|
|
double |
rad, |
|
|
const double * |
inErr |
|
) |
| |
◆ curv() [1/2]
double MdcSegInfoAxialO::curv |
( |
| ) |
const |
|
inline |
◆ curv() [2/2]
double MdcSegInfoAxialO::curv |
( |
| ) |
const |
|
inline |
◆ parIsAngle() [1/2]
bool MdcSegInfoAxialO::parIsAngle |
( |
int |
i | ) |
const |
|
virtual |
◆ parIsAngle() [2/2]
bool MdcSegInfoAxialO::parIsAngle |
( |
int |
i | ) |
const |
|
virtual |
◆ phi0() [1/2]
double MdcSegInfoAxialO::phi0 |
( |
| ) |
const |
|
inline |
◆ phi0() [2/2]
double MdcSegInfoAxialO::phi0 |
( |
| ) |
const |
|
inline |
◆ sigCurv() [1/2]
double MdcSegInfoAxialO::sigCurv |
( |
| ) |
const |
◆ sigCurv() [2/2]
double MdcSegInfoAxialO::sigCurv |
( |
| ) |
const |
◆ sigPhi0() [1/2]
double MdcSegInfoAxialO::sigPhi0 |
( |
| ) |
const |
◆ sigPhi0() [2/2]
double MdcSegInfoAxialO::sigPhi0 |
( |
| ) |
const |
The documentation for this class was generated from the following files: