ATLAS Offline Software
|
This class containes residual and pull information. More...
#include <ResidualPull.h>
Public Types | |
enum | ResidualType { McTruth = 0, Biased = 1, HitOnly = 2, Unbiased = 3, NumberOfResidualTypes = 4 } |
Public Member Functions | |
ResidualPull ()=default | |
default constructor More... | |
ResidualPull (std::vector< double > residual, std::vector< double > pull, bool pullValid, ResidualType residualType, int parameterKey, double sineStripAngle=0.0) | |
explicit constructor More... | |
const std::vector< double > & | residual () const |
return residual vector More... | |
const std::vector< double > & | pull () const |
return pull vector More... | |
bool | isPullValid () const |
returns false if the pull was calculated without a valid covariance matrix for the track parameters, this means the pull is not valid! More... | |
int | parameterKey () const |
return the parameter key of the Trk::LocalParameters (of the measurement) used for the calculation More... | |
int | dimension () const |
return the dimension of the residual and pull More... | |
ResidualType | residualType () const |
returns residual type (truth/biased/unbiased etc) More... | |
double | sineStripAngle () const |
returns strip angle wrt. More... | |
Protected Attributes | |
std::vector< double > | m_residual {} |
std::vector< double > | m_pull {} |
bool | m_pullValid = false |
ResidualType | m_residualType = Trk::ResidualPull::Biased |
int | m_parameterKey = 0 |
double | m_sineStripAngle = 0.0 |
This class containes residual and pull information.
Beside the values of the residual and pull the parameterKey belonging to the measurement and information about the residual type are stored in this class. One should distinguish (at least) four types of residuals:
The ResidualType enum reflects the above distinction.
Definition at line 45 of file ResidualPull.h.
Definition at line 52 of file ResidualPull.h.
|
default |
default constructor
Trk::ResidualPull::ResidualPull | ( | std::vector< double > | residual, |
std::vector< double > | pull, | ||
bool | pullValid, | ||
ResidualType | residualType, | ||
int | parameterKey, | ||
double | sineStripAngle = 0.0 |
||
) |
explicit constructor
int Trk::ResidualPull::dimension | ( | ) | const |
return the dimension of the residual and pull
bool Trk::ResidualPull::isPullValid | ( | ) | const |
returns false if the pull was calculated without a valid covariance matrix for the track parameters, this means the pull is not valid!
int Trk::ResidualPull::parameterKey | ( | ) | const |
return the parameter key of the Trk::LocalParameters (of the measurement) used for the calculation
const std::vector<double>& Trk::ResidualPull::pull | ( | ) | const |
return pull vector
const std::vector<double>& Trk::ResidualPull::residual | ( | ) | const |
return residual vector
ResidualType Trk::ResidualPull::residualType | ( | ) | const |
returns residual type (truth/biased/unbiased etc)
double Trk::ResidualPull::sineStripAngle | ( | ) | const |
returns strip angle wrt.
local frame for fan-shaped strip sensors, 0.0 for others
|
protected |
Definition at line 108 of file ResidualPull.h.
|
protected |
Definition at line 105 of file ResidualPull.h.
|
protected |
Definition at line 106 of file ResidualPull.h.
|
protected |
Definition at line 104 of file ResidualPull.h.
|
protected |
Definition at line 107 of file ResidualPull.h.
|
protected |
Definition at line 109 of file ResidualPull.h.