#include <Alignment/TwoBodyDecay/interface/TwoBodyDecay.h>
Public Types | |
typedef TwoBodyDecayParameters::ParameterName | ParameterName |
Public Member Functions | |
const double | chi2 (void) const |
const AlgebraicSymMatrix & | covariance (void) const |
const TwoBodyDecayParameters & | decayParameters (void) const |
const bool | hasError (void) const |
const bool | isValid (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 |
void | setInvalid (void) |
TwoBodyDecay (TwoBodyDecayParameters param, double chi2, bool valid) | |
TwoBodyDecay (void) | |
~TwoBodyDecay (void) | |
Private Attributes | |
double | theChi2 |
TwoBodyDecayParameters | theDecayParameters |
bool | theValidityFlag |
Container-class for all information associated with a two-body decay (estimated parameters, chi2 of the fit, validity-flag).
/author Edmund Widl
Definition at line 15 of file TwoBodyDecay.h.
Definition at line 20 of file TwoBodyDecay.h.
TwoBodyDecay::TwoBodyDecay | ( | void | ) | [inline] |
Definition at line 22 of file TwoBodyDecay.h.
00022 : 00023 theDecayParameters(), theChi2( 0. ), theValidityFlag( false ) {}
TwoBodyDecay::TwoBodyDecay | ( | TwoBodyDecayParameters | param, | |
double | chi2, | |||
bool | valid | |||
) | [inline] |
Definition at line 25 of file TwoBodyDecay.h.
00025 : 00026 theDecayParameters( param ), theChi2( chi2 ), theValidityFlag( valid ) {}
TwoBodyDecay::~TwoBodyDecay | ( | void | ) | [inline] |
const double TwoBodyDecay::chi2 | ( | void | ) | const [inline] |
const AlgebraicSymMatrix& TwoBodyDecay::covariance | ( | void | ) | const [inline] |
Definition at line 33 of file TwoBodyDecay.h.
References TwoBodyDecayParameters::covariance(), and theDecayParameters.
Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().
00033 { return theDecayParameters.covariance(); }
const TwoBodyDecayParameters& TwoBodyDecay::decayParameters | ( | void | ) | const [inline] |
Definition at line 30 of file TwoBodyDecay.h.
References theDecayParameters.
Referenced by TwoBodyDecayDerivatives::derivatives().
00030 { return theDecayParameters; }
Definition at line 41 of file TwoBodyDecay.h.
References TwoBodyDecayParameters::hasError(), and theDecayParameters.
Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().
00041 { return theDecayParameters.hasError(); }
Definition at line 45 of file TwoBodyDecay.h.
References theValidityFlag.
Referenced by TwoBodyDecayTrajectoryFactory::trajectories().
00045 { return theValidityFlag; }
const double TwoBodyDecay::operator() | ( | ParameterName | name | ) | const [inline] |
Get specified decay parameter.
Definition at line 39 of file TwoBodyDecay.h.
References theDecayParameters.
00039 { return theDecayParameters(name); }
const double TwoBodyDecay::operator[] | ( | ParameterName | name | ) | const [inline] |
Get specified decay parameter.
Definition at line 36 of file TwoBodyDecay.h.
References theDecayParameters.
00036 { return theDecayParameters[name]; }
const AlgebraicVector& TwoBodyDecay::parameters | ( | void | ) | const [inline] |
Definition at line 32 of file TwoBodyDecay.h.
References TwoBodyDecayParameters::parameters(), and theDecayParameters.
Referenced by TwoBodyDecayModel::cartesianSecondaryMomenta().
00032 { return theDecayParameters.parameters(); }
Definition at line 46 of file TwoBodyDecay.h.
References theValidityFlag.
00046 { theValidityFlag = false; }
double TwoBodyDecay::theChi2 [private] |
Definition at line 50 of file TwoBodyDecay.h.
Referenced by covariance(), decayParameters(), hasError(), operator()(), operator[](), and parameters().
bool TwoBodyDecay::theValidityFlag [private] |