 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef TrkGaussianSumFitter_H
14 #define TrkGaussianSumFitter_H
35 #include "GaudiKernel/EventContext.h"
36 #include "GaudiKernel/ToolHandle.h"
76 const EventContext& ctx,
86 const EventContext& ctx,
94 const EventContext& ctx,
101 const EventContext& ctx,
109 const EventContext& ctx,
117 const EventContext& ctx,
136 const EventContext& ctx,
151 const EventContext& ctx,
159 const EventContext& ctx,
162 const T* measurement,
177 this,
"ToolForExtrapolation",
"Trk::GsfExtrapolator/GsfExtrapolator",
""};
180 this,
"ToolForROTCreation",
"",
181 "Tool for converting Raw Data to measurements"};
184 "Reintegrate Outliers"};
187 this,
"RefitOnMeasurementBase",
true,
"Refit On Measurement Base"};
190 this,
"CombineStateWithFitter",
false,
191 "Combine with forwards state during Smoothing"};
194 this,
"useMode",
true,
195 "Collapse MultiComponent States using Mode rather than Mean"};
198 this,
"slimTransientMTSOS",
true,
199 "Slim the transient MTSOS . Keeping just the combined state and not all "
203 this,
"StateChi2PerNDOFCut", 50.,
"Cut on Chi2 per NDOF"};
206 this,
"MaximumNumberOfComponents", 12,
"Maximum number of components"};
210 "smootherStartCovFactors",
211 {15., 5., 15., 5., 15.},
212 "Inflation factors for the covariance at the start of smoothing [LocX, LocY, phi, "
virtual ~GaussianSumFitter()=default
Virtual destructor.
std::vector< const PrepRawData * > PrepRawDataSet
vector of clusters and drift circles
virtual StatusCode initialize() override final
AlgTool initialise method.
Gaudi::Property< bool > m_slimTransientMTSOS
std::unique_ptr< MultiComponentStateOnSurfaceDV > convertTrajToTrack(GSFTrajectory &trajectory) const
Helper to convert the GSFTrajectory to a Trk::Track.
ToolHandle< IMultiStateExtrapolator > m_extrapolator
GSFTrajectory smootherFit(const EventContext &ctx, Trk::IMultiStateExtrapolator::Cache &, GSFTrajectory &forwardTrajectory, const CaloCluster_OnTrack *ccot=nullptr) const
Gsf smoothed trajectory.
bool const RAWDATA *ch2 const
GSFTrajectory forwardFit(const EventContext &ctx, IMultiStateExtrapolator::Cache &cache, const T &inputSet, const TrackParameters &estimatedTrackParametersNearOrigin) const
Forward GSF fit.
bool RunOutlierRemoval
switch to toggle quality processing after fit
std::vector< GSFTsos > GSFTrajectory
GSFTsos makePerigee(const EventContext &ctx, Trk::IMultiStateExtrapolator::Cache &, const GSFTrajectory &smoothedTrajectory) const
Produces a perigee from a smoothed trajectory.
Gaudi::Property< bool > m_refitOnMeasurementBase
virtual std::unique_ptr< Track > fit(const EventContext &ctx, const PrepRawDataSet &, const TrackParameters &, const RunOutlierRemoval, const ParticleHypothesis) const override final
Fit a collection of 'PrepRawData' objects using the Gaussian Sum Filter.
Simplified TSos for internal GSF use.
::StatusCode StatusCode
StatusCode definition for legacy code.
DoubleArrayProperty m_smootherCovFactors
GaussianSumFitter(const std::string &, const std::string &, const IInterface *)
Constructor with parameters to be passed to AlgTool.
std::vector< ComponentParameters > MultiComponentState
std::vector< const MeasurementBase * > MeasurementSet
vector of fittable measurements
Gaudi::Property< bool > m_useMode
Ensure that the ATLAS eigen extensions are properly loaded.
bool addCCOT(const EventContext &ctx, const Trk::CaloCluster_OnTrack *ccot, GSFTrajectory &smoothedTrajectory) const
Methof to add the CaloCluster onto the track.
Trk::ParticleHypothesis m_particleHypothesis
Gaudi::Property< bool > m_combineWithFitter
bool stepForwardFit(const EventContext &ctx, IMultiStateExtrapolator::Cache &, GSFTrajectory &forwardTrajectory, const T *measurement, const Surface &surface, MultiComponentState &updatedState) const
Progress one step along the forward fit.
TrkParametersComparisonFunction m_trkParametersComparisonFunction
Gaudi::Property< unsigned int > m_maximumNumberOfComponents
Gaudi::Property< bool > m_reintegrateOutliers
Gaudi::Property< double > m_cutChiSquaredPerNumberDOF
ToolHandle< IRIO_OnTrackCreator > m_rioOnTrackCreator
Code for performing kalman filter update step on multi-component states for the gaussian-sum filter.