#include <TwoBodyDecay.h>
Public Types | |
typedef TwoBodyDecayParameters::ParameterName | ParameterName |
Public Member Functions | |
double | chi2 (void) const |
const AlgebraicSymMatrix & | covariance (void) const |
const TwoBodyDecayParameters & | decayParameters (void) const |
bool | hasError (void) const |
bool | isValid (void) const |
double | operator() (ParameterName name) const |
Get specified decay parameter. | |
double | operator[] (ParameterName name) const |
Get specified decay parameter. | |
const AlgebraicVector & | parameters (void) const |
double | primaryMass (void) const |
double | primaryWidth (void) const |
void | setInvalid (void) |
TwoBodyDecay (void) | |
TwoBodyDecay (const TwoBodyDecayParameters ¶m, double chi2, bool valid, const TwoBodyDecayVirtualMeasurement &vm) | |
~TwoBodyDecay (void) | |
Private Attributes | |
double | theChi2 |
TwoBodyDecayParameters | theDecayParameters |
double | thePrimaryMass |
double | thePrimaryWidth |
bool | theValidityFlag |
/class TwoBodyDecay
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 16 of file TwoBodyDecay.h.
Definition at line 21 of file TwoBodyDecay.h.
TwoBodyDecay::TwoBodyDecay | ( | void | ) | [inline] |
Definition at line 23 of file TwoBodyDecay.h.
: theDecayParameters(), theChi2( 0. ), theValidityFlag( false ), thePrimaryMass( 0. ), thePrimaryWidth( 0. ) {}
TwoBodyDecay::TwoBodyDecay | ( | const TwoBodyDecayParameters & | param, |
double | chi2, | ||
bool | valid, | ||
const TwoBodyDecayVirtualMeasurement & | vm | ||
) | [inline] |
Definition at line 27 of file TwoBodyDecay.h.
: theDecayParameters( param ), theChi2( chi2 ), theValidityFlag( valid ), thePrimaryMass( vm.primaryMass() ), thePrimaryWidth( vm.primaryWidth() ) {}
TwoBodyDecay::~TwoBodyDecay | ( | void | ) | [inline] |
Definition at line 32 of file TwoBodyDecay.h.
{}
double TwoBodyDecay::chi2 | ( | void | ) | const [inline] |
Definition at line 47 of file TwoBodyDecay.h.
References theChi2.
Referenced by TwoBodyDecayTrajectoryFactory::trajectories().
{ return theChi2; }
const AlgebraicSymMatrix& TwoBodyDecay::covariance | ( | void | ) | const [inline] |
Definition at line 37 of file TwoBodyDecay.h.
References TwoBodyDecayParameters::covariance(), and theDecayParameters.
Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().
{ return theDecayParameters.covariance(); }
const TwoBodyDecayParameters& TwoBodyDecay::decayParameters | ( | void | ) | const [inline] |
Definition at line 34 of file TwoBodyDecay.h.
References theDecayParameters.
Referenced by TwoBodyDecayDerivatives::derivatives(), and TwoBodyDecayDerivatives::selectedDerivatives().
{ return theDecayParameters; }
bool TwoBodyDecay::hasError | ( | void | ) | const [inline] |
Definition at line 45 of file TwoBodyDecay.h.
References TwoBodyDecayParameters::hasError(), and theDecayParameters.
Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().
{ return theDecayParameters.hasError(); }
bool TwoBodyDecay::isValid | ( | void | ) | const [inline] |
Definition at line 49 of file TwoBodyDecay.h.
References theValidityFlag.
Referenced by TwoBodyDecayTrajectoryFactory::trajectories().
{ return theValidityFlag; }
double TwoBodyDecay::operator() | ( | ParameterName | name | ) | const [inline] |
Get specified decay parameter.
Definition at line 43 of file TwoBodyDecay.h.
References theDecayParameters.
{ return theDecayParameters(name); }
double TwoBodyDecay::operator[] | ( | ParameterName | name | ) | const [inline] |
Get specified decay parameter.
Definition at line 40 of file TwoBodyDecay.h.
References mergeVDriftHistosByStation::name, and theDecayParameters.
{ return theDecayParameters[name]; }
const AlgebraicVector& TwoBodyDecay::parameters | ( | void | ) | const [inline] |
Definition at line 36 of file TwoBodyDecay.h.
References TwoBodyDecayParameters::parameters(), and theDecayParameters.
Referenced by TwoBodyDecayModel::cartesianSecondaryMomenta().
{ return theDecayParameters.parameters(); }
double TwoBodyDecay::primaryMass | ( | void | ) | const [inline] |
double TwoBodyDecay::primaryWidth | ( | void | ) | const [inline] |
Definition at line 53 of file TwoBodyDecay.h.
References thePrimaryWidth.
{ return thePrimaryWidth; }
void TwoBodyDecay::setInvalid | ( | void | ) | [inline] |
Definition at line 50 of file TwoBodyDecay.h.
References theValidityFlag.
{ theValidityFlag = false; }
double TwoBodyDecay::theChi2 [private] |
Definition at line 58 of file TwoBodyDecay.h.
Referenced by chi2().
Definition at line 57 of file TwoBodyDecay.h.
Referenced by covariance(), decayParameters(), hasError(), operator()(), operator[](), and parameters().
double TwoBodyDecay::thePrimaryMass [private] |
Definition at line 60 of file TwoBodyDecay.h.
Referenced by primaryMass().
double TwoBodyDecay::thePrimaryWidth [private] |
Definition at line 61 of file TwoBodyDecay.h.
Referenced by primaryWidth().
bool TwoBodyDecay::theValidityFlag [private] |
Definition at line 59 of file TwoBodyDecay.h.
Referenced by isValid(), and setInvalid().