![]() |
ATLAS Offline Software
|
TGC-specific tool to calculate hit residual and pull from a RIO_OnTrack/TrackParameter pair. More...
#include <TGC_ResidualPullCalculator.h>
Public Member Functions | |
| virtual | ~TGC_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. | |
Private Member Functions | |
| double | calcPull (const double residual, const double locMesCov, const double locTrkCov, const Trk::ResidualPull::ResidualType &) const |
| internal structuring: common code for calculating hit pulls | |
Private Attributes | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
TGC-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 and to un-do the rotation from strip to chamber system. That is, the residual and pull is calculated in the direction perpendicular to the strip allowing e.g. a validation of the strip errors.
Definition at line 31 of file TGC_ResidualPullCalculator.h.
|
virtualdefault |
|
private |
internal structuring: common code for calculating hit pulls
calc pull in 1 dimension
Definition at line 215 of file TGC_ResidualPullCalculator.cxx.
|
overridevirtual |
Definition at line 14 of file TGC_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 90 of file TGC_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 23 of file TGC_ResidualPullCalculator.cxx.
|
private |
Definition at line 67 of file TGC_ResidualPullCalculator.h.