CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
TwoBodyDecay Class Reference

#include <TwoBodyDecay.h>

Public Types

typedef
TwoBodyDecayParameters::ParameterName 
ParameterName
 

Public Member Functions

const double chi2 (void) const
 
const AlgebraicSymMatrixcovariance (void) const
 
const TwoBodyDecayParametersdecayParameters (void) const
 
const bool hasError (void) const
 
const bool isValid (void) const
 
const double operator() (ParameterName name) const
 Get specified decay parameter. More...
 
const double operator[] (ParameterName name) const
 Get specified decay parameter. More...
 
const AlgebraicVectorparameters (void) const
 
void setInvalid (void)
 
 TwoBodyDecay (void)
 
 TwoBodyDecay (TwoBodyDecayParameters param, double chi2, bool valid)
 
 ~TwoBodyDecay (void)
 

Private Attributes

double theChi2
 
TwoBodyDecayParameters theDecayParameters
 
bool theValidityFlag
 

Detailed Description

/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 15 of file TwoBodyDecay.h.

Member Typedef Documentation

Definition at line 20 of file TwoBodyDecay.h.

Constructor & Destructor Documentation

TwoBodyDecay::TwoBodyDecay ( void  )
inline

Definition at line 22 of file TwoBodyDecay.h.

22  :
23  theDecayParameters(), theChi2( 0. ), theValidityFlag( false ) {}
double theChi2
Definition: TwoBodyDecay.h:51
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
bool theValidityFlag
Definition: TwoBodyDecay.h:52
TwoBodyDecay::TwoBodyDecay ( TwoBodyDecayParameters  param,
double  chi2,
bool  valid 
)
inline

Definition at line 25 of file TwoBodyDecay.h.

25  :
double theChi2
Definition: TwoBodyDecay.h:51
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
const double chi2(void) const
Definition: TwoBodyDecay.h:43
bool theValidityFlag
Definition: TwoBodyDecay.h:52
TwoBodyDecay::~TwoBodyDecay ( void  )
inline

Definition at line 28 of file TwoBodyDecay.h.

28 {}

Member Function Documentation

const double TwoBodyDecay::chi2 ( void  ) const
inline

Definition at line 43 of file TwoBodyDecay.h.

References theChi2.

43 { return theChi2; }
double theChi2
Definition: TwoBodyDecay.h:51
const AlgebraicSymMatrix& TwoBodyDecay::covariance ( void  ) const
inline

Definition at line 33 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::covariance(), and theDecayParameters.

Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().

33 { return theDecayParameters.covariance(); }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
const AlgebraicSymMatrix & covariance(void) const
Get error matrix.
const TwoBodyDecayParameters& TwoBodyDecay::decayParameters ( void  ) const
inline

Definition at line 30 of file TwoBodyDecay.h.

References theDecayParameters.

Referenced by TwoBodyDecayDerivatives::derivatives(), and TwoBodyDecayDerivatives::selectedDerivatives().

30 { return theDecayParameters; }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
const bool TwoBodyDecay::hasError ( void  ) const
inline

Definition at line 41 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::hasError(), and theDecayParameters.

Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().

41 { return theDecayParameters.hasError(); }
const bool hasError(void) const
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
const bool TwoBodyDecay::isValid ( void  ) const
inline

Definition at line 45 of file TwoBodyDecay.h.

References theValidityFlag.

Referenced by TwoBodyDecayTrajectoryFactory::trajectories().

45 { return theValidityFlag; }
bool theValidityFlag
Definition: TwoBodyDecay.h:52
const double TwoBodyDecay::operator() ( ParameterName  name) const
inline

Get specified decay parameter.

Definition at line 39 of file TwoBodyDecay.h.

References theDecayParameters.

39 { return theDecayParameters(name); }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
const double TwoBodyDecay::operator[] ( ParameterName  name) const
inline

Get specified decay parameter.

Definition at line 36 of file TwoBodyDecay.h.

References mergeVDriftHistosByStation::name, and theDecayParameters.

36 { return theDecayParameters[name]; }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:50
const AlgebraicVector& TwoBodyDecay::parameters ( void  ) const
inline
void TwoBodyDecay::setInvalid ( void  )
inline

Definition at line 46 of file TwoBodyDecay.h.

References theValidityFlag.

46 { theValidityFlag = false; }
bool theValidityFlag
Definition: TwoBodyDecay.h:52

Member Data Documentation

double TwoBodyDecay::theChi2
private

Definition at line 51 of file TwoBodyDecay.h.

Referenced by chi2().

TwoBodyDecayParameters TwoBodyDecay::theDecayParameters
private

Definition at line 50 of file TwoBodyDecay.h.

Referenced by covariance(), decayParameters(), hasError(), operator()(), operator[](), and parameters().

bool TwoBodyDecay::theValidityFlag
private

Definition at line 52 of file TwoBodyDecay.h.

Referenced by isValid(), and setInvalid().