#include <TwoBodyDecayParameters.h>
Public Types | |
enum | { dimension = 9 } |
enum | ParameterName { x = 0, y = 1, z = 2, px = 3, py = 4, pz = 5, theta = 6, phi = 7, mass = 8 } |
Define order of parameters. More... | |
Public Member Functions | |
const AlgebraicSymMatrix & | covariance (void) const |
Get error matrix. | |
const bool | hasError (void) const |
const double | operator() (ParameterName name) const |
Get specified decay parameter. | |
const double | operator[] (ParameterName name) const |
Get specified decay parameter. | |
const AlgebraicVector & | parameters (void) const |
Get decay parameters. | |
const AlgebraicVector | sub (ParameterName first, ParameterName last) const |
Get specified range of decay parameters. | |
TwoBodyDecayParameters (void) | |
TwoBodyDecayParameters (const AlgebraicVector ¶m, const AlgebraicSymMatrix &cov) | |
TwoBodyDecayParameters (const TwoBodyDecayParameters &other) | |
TwoBodyDecayParameters (AlgebraicVector param) | |
~TwoBodyDecayParameters (void) | |
Private Attributes | |
AlgebraicSymMatrix | theCovariance |
AlgebraicVector | theParameters |
/class TwoBodyDecayParameters
This class provides the definition and a container for the parameters describing a two-body decay.
/author Edmund Widl
Definition at line 15 of file TwoBodyDecayParameters.h.
anonymous enum |
TwoBodyDecayParameters::TwoBodyDecayParameters | ( | void | ) | [inline] |
Definition at line 25 of file TwoBodyDecayParameters.h.
: theParameters( AlgebraicVector() ), theCovariance( AlgebraicSymMatrix() ) {}
TwoBodyDecayParameters::TwoBodyDecayParameters | ( | const AlgebraicVector & | param, |
const AlgebraicSymMatrix & | cov | ||
) | [inline] |
Definition at line 28 of file TwoBodyDecayParameters.h.
: theParameters( param ), theCovariance( cov ) {}
TwoBodyDecayParameters::TwoBodyDecayParameters | ( | AlgebraicVector | param | ) | [inline] |
Definition at line 31 of file TwoBodyDecayParameters.h.
: theParameters( param ), theCovariance( AlgebraicSymMatrix() ) {}
TwoBodyDecayParameters::TwoBodyDecayParameters | ( | const TwoBodyDecayParameters & | other | ) | [inline] |
Definition at line 34 of file TwoBodyDecayParameters.h.
: theParameters( other.parameters() ), theCovariance( other.covariance() ) {}
TwoBodyDecayParameters::~TwoBodyDecayParameters | ( | void | ) | [inline] |
Definition at line 37 of file TwoBodyDecayParameters.h.
{}
const AlgebraicSymMatrix& TwoBodyDecayParameters::covariance | ( | void | ) | const [inline] |
Get error matrix.
Definition at line 43 of file TwoBodyDecayParameters.h.
References theCovariance.
Referenced by TwoBodyDecayTrajectory::construct(), TwoBodyDecay::covariance(), and TwoBodyDecayTrajectoryState::setError().
{ return theCovariance; }
const bool TwoBodyDecayParameters::hasError | ( | void | ) | const [inline] |
Definition at line 54 of file TwoBodyDecayParameters.h.
References theCovariance.
Referenced by TwoBodyDecay::hasError().
{ return ( theCovariance.num_row() != 0 ); }
const double TwoBodyDecayParameters::operator() | ( | ParameterName | name | ) | const [inline] |
Get specified decay parameter.
Definition at line 49 of file TwoBodyDecayParameters.h.
References mergeVDriftHistosByStation::name, and theParameters.
{ return theParameters[name]; }
const double TwoBodyDecayParameters::operator[] | ( | ParameterName | name | ) | const [inline] |
Get specified decay parameter.
Definition at line 46 of file TwoBodyDecayParameters.h.
References mergeVDriftHistosByStation::name, and theParameters.
{ return theParameters[name]; }
const AlgebraicVector& TwoBodyDecayParameters::parameters | ( | void | ) | const [inline] |
Get decay parameters.
Definition at line 40 of file TwoBodyDecayParameters.h.
References theParameters.
Referenced by TwoBodyDecayModel::cartesianSecondaryMomenta(), TwoBodyDecayTrajectory::construct(), TwoBodyDecayEstimator::constructMatrices(), and TwoBodyDecay::parameters().
{ return theParameters; }
const AlgebraicVector TwoBodyDecayParameters::sub | ( | ParameterName | first, |
ParameterName | last | ||
) | const [inline] |
Get specified range of decay parameters.
Definition at line 52 of file TwoBodyDecayParameters.h.
References theParameters.
Referenced by TwoBodyDecayEstimator::constructMatrices().
{ return theParameters.sub( first+1, last+1 ); }
Definition at line 59 of file TwoBodyDecayParameters.h.
Referenced by covariance(), and hasError().
Definition at line 58 of file TwoBodyDecayParameters.h.
Referenced by operator()(), operator[](), parameters(), and sub().