![]() |
ATLAS Offline Software
|
#include <CurvedLine.h>
Public Types | |
| using | MdtHitVec = MuonCalibSegment::MdtHitVec |
| using | MdtHitPtr = MuonCalibSegment::MdtHitPtr |
Public Member Functions | |
| CurvedLine () | |
| Default constructor: a straight line through (0,0,0) pointing in in the local x direction of the chambers is created. | |
| CurvedLine (std::vector< Amg::Vector3D > &points) | |
| Constructor. | |
| CurvedLine (std::vector< Amg::Vector3D > &points, std::vector< Amg::Vector3D > &x_and_y_errors) | |
| Constructor. | |
| Amg::Vector3D | getPointOnLine (const double loc_z) const |
| get the point on the line a the local z coordinate "loc_z" | |
| MTStraightLine | getTangent (const double loc_z) const |
| get the tangent to the line a the local z coordinate "loc_z" | |
| void | setChi2 (double chi2) |
| Cache the chi2. | |
| double | chi2 () const |
| void | setNumberOfTrackHits (unsigned int n_hits) |
| cache the number of track hits | |
| unsigned int | numberOfTrackHits () const |
| double | chi2PerDegreesOfFreedom () const |
| Return chi2 / number of TrackHits - 3. | |
| void | setUsedHits (const MdtHitVec &hits) |
| const MdtHitVec & | trackHits () const |
Private Member Functions | |
| void | init (std::vector< Amg::Vector3D > &points, std::vector< Amg::Vector3D > &x_and_y_errors) |
Private Attributes | |
| Amg::VectorX | m_coeff_xz |
| Amg::VectorX | m_coeff_yz |
| double | m_chi2 {-1} |
| unsigned int | m_numTrkHits {0} |
| MdtHitVec | m_used_hits |
Definition at line 30 of file CurvedLine.h.
Definition at line 33 of file CurvedLine.h.
Definition at line 32 of file CurvedLine.h.
| CurvedLine::CurvedLine | ( | ) |
Default constructor: a straight line through (0,0,0) pointing in in the local x direction of the chambers is created.
Definition at line 20 of file CurvedLine.cxx.
| CurvedLine::CurvedLine | ( | std::vector< Amg::Vector3D > & | points | ) |
Constructor.
| points | A straight line in the xz and a parabolic line in the yz plane is fitter through the given points. All points get equal weight. |
Definition at line 52 of file CurvedLine.cxx.
| CurvedLine::CurvedLine | ( | std::vector< Amg::Vector3D > & | points, |
| std::vector< Amg::Vector3D > & | x_and_y_errors ) |
Constructor.
| points | A straight line in the xz and a parabolic line in the yz plane is fitter through the given points. |
| x_and_y_errors | Errors of the x and y coordinates of the given points |
Definition at line 72 of file CurvedLine.cxx.
| double CurvedLine::chi2 | ( | ) | const |
Definition at line 182 of file CurvedLine.cxx.
| double CurvedLine::chi2PerDegreesOfFreedom | ( | ) | const |
| Amg::Vector3D CurvedLine::getPointOnLine | ( | const double | loc_z | ) | const |
get the point on the line a the local z coordinate "loc_z"
Definition at line 80 of file CurvedLine.cxx.
| MTStraightLine CurvedLine::getTangent | ( | const double | loc_z | ) | const |
get the tangent to the line a the local z coordinate "loc_z"
Definition at line 112 of file CurvedLine.cxx.
|
private |
Definition at line 136 of file CurvedLine.cxx.
| unsigned int CurvedLine::numberOfTrackHits | ( | ) | const |
Definition at line 184 of file CurvedLine.cxx.
| void CurvedLine::setChi2 | ( | double | chi2 | ) |
| void CurvedLine::setNumberOfTrackHits | ( | unsigned int | n_hits | ) |
cache the number of track hits
Definition at line 183 of file CurvedLine.cxx.
Definition at line 188 of file CurvedLine.cxx.
| const CurvedLine::MdtHitVec & CurvedLine::trackHits | ( | ) | const |
Definition at line 189 of file CurvedLine.cxx.
|
private |
Definition at line 82 of file CurvedLine.h.
|
private |
Definition at line 77 of file CurvedLine.h.
|
private |
Definition at line 79 of file CurvedLine.h.
|
private |
Definition at line 83 of file CurvedLine.h.
|
private |
Definition at line 84 of file CurvedLine.h.