 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONR4_MUONPATTERNHELPERS_SEGMENTAMBISOLVER_H
5 #define MUONR4_MUONPATTERNHELPERS_SEGMENTAMBISOLVER_H
11 #include <unordered_map>
31 using SegmentVec = std::vector<std::unique_ptr<Segment>>;
48 using MeasurementSet = std::unordered_set<const xAOD::UncalibratedMeasurement*>;
SegmentAmbiSolver(const std::string &name, Config &&config)
std::vector< int > driftSigns(const ActsTrk::GeometryContext &gctx, const Segment &segment, const Segment::MeasVec &measurements) const
Placeholder for what will later be the muon segment EDM representation.
std::unordered_set< const xAOD::UncalibratedMeasurement * > MeasurementSet
std::vector< MeasType > MeasVec
SegmentVec resolveAmbiguity(const ActsTrk::GeometryContext &gctx, SegmentVec &&toResolve) const
Class to provide easy MsgStream access and capabilities.
MeasurementSet extractPrds(const Segment &segment) const
Extract the Uncalibrated measurements used to build the segment.
std::vector< std::unique_ptr< Segment > > SegmentVec
unsigned int countShared(const MeasurementSet &measSet1, const MeasurementSet &measSet2) const
counts the number of measurements that're in both sets
double redChi2(const Segment &segment) const
Returns the reduced chi2 of the segment.
bool remLeftRightAmbi
Allow for left-right ambiguities.
unsigned int sharedPrecHits
Cut on the number of shared precision hits.
double selectByNDoFChi2
If two overlapping segments have both the chi2 below the threshold, the one with more degrees of free...