![]() |
ATLAS Offline Software
|
RPC-specific tool to calculate hit residual and pull from a RIO_OnTrack/TrackParameter pair. More...
#include <RPC_ResidualPullCalculator.h>
Public Member Functions | |
| virtual | ~RPC_ResidualPullCalculator ()=default |
| virtual StatusCode | initialize () override |
| virtual std::optional< Trk::ResidualPull > | residualPull (const Trk::MeasurementBase *measurement, const Trk::TrackParameters *trkPar, const Trk::ResidualPull::ResidualType, const Trk::TrackState::MeasurementType) const override |
| This function returns (creates!) a Trk::ResidualPull object, which contains the values of residual and pull for the given measurement and track state. | |
| virtual std::array< double, 5 > | residuals (const Trk::MeasurementBase *measurement, const Trk::TrackParameters *trkPar, const Trk::ResidualPull::ResidualType, const Trk::TrackState::MeasurementType) const override |
| This function is a light-weight version of the function above, designed for track fitters where speed is critical. | |
Static Private Member Functions | |
| static double | calcPull (const double residual, const double locMesCov, const double locTrkCov, const Trk::ResidualPull::ResidualType &) |
| internal structuring: common method to calculate the hit pull. | |
Private Attributes | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
RPC-specific tool to calculate hit residual and pull from a RIO_OnTrack/TrackParameter pair.
Uses Muon-specific info to code the strip type (measuring phi/eta) in the 2nd coordinate of the residual.
Definition at line 27 of file RPC_ResidualPullCalculator.h.
|
virtualdefault |
|
staticprivate |
internal structuring: common method to calculate the hit pull.
calc pull in 1 dimension
Definition at line 113 of file RPC_ResidualPullCalculator.cxx.
|
overridevirtual |
Definition at line 12 of file RPC_ResidualPullCalculator.cxx.
|
overridevirtual |
This function returns (creates!) a Trk::ResidualPull object, which contains the values of residual and pull for the given measurement and track state.
The track state can be an unbiased one (which can be retrieved by the Trk::IUpdator), a biased one (which contains the measurement), or a truth state. The enum ResidualType must be set according to this, otherwise the pulls will be wrong. Residuals differ in all three cases; please be aware of this!
Definition at line 52 of file RPC_ResidualPullCalculator.cxx.
|
overridevirtual |
This function is a light-weight version of the function above, designed for track fitters where speed is critical.
Definition at line 21 of file RPC_ResidualPullCalculator.cxx.
|
private |
Definition at line 62 of file RPC_ResidualPullCalculator.h.