Skip to content
Snippets Groups Projects
Commit 77d295eb authored by Edward Moyse's avatar Edward Moyse Committed by Graeme Stewart
Browse files

IResidualPullCalculator.h: Added new interface for alignment effects on track...

IResidualPullCalculator.h: Added new interface for alignment effects on track (TrkToolInterfaces-01-03-11)

    * IResidualPullCalculator.h: Added new interface for alignment effects on track
    * Tagged as TrkToolInterfaces-01-03-11


Former-commit-id: 3e46737ea82ac47ad89e3e51562e6ceeb8745e2c
parent 1b9e000a
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ namespace Trk { ...@@ -23,6 +23,7 @@ namespace Trk {
static const InterfaceID IID_IResidualPullCalculator("IResidualPullCalculator",1,0); static const InterfaceID IID_IResidualPullCalculator("IResidualPullCalculator",1,0);
class MeasurementBase; class MeasurementBase;
class AlignmentEffectsOnTrack;
/** @class IResidualPullCalculator /** @class IResidualPullCalculator
@brief provides the interface for tools which calculate residuals and pulls. @brief provides the interface for tools which calculate residuals and pulls.
...@@ -48,6 +49,22 @@ public: ...@@ -48,6 +49,22 @@ public:
const Trk::TrackParameters*, const Trk::TrackParameters*,
const Trk::ResidualPull::ResidualType residualType, const Trk::ResidualPull::ResidualType residualType,
const TrackState::MeasurementType = TrackState::unidentified) const = 0; const TrackState::MeasurementType = TrackState::unidentified) const = 0;
/**This function returns (creates!) a Trk::ResidualPull object, which contains the values
* of residual and pull for the given measurement and track state, and the Alignment effects.
* 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 residualTyp must be set according to this, otherwise the pulls will be wrong.
* Residuals differ in all three cases; please be aware of this.
*
* This function determines the sub-detector type itself by using the ID helper*/
virtual const Trk::ResidualPull* residualPull(
const Trk::MeasurementBase* ,
const Trk::TrackParameters* ,
const Trk::ResidualPull::ResidualType ,
const Trk::TrackState::MeasurementType,
const std::vector<Trk::AlignmentEffectsOnTrack*>& ) const { return (Trk::ResidualPull*) 0; }
/** This function is a light-weight version of the function above, designed for track fitters /** This function is a light-weight version of the function above, designed for track fitters
* where speed is critical. The user has to provide a std::vector of size 5, which gets * where speed is critical. The user has to provide a std::vector of size 5, which gets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment