ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult Struct Reference

#include <IMuonSegmentInOverlapResolvingTool.h>

Collaboration diagram for Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult:

Public Member Functions

 SegmentMatchResult ()=default
bool goodMatch () const
std::string toString () const

Public Attributes

SegmentPhiMatchResult phiResult {}
double angularDifferencePhi {-999}
double averagePhiHitPullSegment1 {-999.}
double averagePhiHitPullSegment2 {-999.}
SegmentPositionMatchResult segmentResult1 {}
SegmentPositionMatchResult segmentResult2 {}

Detailed Description

Definition at line 133 of file IMuonSegmentInOverlapResolvingTool.h.

Constructor & Destructor Documentation

◆ SegmentMatchResult()

Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::SegmentMatchResult ( )
default

Member Function Documentation

◆ goodMatch()

bool Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::goodMatch ( ) const
inline

◆ toString()

std::string Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::toString ( ) const
inline

Definition at line 203 of file IMuonSegmentInOverlapResolvingTool.h.

203 {
204 std::ostringstream sout;
205 if (goodMatch()) {
206 sout << phiResult.toString() << " dphi " << angularDifferencePhi << " phi Pull1 " << averagePhiHitPullSegment1 << " phi Pull2 "
207 << averagePhiHitPullSegment2 << " phi pos1 first " << segmentResult1.segmentPosition.phi() << " phi pos2 second "
208 << segmentResult2.segmentPosition.phi() << std::endl
209 << " segment1 " << segmentResult1.toString() << std::endl
210 << " segment " << segmentResult2.toString();
211 } else {
212 if (!segmentResult1.goodMatch)
213 sout << " Match of first segment failed";
214 else if (!segmentResult2.goodMatch)
215 sout << " Match of second segment failed";
216 else
217 sout << " unknown failure";
218 }
219 return sout.str();
220 }

Member Data Documentation

◆ angularDifferencePhi

double Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::angularDifferencePhi {-999}

Definition at line 136 of file IMuonSegmentInOverlapResolvingTool.h.

136{-999}; // angular difference of the phi from phi match and the phi from the difference of the

◆ averagePhiHitPullSegment1

double Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::averagePhiHitPullSegment1 {-999.}

Definition at line 138 of file IMuonSegmentInOverlapResolvingTool.h.

138{-999.}; // average pull of the phi hits on the first segment with the recalculated parameters

◆ averagePhiHitPullSegment2

double Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::averagePhiHitPullSegment2 {-999.}

Definition at line 139 of file IMuonSegmentInOverlapResolvingTool.h.

139{-999.}; // average pull of the phi hits on the second segment with the recalculated parameters

◆ phiResult

SegmentPhiMatchResult Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::phiResult {}

Definition at line 135 of file IMuonSegmentInOverlapResolvingTool.h.

135{}; // result of phi match

◆ segmentResult1

SegmentPositionMatchResult Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::segmentResult1 {}

Definition at line 140 of file IMuonSegmentInOverlapResolvingTool.h.

140{}; // result of recalculation of position of first segment

◆ segmentResult2

SegmentPositionMatchResult Muon::IMuonSegmentInOverlapResolvingTool::SegmentMatchResult::segmentResult2 {}

Definition at line 141 of file IMuonSegmentInOverlapResolvingTool.h.

141{}; // result of recalculation of position of second segment

The documentation for this struct was generated from the following file: