29 assert (i >= 0 && i < 2);
35 double radius,
const double *inErr) {
39 double slinv = 1./
slope;
41 double temp = 1. -
_par1*
_par1 * radius*radius;
42 if (temp < 0.) temp = 0.;
43 double dphi0ds = -radius *
_par1 * sqrt(temp) * slinv;
48 _errmat[0] = inErr[2] * dphi0ds * dphi0ds + inErr[0] +
49 inErr[1] * 2. * dphi0ds;
56 inErr[1] *
_par1 * slinv * temp;
59 std::cout <<
" ErrMsg(warning) "
60 <<
"Failed to invert matrix -- MdcSegInfo::calcFromOrigin" << endl
71 double phi = parentSeg->
phi();
72 const double *inErr = parentSeg->
errmat();
void calcFromOrigin(const MdcSeg *parentSeg)
bool parIsAngle(int i) const
const MdcSuperLayer * superlayer() const
const double * errmat() const
int mdcTwoInv(double matrix[3], double invmat[3])