|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef INDET_SCT_RESIDUALPULLCALCULATOR_H
15 #define INDET_SCT_RESIDUALPULLCALCULATOR_H
70 const double locMesCov,
71 const double locTrkCov,
78 #endif //INDET_SCT_RESIDUALPULLCALCULATOR_H
provides the interface for tools which calculate residuals and pulls.
virtual std::optional< Trk::ResidualPull > residualPull(const Trk::MeasurementBase *, const Trk::TrackParameters *, const Trk::ResidualPull::ResidualType residualType, const TrackState::MeasurementType=TrackState::unidentified) const =0
This function returns a Trk::ResidualPull object, which contains the values of residual and pull for ...
SCT_ResidualPullCalculator(const std::string &type, const std::string &name, const IInterface *parent)
constructor
virtual ~SCT_ResidualPullCalculator()=default
The InDet::SCT_ResidualPullCalculator is an AlgTool to calculate the residual and pull of a measureme...
::StatusCode StatusCode
StatusCode definition for legacy code.
MeasurementType
enum describing the flavour of MeasurementBase
virtual std::optional< Trk::ResidualPull > residualPull(const Trk::MeasurementBase *measurement, const Trk::TrackParameters *trkPar, const Trk::ResidualPull::ResidualType resType, const Trk::TrackState::MeasurementType) const override
This function returns (creates!) a Trk::ResidualPull object, which contains the values of residual an...
virtual StatusCode initialize() override
initialize
static double calcPull(const double residual, const double locMesCov, const double locTrkCov, const Trk::ResidualPull::ResidualType &, bool &pullIsValid)
calc pull in 1 dimension
virtual std::array< double, 5 > residuals(const Trk::MeasurementBase *measurement, const Trk::TrackParameters *trkPar, const Trk::ResidualPull::ResidualType resType, const Trk::TrackState::MeasurementType) const override
This function is a light-weight version of the function above, designed for track fitters where speed...