 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONR4_MUONPATTERNRECOGNTIONALGS_SEGMENTFITTINGALG__H
5 #define MUONR4_MUONPATTERNRECOGNTIONALGS_SEGMENTFITTINGALG__H
36 using AthReentrantAlgorithm::AthReentrantAlgorithm;
43 std::vector<std::unique_ptr<Segment>>
fitSegmentSeed(
const EventContext& ctx,
48 std::vector<std::unique_ptr<Segment>>& segmentCandidates)
const;
59 ToolHandle<ISpacePointCalibrator>
m_calibTool{
this,
"Calibrator",
"" };
61 ToolHandle<MuonValR4::IPatternVisualizationTool>
m_visionTool{
this,
"VisualizationTool",
""};
63 Gaudi::Property<bool>
m_doT0Fit{
this,
"fitSegmentT0",
true};
88 Gaudi::Property<unsigned>
m_maxIter{
this,
"maxIterations", 50};
92 std::unique_ptr<SegmentFit::SegmentLineFitter>
m_fitter{};
Gaudi::Property< double > m_outlierRemovalCut
Cut on the segment chi2 / nDoF to launch the outlier removal.
SG::WriteHandleKey< SegmentContainer > m_outSegments
Gaudi::Property< bool > m_tryPatternPars
Try first to fit the pattern parameters. Then proceed with the straw line tangents.
Gaudi::Property< double > m_recoveryPull
Gaudi::Property< double > m_beamSpotL
std::vector< std::unique_ptr< Segment > > fitSegmentSeed(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const SegmentSeed *seed) const
Gaudi::Property< double > m_beamSpotR
virtual StatusCode initialize() override
Gaudi::Property< bool > m_doT0Fit
void resolveAmbiguities(const ActsTrk::GeometryContext &gctx, std::vector< std::unique_ptr< Segment >> &segmentCandidates) const
Property holding a SG store/key/clid from which a ReadHandle is made.
std::unique_ptr< SegmentFit::SegmentAmbiSolver > m_ambiSolver
Pointer to the ambiguity reosolution.
SegmentFit::Parameters Parameters
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< bool > m_recalibInFit
ToolHandle< ISpacePointCalibrator > m_calibTool
Handle to the space point calibrator.
Gaudi::Property< unsigned > m_precHitCut
Minimum number of precision hits to accept the segment.
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< double > m_seedHitChi2
Two mdt seeds are the same if their defining parameters match wihin.
::StatusCode StatusCode
StatusCode definition for legacy code.
Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t Parameters
Gaudi::Property< bool > m_hessianResidual
Use the expliciit Hessian in the residual calculation.
Gaudi::Property< bool > m_recalibSeed
Toggle seed recalibration.
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< bool > m_doBeamspotConstraint
Add beamline constraint.
std::unique_ptr< SegmentFit::SegmentLineFitter > m_fitter
Pointer to the actual segment fitter.
SG::ReadHandleKey< SegmentSeedContainer > m_seedKey
ReadHandle of the seeds.
Gaudi::Property< unsigned > m_maxIter
Tune the number of iterations.
Algorithm to handle segment fits
This header ties the generic definitions in this package.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform.
Gaudi::Property< bool > m_useFastFitter
Use the fast Mdt fitter where possible.
ToolHandle< MuonValR4::IPatternVisualizationTool > m_visionTool
Pattern visualization tool.
virtual StatusCode execute(const EventContext &ctx) const override
virtual ~SegmentFittingAlg()