 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONTRACKFINIDNGALGS_MSTRACKFINIDNGALG_H
5 #define MUONTRACKFINIDNGALGS_MSTRACKFINIDNGALG_H
34 #include "GaudiKernel/SystemOfUnits.h"
40 using AthReentrantAlgorithm::AthReentrantAlgorithm;
80 const Acts::MagneticFieldContext& mfContext,
81 const Acts::CalibrationContext& calContext,
85 const Acts::CalibrationContext& calContext,
99 ToolHandle<ISegmentSelectionTool>
m_segSelector{
this,
"SegmentSelectionTool" ,
"" };
103 ToolHandle<ISpacePointCalibrator>
m_calibTool{
this,
"Calibrator",
""};
SG::WriteHandleKey< MsTrackSeedContainer > m_msTrkSeedKey
Temporary container write handle to push the seeds to store gate for later efficiency analysis.
ToolHandle< ActsTrk::IFitterTool > m_trackFitTool
Track fitting tool.
Acts::TrackContainer< MutableTrackBackend, MutableTrackStateBackend, Acts::detail::ValueHolder > MutableTrackContainer
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
virtual StatusCode initialize() override final
Standard algorithm hook to setup the extrapolator, retrieve the tools and declare algorithm's data de...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
bool const RAWDATA *ch2 const
std::vector< const xAOD::UncalibratedMeasurement * > MeasVec_t
An algorithm that can be simultaneously executed in multiple threads.
void visualizeObj(const Acts::GeometryContext &tgContext, const Acts::CalibrationContext &calContext, const MsTrackSeed &seed, const OptBoundPars_t &parsToExt) const
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
Tracking geometry tool.
bool fitSeedCandidate(const Acts::GeometryContext &gCtx, const Acts::MagneticFieldContext &mCtx, const Acts::CalibrationContext &cCtx, const MsTrackSeed &seed, ActsTrk::MutableTrackContainer &outContainer) const
Attempts to fit the track seed candidate to a full track and returns whether the fit succeeded.
virtual StatusCode execute(const EventContext &ctx) const override final
Standard algorithm execution hook.
::StatusCode StatusCode
StatusCode definition for legacy code.
const MuonGMR4::MuonDetectorManager * m_detMgr
Pointer to the MuonDetectorManager.
virtual ~MsTrackFindingAlg()
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segmentKey
Declare the data dependency on the standard Mdt+Rpc+Tgc segment container & on the NSW segment contai...
std::unique_ptr< MsTrackSeedContainer > findTrackSeeds(const EventContext &ctx, const xAOD::MuonSegmentContainer &segments) const
Iterates over the search tree and combines close-by segments to a track seed.
Gaudi::Property< double > m_seedHalfLength
Maximum search window to search segments for.
ToolHandle< ISpacePointCalibrator > m_calibTool
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
SG::WriteHandleKey< ActsTrk::TrackContainer > m_writeKey
Key to the output track container.
Property holding a SG store/key/clid from which a WriteHandle is made.
Acts::Result< Acts::BoundTrackParameters > OptBoundPars_t
std::pair< OptBoundPars_t, MeasVec_t > prepareFit(const Acts::GeometryContext &tgContext, const Acts::MagneticFieldContext &mfContext, const Acts::CalibrationContext &calContext, const MsTrackSeed &seed) const
Prepares the input by the fit by collecting the measurements on the segment &.
Gaudi::Property< bool > m_drawEvent
Dump the segments & the pre estimated track parameters.
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
Track extrapolation tool.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
This header ties the generic definitions in this package.
ToolHandle< MuonValR4::ITrackVisualizationTool > m_visualizationTool
Visualization tool to debug the track finding.
std::vector< MsTrackSeed > MsTrackSeedContainer
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
std::unique_ptr< MsTrackSeeder > m_seeder
Pointer to the actual seeder implementation.
ToolHandle< ISegmentSelectionTool > m_segSelector
Segment selection tool to pick the good quality segments.