CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

TwoBodyDecay Class Reference

#include <TwoBodyDecay.h>

List of all members.

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.
const double operator[] (ParameterName name) const
 Get specified decay parameter.
const AlgebraicVectorparameters (void) const
const double primaryMass (void) const
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.

                       :
    theDecayParameters(), theChi2( 0. ), theValidityFlag( false ) {}
TwoBodyDecay::TwoBodyDecay ( const TwoBodyDecayParameters param,
double  chi2,
bool  valid,
const TwoBodyDecayVirtualMeasurement vm 
) [inline]

Definition at line 26 of file TwoBodyDecay.h.

TwoBodyDecay::~TwoBodyDecay ( void  ) [inline]

Definition at line 31 of file TwoBodyDecay.h.

{}

Member Function Documentation

const double TwoBodyDecay::chi2 ( void  ) const [inline]

Definition at line 46 of file TwoBodyDecay.h.

References theChi2.

Referenced by TwoBodyDecayTrajectoryFactory::trajectories().

{ return theChi2; }
const AlgebraicSymMatrix& TwoBodyDecay::covariance ( void  ) const [inline]
const TwoBodyDecayParameters& TwoBodyDecay::decayParameters ( void  ) const [inline]
const bool TwoBodyDecay::hasError ( void  ) const [inline]
const bool TwoBodyDecay::isValid ( void  ) const [inline]

Definition at line 48 of file TwoBodyDecay.h.

References theValidityFlag.

Referenced by TwoBodyDecayTrajectoryFactory::trajectories().

{ return theValidityFlag; }
const double TwoBodyDecay::operator() ( ParameterName  name) const [inline]

Get specified decay parameter.

Definition at line 42 of file TwoBodyDecay.h.

References theDecayParameters.

{ return theDecayParameters(name); }
const double TwoBodyDecay::operator[] ( ParameterName  name) const [inline]

Get specified decay parameter.

Definition at line 39 of file TwoBodyDecay.h.

References mergeVDriftHistosByStation::name, and theDecayParameters.

{ return theDecayParameters[name]; }
const AlgebraicVector& TwoBodyDecay::parameters ( void  ) const [inline]
const double TwoBodyDecay::primaryMass ( void  ) const [inline]

Definition at line 51 of file TwoBodyDecay.h.

References thePrimaryMass.

{ return thePrimaryMass; }
const double TwoBodyDecay::primaryWidth ( void  ) const [inline]

Definition at line 52 of file TwoBodyDecay.h.

References thePrimaryWidth.

{ return thePrimaryWidth; }
void TwoBodyDecay::setInvalid ( void  ) [inline]

Definition at line 49 of file TwoBodyDecay.h.

References theValidityFlag.

{ theValidityFlag = false; }

Member Data Documentation

double TwoBodyDecay::theChi2 [private]

Definition at line 57 of file TwoBodyDecay.h.

Referenced by chi2().

Definition at line 56 of file TwoBodyDecay.h.

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

double TwoBodyDecay::thePrimaryMass [private]

Definition at line 59 of file TwoBodyDecay.h.

Referenced by primaryMass().

Definition at line 60 of file TwoBodyDecay.h.

Referenced by primaryWidth().

Definition at line 58 of file TwoBodyDecay.h.

Referenced by isValid(), and setInvalid().