5#ifndef ACTSTRACKRECONSTRUCTION_TRACKPARAMSESTIMATIONTOOL_H
6#define ACTSTRACKRECONSTRUCTION_TRACKPARAMSESTIMATIONTOOL_H
18#include "Acts/Propagator/Propagator.hpp"
19#include "Acts/Propagator/SympyStepper.hpp"
24 public extends<AthAlgTool, ActsTrk::ITrackParamsEstimationTool> {
28 const IInterface* parent);
34 std::pair<std::optional<Acts::BoundTrackParameters>, EstimationStatus>
38 const Acts::GeometryContext& geoContext,
39 const Acts::MagneticFieldContext& magFieldContext,
40 const Acts::CalibrationContext& calContext,
41 std::function<
const Acts::Surface&(
const ActsTrk::Seed& seed,
bool useTopSp)> retrieveSurface)
const override;
44 std::pair<std::optional<Acts::BoundTrackParameters>, EstimationStatus>
48 const Acts::GeometryContext& geoContext,
49 const Acts::MagneticFieldContext& magFieldContext,
50 const Acts::CalibrationContext& calContext,
51 const Acts::Surface& surface,
52 const Acts::Vector3& bField)
const override;
61 ToolHandle<ActsTrk::IFitterTool>
m_fitterTool{
this,
"FitterTool",
"",
"Fitter Tool for Seeds"};
65 Gaudi::Property< double >
m_sigmaLoc0 {
this,
"sigmaLoc0", 1 * Acts::UnitConstants::mm,
66 "Constant term of the loc0 resolution"};
67 Gaudi::Property< double >
m_sigmaLoc1 {
this,
"sigmaLoc1", 1 * Acts::UnitConstants::mm,
68 "Constant term of the loc1 resolution"};
69 Gaudi::Property< double >
m_sigmaPhi {
this,
"sigmaPhi", 0.1 * Acts::UnitConstants::degree,
70 "Phi angular resolution"};
71 Gaudi::Property< double >
m_sigmaTheta {
this,
"sigmaTheta", 0.1 * Acts::UnitConstants::degree,
72 "Theta angular resolution"};
73 Gaudi::Property< double >
m_sigmaQOverP {
this,
"sigmaQOverP", 0.1 * Acts::UnitConstants::e / Acts::UnitConstants::GeV,
75 Gaudi::Property< double >
m_sigmaT0 {
this,
"sigmaT0", 1 * Acts::UnitConstants::ns,
78 "Initial relative pT resolution"};
79 Gaudi::Property< std::vector<double> >
m_initialVarInflation {
this,
"initialVarInflation", {1., 1., 1., 1., 1., 1.},
82 "0=use 1st 3 SPs, 1=use first,middle,last SPs to improve pT measurement, 2=use for all parameters"};
84 "B-field mode: 0=B-field at first SP in search order; 1=z-component of B-field; 2=B-field at innermost SP, regardless of search direction"};
85 Gaudi::Property<std::size_t>
m_firstSp{
this,
"firstSp", 0ul,
86 "Index of first SP to use"};
88 "Use curvilinear parameters when propagation fails instead of returning null"};
90 "Number of strip calibration iterations"};
91 Gaudi::Property<bool>
m_refitSeeds{
this,
"refitSeeds",
false,
"Run KalmanFitter on seeds"};
93 std::optional<Acts::BoundTrackParameters>
doRefit(
95 const Acts::BoundTrackParameters &initialParameters,
96 const Acts::GeometryContext& geometry,
97 const Acts::MagneticFieldContext& magField,
98 const Acts::CalibrationContext& calib,
99 const bool paramsAtOutermostSurface)
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...