![]() |
ATLAS Offline Software
|
Class with matching return information. More...
#include <MuonTrackSegmentMatchResult.h>
Public Types | |
| enum | CutType { PosXCut , PosYCut , PosXPullCut , PosYPullCut , AngXCut , AngYCut , AngXPullCut , AngYPullCut , MatchChiSquaredCut , NumberOfCutTypes } |
| enum | Reason { Unknown , NoCutsApplied , PassedAllCuts , PassedMatchChiSquaredCut , PassedPosAngleCuts , FailedCuts , SegmentMatching , NoSegmentPointer , StereoAngleWithoutPhi , NoClosestPars , FieldNotOk , NoClosestSegment , SegmentMatch , NoMomentumWithMagField , ExtrapolFailed , ExtrapolNoErrors , NoMeasErrors , PredLocalAnglesFailed , AngleMeasErrFailed , AnglePredErrFailed , CovarInverseFailed , LocalDirFailed , NumberOfReasons } |
Public Member Functions | |
| TrackSegmentMatchResult () | |
| virtual | ~TrackSegmentMatchResult () |
| virtual void | clear () |
| void | resetCuts () |
| Reset all cuts (applied & passed) | |
| void | setCutPassed (CutType cut) |
| Set cut applied and cut passed. | |
| void | setCutFailed (CutType cut) |
| Set cut applied, but not cut passed. | |
| bool | passedCut (CutType cut) const |
| Did it pass the cut? | |
| bool | failedCut (CutType cut) const |
| Did it fail the cut? | |
| bool | appliedCut (CutType cut) const |
| Was the cut applied ? | |
| bool | appliedAnyCut () const |
| Was any cut applied ? | |
| bool | passedAllCuts () const |
| Did all of the cuts that were applied pass? | |
| std::string | failedCutsString () const |
| String with all cuts that were applied and failed. | |
| std::string | passedCutsString () const |
| String with all cuts that were applied and passed. | |
| std::string | reasonString () const |
Static Public Member Functions | |
| static std::string | cutString (CutType cut) |
| turn enum CutType into a string | |
| static std::string | reasonString (Reason r) |
| turn enum Reason into a string | |
Public Attributes | |
| double | localPosXDiff {} |
| double | localPosYDiff {} |
| double | localAngleXDiff {} |
| double | localAngleYDiff {} |
| double | posXMeasErr2 {} |
| double | posYMeasErr2 {} |
| double | posXPredErr2 {} |
| double | posYPredErr2 {} |
| double | posXAlignErr2 {} |
| double | posYAlignErr2 {} |
| double | posXTotalErr2 {} |
| double | posYTotalErr2 {} |
| double | angleXMeasErr2 {} |
| double | angleYMeasErr2 {} |
| double | angleXPredErr2 {} |
| double | angleYPredErr2 {} |
| double | angleXAlignErr2 {} |
| double | angleYAlignErr2 {} |
| double | angleXTotalErr2 {} |
| double | angleYTotalErr2 {} |
| double | matchChiSquared {} |
| Amg::MatrixX | predictionCovariance |
| Amg::MatrixX | measuredCovariance |
| Amg::MatrixX | totalCovariance |
| Amg::VectorX | diffVector |
| Identifier | trackChamberId |
| Identifier | segmentChamberId |
| const Trk::Track * | track {} |
| const MuonSegment * | segment {} |
| Reason | reason |
| bool | havePosX {} |
| bool | havePosY {} |
| bool | havePosXError {} |
| bool | havePosYError {} |
| bool | haveAngleX {} |
| bool | haveAngleY {} |
| bool | haveAngleXError {} |
| bool | haveAngleYError {} |
| bool | haveMatchChiSquared {} |
| bool | matchOK {} |
Private Attributes | |
| int | m_failedCuts {} |
| int | m_passedCuts {} |
Class with matching return information.
Definition at line 29 of file MuonTrackSegmentMatchResult.h.
| Enumerator | |
|---|---|
| PosXCut | |
| PosYCut | |
| PosXPullCut | |
| PosYPullCut | |
| AngXCut | |
| AngYCut | |
| AngXPullCut | |
| AngYPullCut | |
| MatchChiSquaredCut | |
| NumberOfCutTypes | |
Definition at line 33 of file MuonTrackSegmentMatchResult.h.
Definition at line 49 of file MuonTrackSegmentMatchResult.h.
| Muon::TrackSegmentMatchResult::TrackSegmentMatchResult | ( | ) |
Definition at line 22 of file MuonTrackSegmentMatchResult.cxx.
|
virtual |
Definition at line 27 of file MuonTrackSegmentMatchResult.cxx.
|
inline |
Was any cut applied ?
Definition at line 152 of file MuonTrackSegmentMatchResult.h.
|
inline |
Was the cut applied ?
Definition at line 149 of file MuonTrackSegmentMatchResult.h.
|
virtual |
Reimplemented in Muon::MooCandidateMatchingTool::MooTrackSegmentMatchResult.
Definition at line 29 of file MuonTrackSegmentMatchResult.cxx.
|
static |
turn enum CutType into a string
Definition at line 72 of file MuonTrackSegmentMatchResult.cxx.
|
inline |
Did it fail the cut?
Returns true if cut was applied and failed
Definition at line 146 of file MuonTrackSegmentMatchResult.h.
| std::string Muon::TrackSegmentMatchResult::failedCutsString | ( | ) | const |
String with all cuts that were applied and failed.
Definition at line 120 of file MuonTrackSegmentMatchResult.cxx.
|
inline |
Did all of the cuts that were applied pass?
Definition at line 155 of file MuonTrackSegmentMatchResult.h.
|
inline |
Did it pass the cut?
Returns true if cut was not applied or passed
Definition at line 143 of file MuonTrackSegmentMatchResult.h.
| std::string Muon::TrackSegmentMatchResult::passedCutsString | ( | ) | const |
String with all cuts that were applied and passed.
Definition at line 133 of file MuonTrackSegmentMatchResult.cxx.
| std::string Muon::TrackSegmentMatchResult::reasonString | ( | ) | const |
Definition at line 145 of file MuonTrackSegmentMatchResult.cxx.
|
static |
turn enum Reason into a string
Definition at line 91 of file MuonTrackSegmentMatchResult.cxx.
|
inline |
Reset all cuts (applied & passed)
Definition at line 131 of file MuonTrackSegmentMatchResult.h.
|
inline |
|
inline |
| double Muon::TrackSegmentMatchResult::angleXAlignErr2 {} |
Definition at line 97 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleXMeasErr2 {} |
Definition at line 93 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleXPredErr2 {} |
Definition at line 95 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleXTotalErr2 {} |
Definition at line 99 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleYAlignErr2 {} |
Definition at line 98 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleYMeasErr2 {} |
Definition at line 94 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleYPredErr2 {} |
Definition at line 96 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::angleYTotalErr2 {} |
Definition at line 100 of file MuonTrackSegmentMatchResult.h.
| Amg::VectorX Muon::TrackSegmentMatchResult::diffVector |
Definition at line 105 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::haveAngleX {} |
Definition at line 115 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::haveAngleXError {} |
Definition at line 117 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::haveAngleY {} |
Definition at line 116 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::haveAngleYError {} |
Definition at line 118 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::haveMatchChiSquared {} |
Definition at line 119 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::havePosX {} |
Definition at line 111 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::havePosXError {} |
Definition at line 113 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::havePosY {} |
Definition at line 112 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::havePosYError {} |
Definition at line 114 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::localAngleXDiff {} |
Definition at line 83 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::localAngleYDiff {} |
Definition at line 84 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::localPosXDiff {} |
Definition at line 81 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::localPosYDiff {} |
Definition at line 82 of file MuonTrackSegmentMatchResult.h.
|
private |
Definition at line 169 of file MuonTrackSegmentMatchResult.h.
|
private |
Definition at line 170 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::matchChiSquared {} |
Definition at line 101 of file MuonTrackSegmentMatchResult.h.
| bool Muon::TrackSegmentMatchResult::matchOK {} |
Definition at line 120 of file MuonTrackSegmentMatchResult.h.
| Amg::MatrixX Muon::TrackSegmentMatchResult::measuredCovariance |
Definition at line 103 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posXAlignErr2 {} |
Definition at line 89 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posXMeasErr2 {} |
Definition at line 85 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posXPredErr2 {} |
Definition at line 87 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posXTotalErr2 {} |
Definition at line 91 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posYAlignErr2 {} |
Definition at line 90 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posYMeasErr2 {} |
Definition at line 86 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posYPredErr2 {} |
Definition at line 88 of file MuonTrackSegmentMatchResult.h.
| double Muon::TrackSegmentMatchResult::posYTotalErr2 {} |
Definition at line 92 of file MuonTrackSegmentMatchResult.h.
| Amg::MatrixX Muon::TrackSegmentMatchResult::predictionCovariance |
Definition at line 102 of file MuonTrackSegmentMatchResult.h.
| Reason Muon::TrackSegmentMatchResult::reason |
Definition at line 110 of file MuonTrackSegmentMatchResult.h.
| const MuonSegment* Muon::TrackSegmentMatchResult::segment {} |
Definition at line 109 of file MuonTrackSegmentMatchResult.h.
| Identifier Muon::TrackSegmentMatchResult::segmentChamberId |
Definition at line 107 of file MuonTrackSegmentMatchResult.h.
| Amg::MatrixX Muon::TrackSegmentMatchResult::totalCovariance |
Definition at line 104 of file MuonTrackSegmentMatchResult.h.
| const Trk::Track* Muon::TrackSegmentMatchResult::track {} |
Definition at line 108 of file MuonTrackSegmentMatchResult.h.
| Identifier Muon::TrackSegmentMatchResult::trackChamberId |
Definition at line 106 of file MuonTrackSegmentMatchResult.h.