#include <MdcSegInfoCsmc.h>
◆ MdcSegInfoCsmc() [1/2]
MdcSegInfoCsmc::MdcSegInfoCsmc |
( |
| ) |
|
|
inline |
◆ ~MdcSegInfoCsmc() [1/2]
MdcSegInfoCsmc::~MdcSegInfoCsmc |
( |
| ) |
|
|
inline |
◆ MdcSegInfoCsmc() [2/2]
MdcSegInfoCsmc::MdcSegInfoCsmc |
( |
| ) |
|
|
inline |
◆ ~MdcSegInfoCsmc() [2/2]
MdcSegInfoCsmc::~MdcSegInfoCsmc |
( |
| ) |
|
|
inline |
◆ calcStraight() [1/4]
void MdcSegInfoCsmc::calcStraight |
( |
const MdcSeg * |
parentSeg | ) |
|
Definition at line 99 of file MdcSegInfoCsmc.cxx.
99 {
100
101 double slope = parentSeg->
slope();
103 double phi = parentSeg->
phi();
104 const double *inErr = parentSeg->
errmat();
105
107}
void calcStraight(double phi, double slope, double rad, const double *inErr)
const MdcSuperLayer * superlayer() const
const double * errmat() const
◆ calcStraight() [2/4]
void MdcSegInfoCsmc::calcStraight |
( |
const MdcSeg * |
parentSeg | ) |
|
◆ calcStraight() [3/4]
void MdcSegInfoCsmc::calcStraight |
( |
double |
phi, |
|
|
double |
slope, |
|
|
double |
rad, |
|
|
const double * |
inErr |
|
) |
| |
Definition at line 38 of file MdcSegInfoCsmc.cxx.
39 {
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61 double d0ovSlope = -
rad *
rad / sqrt( 1. + slope*slope *
rad*
rad );
62 double d0 = slope * d0ovSlope;
64
65 double d0ovRad =
d0 /
rad ;
66
67 d0ovRad = ( d0ovRad > 1.0 || d0ovRad < -1.0) ?
68 (d0ovRad+0.00001)/fabs(d0ovRad) : d0ovRad;
71
72
73
74 double dphi0ds = -d0ovSlope * sqrt( 1. - d0ovRad*d0ovRad ) /
rad;
75 double dd0ds = d0ovSlope * ( 1. - d0ovRad*d0ovRad );
76
77
78 _errmat[0] = inErr[2] * dd0ds * dd0ds;
80
81
82 _errmat[2] = inErr[2] * dphi0ds * dphi0ds + inErr[0] +
83 inErr[1] * 2. * dphi0ds;
85
86 _errmat[1] = inErr[2] * dd0ds * dphi0ds +
87 inErr[1] * dd0ds;
88
90 if (error) {
91 std::cout << " ErrMsg(warning) "
92 << "Failed to invert matrix -- MdcSegInfo::calcStraight" << endl
94 }
95}
int mdcTwoInv(double matrix[3], double invmat[3])
Referenced by calcStraight(), and MdcSegGrouperCsmc::fillWithSegs().
◆ calcStraight() [4/4]
void MdcSegInfoCsmc::calcStraight |
( |
double |
phi, |
|
|
double |
slope, |
|
|
double |
rad, |
|
|
const double * |
inErr |
|
) |
| |
◆ d0() [1/2]
double MdcSegInfoCsmc::d0 |
( |
| ) |
const |
|
inline |
◆ d0() [2/2]
double MdcSegInfoCsmc::d0 |
( |
| ) |
const |
|
inline |
◆ parIsAngle() [1/2]
bool MdcSegInfoCsmc::parIsAngle |
( |
int |
i | ) |
const |
|
virtual |
◆ parIsAngle() [2/2]
bool MdcSegInfoCsmc::parIsAngle |
( |
int |
i | ) |
const |
|
virtual |
◆ phi0() [1/2]
double MdcSegInfoCsmc::phi0 |
( |
| ) |
const |
|
inline |
◆ phi0() [2/2]
double MdcSegInfoCsmc::phi0 |
( |
| ) |
const |
|
inline |
◆ sigD0() [1/2]
double MdcSegInfoCsmc::sigD0 |
( |
| ) |
const |
◆ sigD0() [2/2]
double MdcSegInfoCsmc::sigD0 |
( |
| ) |
const |
◆ sigPhi0() [1/2]
double MdcSegInfoCsmc::sigPhi0 |
( |
| ) |
const |
◆ sigPhi0() [2/2]
double MdcSegInfoCsmc::sigPhi0 |
( |
| ) |
const |
The documentation for this class was generated from the following files: