#include <TrackParamsEstimationTool.h>
|
| TrackParamsEstimationTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~TrackParamsEstimationTool ()=default |
|
virtual StatusCode | initialize () override |
|
virtual std::optional< Acts::BoundTrackParameters > | estimateTrackParameters (const EventContext &ctx, const ActsTrk::Seed &seed, const Acts::GeometryContext &geoContext, const Acts::MagneticFieldContext &magFieldContext, std::function< const Acts::Surface &(const ActsTrk::Seed &)> retrieveSurface) const override |
|
virtual std::optional< Acts::BoundTrackParameters > | estimateTrackParameters (const EventContext &ctx, const ActsTrk::Seed &seed, const Acts::GeometryContext &geoContext, const Acts::Surface &surface, const Acts::BoundSquareMatrix &covariance, const Acts::Vector3 &bField, double bFieldMin) const override |
|
Definition at line 14 of file TrackParamsEstimationTool.h.
◆ TrackParamsEstimationTool()
ActsTrk::TrackParamsEstimationTool::TrackParamsEstimationTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TrackParamsEstimationTool()
virtual ActsTrk::TrackParamsEstimationTool::~TrackParamsEstimationTool |
( |
| ) |
|
|
virtualdefault |
◆ estimateTrackParameters() [1/2]
std::optional< Acts::BoundTrackParameters > ActsTrk::TrackParamsEstimationTool::estimateTrackParameters |
( |
const EventContext & |
ctx, |
|
|
const ActsTrk::Seed & |
seed, |
|
|
const Acts::GeometryContext & |
geoContext, |
|
|
const Acts::MagneticFieldContext & |
magFieldContext, |
|
|
std::function< const Acts::Surface &(const ActsTrk::Seed &)> |
retrieveSurface |
|
) |
| const |
|
overridevirtual |
Definition at line 47 of file TrackParamsEstimationTool.cxx.
53 const auto& sp_collection =
seed.sp();
54 if ( sp_collection.size() < 3 )
return std::nullopt;
55 const auto& bottom_sp = sp_collection.front();
59 Acts::MagneticFieldProvider::Cache magFieldCache = magneticField.
makeCache( magFieldContext );
60 Acts::Vector3 bField = *magneticField.
getField( Acts::Vector3(bottom_sp->x(), bottom_sp->y(), bottom_sp->z()),
64 const Acts::Surface& surface = retrieveSurface(seed);
◆ estimateTrackParameters() [2/2]
std::optional< Acts::BoundTrackParameters > ActsTrk::TrackParamsEstimationTool::estimateTrackParameters |
( |
const EventContext & |
ctx, |
|
|
const ActsTrk::Seed & |
seed, |
|
|
const Acts::GeometryContext & |
geoContext, |
|
|
const Acts::Surface & |
surface, |
|
|
const Acts::BoundSquareMatrix & |
covariance, |
|
|
const Acts::Vector3 & |
bField, |
|
|
double |
bFieldMin |
|
) |
| const |
|
overridevirtual |
Definition at line 76 of file TrackParamsEstimationTool.cxx.
85 const auto& sp_collection =
seed.sp();
86 if ( sp_collection.size() < 3 )
return std::nullopt;
89 std::optional<Acts::BoundVector> params_opt =
90 Acts::estimateTrackParamsFromSeed(geoContext,
91 sp_collection.begin(),
97 if ( not params_opt.has_value() )
100 const auto&
params = params_opt.value();
103 return Acts::BoundTrackParameters(surface.getSharedPtr(),
◆ initialize()
StatusCode ActsTrk::TrackParamsEstimationTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_bFieldMin
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_bFieldMin |
|
private |
Initial value:
"The minimum magnetic field to trigger the track parameters estimation"}
Definition at line 48 of file TrackParamsEstimationTool.h.
◆ m_covariance
Acts::BoundSquareMatrix ActsTrk::TrackParamsEstimationTool::m_covariance = Acts::BoundSquareMatrix::Zero() |
|
private |
The track parameters covariance (assumed to be the same for all estimated track parameters for the moment)
Definition at line 67 of file TrackParamsEstimationTool.h.
◆ m_initialVarInflation
Gaudi::Property< std::vector<double> > ActsTrk::TrackParamsEstimationTool::m_initialVarInflation |
|
private |
Initial value:{this, "initialVarInflation", {1., 1., 1., 1., 1., 1.},
"Inflate tracks"}
Definition at line 62 of file TrackParamsEstimationTool.h.
◆ m_sigmaLoc0
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_sigmaLoc0 |
|
private |
Initial value:{this, "sigmaLoc0", 25 * Acts::UnitConstants::um,
"Constant term of the loc0 resolution"}
Definition at line 50 of file TrackParamsEstimationTool.h.
◆ m_sigmaLoc1
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_sigmaLoc1 |
|
private |
Initial value:{this, "sigmaLoc1", 100 * Acts::UnitConstants::um,
"Constant term of the loc1 resolution"}
Definition at line 52 of file TrackParamsEstimationTool.h.
◆ m_sigmaPhi
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_sigmaPhi |
|
private |
◆ m_sigmaQOverP
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_sigmaQOverP |
|
private |
◆ m_sigmaT0
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_sigmaT0 |
|
private |
◆ m_sigmaTheta
Gaudi::Property< double > ActsTrk::TrackParamsEstimationTool::m_sigmaTheta |
|
private |
The documentation for this class was generated from the following files: