5#ifndef ACTSTRACKRECONSTRUCTION_TRACKPARAMSESTIMATIONTOOL_H
6#define ACTSTRACKRECONSTRUCTION_TRACKPARAMSESTIMATIONTOOL_H
18#include "Acts/Propagator/Propagator.hpp"
19#include "Acts/Propagator/SympyStepper.hpp"
30 public extends<AthAlgTool, ActsTrk::ITrackParamsEstimationTool> {
34 const IInterface* parent);
40 std::pair<std::optional<Acts::BoundTrackParameters>, EstimationStatus>
43 const Acts::GeometryContext& geoContext,
44 const Acts::MagneticFieldContext& magFieldContext,
45 const Acts::CalibrationContext& calContext,
46 std::function<
const Acts::Surface&(
const ActsTrk::Seed& seed)> retrieveSurface)
const override;
49 std::pair<std::optional<Acts::BoundTrackParameters>, EstimationStatus>
52 const Acts::GeometryContext& geoContext,
53 const Acts::MagneticFieldContext& magFieldContext,
54 const Acts::CalibrationContext& calContext,
55 const Acts::Surface& surface,
56 const Acts::Vector3& bField)
const override;
63 ToolHandle<ActsTrk::IFitterTool>
m_fitterTool{
this,
"FitterTool",
"",
"Fitter Tool for Seeds"};
67 Gaudi::Property< double >
m_sigmaLoc0 {
this,
"sigmaLoc0", 1 * Acts::UnitConstants::mm,
68 "Constant term of the loc0 resolution"};
69 Gaudi::Property< double >
m_sigmaLoc1 {
this,
"sigmaLoc1", 1 * Acts::UnitConstants::mm,
70 "Constant term of the loc1 resolution"};
71 Gaudi::Property< double >
m_sigmaPhi {
this,
"sigmaPhi", 0.1 * Acts::UnitConstants::degree,
72 "Phi angular resolution"};
73 Gaudi::Property< double >
m_sigmaTheta {
this,
"sigmaTheta", 0.1 * Acts::UnitConstants::degree,
74 "Theta angular resolution"};
75 Gaudi::Property< double >
m_sigmaQOverP {
this,
"sigmaQOverP", 0.1 * Acts::UnitConstants::e / Acts::UnitConstants::GeV,
77 Gaudi::Property< double >
m_sigmaT0 {
this,
"sigmaT0", 1 * Acts::UnitConstants::ns,
80 "Initial relative pT resolution"};
81 Gaudi::Property< std::vector<double> >
m_initialVarInflation {
this,
"initialVarInflation", {1., 1., 1., 1., 1., 1.},
82 "Inflate track variances"};
84 "0=use 1st 3 SPs, 1=use first,middle,last SPs to improve pT measurement, 2=use for all parameters, "
85 "3=use 1st 3 SPs separated by more than minDeltaR, starting from the innermost SP, "
88 "B-field mode: 0=B-field at the innermost SP; 1=z-component of B-field at the innermost SP"};
89 Gaudi::Property<std::size_t>
m_firstSp{
this,
"firstSp", 0ul,
90 "Index of first SP to use"};
91 Gaudi::Property<double>
m_minDeltaR{
this,
"minDeltaR", 15 * Acts::UnitConstants::mm,
92 "Minimum difference in distance from the origin between the SPs used for the estimate (parameterEstimationMode=3)"};
94 "Use curvilinear parameters when propagation fails instead of returning null"};
96 "Number of strip calibration iterations"};
98 "Number of geometric refinement iterations of the circle fit (parameterEstimationMode=4)"};
100 "Weight each SP in the fit by 1/r^exponent, where 0 gives uniform weights (parameterEstimationMode=4)"};
101 Gaudi::Property<bool>
m_refitSeeds{
this,
"refitSeeds",
false,
"Run KalmanFitter on seeds"};
103 std::optional<Acts::BoundTrackParameters>
doRefit(
105 const Acts::BoundTrackParameters &initialParameters,
106 const Acts::GeometryContext& geometry,
107 const Acts::MagneticFieldContext& magField,
108 const Acts::CalibrationContext& calib)
const;
Helper class to access the Acts::surface associated with an Uncalibrated xAOD measurement.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...