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

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

Private Attributes

double theChi2
 
TwoBodyDecayParameters theDecayParameters
 
double thePrimaryMass
 
double thePrimaryWidth
 
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 16 of file TwoBodyDecay.h.

Member Typedef Documentation

Definition at line 21 of file TwoBodyDecay.h.

Constructor & Destructor Documentation

TwoBodyDecay::TwoBodyDecay ( void  )
inline

Definition at line 23 of file TwoBodyDecay.h.

23  :
24  theDecayParameters(), theChi2( 0. ), theValidityFlag( false ),
25  thePrimaryMass( 0. ), thePrimaryWidth( 0. ) {}
double thePrimaryMass
Definition: TwoBodyDecay.h:60
double thePrimaryWidth
Definition: TwoBodyDecay.h:61
double theChi2
Definition: TwoBodyDecay.h:58
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:57
bool theValidityFlag
Definition: TwoBodyDecay.h:59
TwoBodyDecay::TwoBodyDecay ( const TwoBodyDecayParameters param,
double  chi2,
bool  valid,
const TwoBodyDecayVirtualMeasurement vm 
)
inline

Definition at line 27 of file TwoBodyDecay.h.

28  :
double thePrimaryMass
Definition: TwoBodyDecay.h:60
double thePrimaryWidth
Definition: TwoBodyDecay.h:61
double theChi2
Definition: TwoBodyDecay.h:58
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:57
double chi2(void) const
Definition: TwoBodyDecay.h:47
bool theValidityFlag
Definition: TwoBodyDecay.h:59
TwoBodyDecay::~TwoBodyDecay ( void  )
inline

Definition at line 32 of file TwoBodyDecay.h.

32 {}

Member Function Documentation

double TwoBodyDecay::chi2 ( void  ) const
inline

Definition at line 47 of file TwoBodyDecay.h.

References theChi2.

Referenced by TwoBodyDecayTrajectoryFactory::trajectories().

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

Definition at line 37 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::covariance(), and theDecayParameters.

Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().

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

Definition at line 34 of file TwoBodyDecay.h.

References theDecayParameters.

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

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

Definition at line 45 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::hasError(), and theDecayParameters.

Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().

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

Definition at line 49 of file TwoBodyDecay.h.

References theValidityFlag.

Referenced by TwoBodyDecayTrajectoryFactory::trajectories().

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

Get specified decay parameter.

Definition at line 43 of file TwoBodyDecay.h.

References theDecayParameters.

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

Get specified decay parameter.

Definition at line 40 of file TwoBodyDecay.h.

References mergeVDriftHistosByStation::name, and theDecayParameters.

40 { return theDecayParameters[name]; }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:57
const AlgebraicVector& TwoBodyDecay::parameters ( void  ) const
inline
double TwoBodyDecay::primaryMass ( void  ) const
inline

Definition at line 52 of file TwoBodyDecay.h.

References thePrimaryMass.

52 { return thePrimaryMass; }
double thePrimaryMass
Definition: TwoBodyDecay.h:60
double TwoBodyDecay::primaryWidth ( void  ) const
inline

Definition at line 53 of file TwoBodyDecay.h.

References thePrimaryWidth.

53 { return thePrimaryWidth; }
double thePrimaryWidth
Definition: TwoBodyDecay.h:61
void TwoBodyDecay::setInvalid ( void  )
inline

Definition at line 50 of file TwoBodyDecay.h.

References theValidityFlag.

50 { theValidityFlag = false; }
bool theValidityFlag
Definition: TwoBodyDecay.h:59

Member Data Documentation

double TwoBodyDecay::theChi2
private

Definition at line 58 of file TwoBodyDecay.h.

Referenced by chi2().

TwoBodyDecayParameters TwoBodyDecay::theDecayParameters
private

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().