73 if (
static_cast<int>(cut) < 0 ||
static_cast<int>(cut) >=
static_cast<int>(
NumberOfCutTypes)) {
return "CutTypeOutOfRange"; }
78 case AngXCut:
return "AngleXCut";
79 case AngYCut:
return "AngleYCut";
85 default:
return "CutTypeNotInList";
92 if (
static_cast<int>(
r) < 0 ||
static_cast<int>(
r) >=
static_cast<int>(
NumberOfReasons)) {
return "ReasonOutOfRange"; }
115 default:
return "ReasonNotInList";
121 std::string failedStr;
125 if (!failedStr.empty()) failedStr +=
",";
134 std::string passedStr;
138 if (!passedStr.empty()) passedStr +=
",";
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
virtual ~TrackSegmentMatchCuts()
double matchChiSquaredCut
bool cutOnMatchChiSquared
Identifier trackChamberId
virtual ~TrackSegmentMatchResult()
Identifier segmentChamberId
void resetCuts()
Reset all cuts (applied & passed)
const MuonSegment * segment
TrackSegmentMatchResult()
std::string reasonString() const
bool passedCut(CutType cut) const
Did it pass the cut?
bool failedCut(CutType cut) const
Did it fail the cut?
Amg::MatrixX measuredCovariance
std::string failedCutsString() const
String with all cuts that were applied and failed.
bool appliedCut(CutType cut) const
Was the cut applied ?
static std::string cutString(CutType cut)
turn enum CutType into a string
Amg::MatrixX predictionCovariance
std::string passedCutsString() const
String with all cuts that were applied and passed.
Amg::MatrixX totalCovariance
@ PassedMatchChiSquaredCut