CMS 3D CMS Logo

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

Member Typedef Documentation

◆ ParameterName

Definition at line 17 of file TwoBodyDecay.h.

Constructor & Destructor Documentation

◆ TwoBodyDecay() [1/2]

TwoBodyDecay::TwoBodyDecay ( void  )
inline

Definition at line 19 of file TwoBodyDecay.h.

double thePrimaryMass
Definition: TwoBodyDecay.h:56
double thePrimaryWidth
Definition: TwoBodyDecay.h:57
double theChi2
Definition: TwoBodyDecay.h:54
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53
bool theValidityFlag
Definition: TwoBodyDecay.h:55

◆ TwoBodyDecay() [2/2]

TwoBodyDecay::TwoBodyDecay ( const TwoBodyDecayParameters param,
double  chi2,
bool  valid,
const TwoBodyDecayVirtualMeasurement vm 
)
inline

Definition at line 22 of file TwoBodyDecay.h.

23  : theDecayParameters(param),
24  theChi2(chi2),
double thePrimaryMass
Definition: TwoBodyDecay.h:56
double thePrimaryWidth
Definition: TwoBodyDecay.h:57
double theChi2
Definition: TwoBodyDecay.h:54
double chi2(void) const
Definition: TwoBodyDecay.h:44
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53
bool theValidityFlag
Definition: TwoBodyDecay.h:55

◆ ~TwoBodyDecay()

TwoBodyDecay::~TwoBodyDecay ( void  )
inline

Definition at line 29 of file TwoBodyDecay.h.

29 {}

Member Function Documentation

◆ chi2()

double TwoBodyDecay::chi2 ( void  ) const
inline

◆ covariance()

const AlgebraicSymMatrix& TwoBodyDecay::covariance ( void  ) const
inline

Definition at line 34 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::covariance(), and theDecayParameters.

Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().

34 { return theDecayParameters.covariance(); }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53
const AlgebraicSymMatrix & covariance(void) const
Get error matrix.

◆ decayParameters()

const TwoBodyDecayParameters& TwoBodyDecay::decayParameters ( void  ) const
inline

Definition at line 31 of file TwoBodyDecay.h.

References theDecayParameters.

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

31 { return theDecayParameters; }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53

◆ hasError()

bool TwoBodyDecay::hasError ( void  ) const
inline

Definition at line 42 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::hasError(), and theDecayParameters.

Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().

42 { return theDecayParameters.hasError(); }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53

◆ isValid()

bool TwoBodyDecay::isValid ( void  ) const
inline

◆ operator()()

double TwoBodyDecay::operator() ( ParameterName  name) const
inline

Get specified decay parameter.

Definition at line 40 of file TwoBodyDecay.h.

References Skims_PA_cff::name, and theDecayParameters.

40 { return theDecayParameters(name); }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53

◆ operator[]()

double TwoBodyDecay::operator[] ( ParameterName  name) const
inline

Get specified decay parameter.

Definition at line 37 of file TwoBodyDecay.h.

References Skims_PA_cff::name, and theDecayParameters.

37 { return theDecayParameters[name]; }
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53

◆ parameters()

const AlgebraicVector& TwoBodyDecay::parameters ( void  ) const
inline

Definition at line 33 of file TwoBodyDecay.h.

References TwoBodyDecayParameters::parameters(), and theDecayParameters.

Referenced by TwoBodyDecayModel::cartesianSecondaryMomenta().

33 { return theDecayParameters.parameters(); }
const AlgebraicVector & parameters(void) const
Get decay parameters.
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53

◆ primaryMass()

double TwoBodyDecay::primaryMass ( void  ) const
inline

Definition at line 49 of file TwoBodyDecay.h.

References thePrimaryMass.

49 { return thePrimaryMass; }
double thePrimaryMass
Definition: TwoBodyDecay.h:56

◆ primaryWidth()

double TwoBodyDecay::primaryWidth ( void  ) const
inline

Definition at line 50 of file TwoBodyDecay.h.

References thePrimaryWidth.

50 { return thePrimaryWidth; }
double thePrimaryWidth
Definition: TwoBodyDecay.h:57

◆ setInvalid()

void TwoBodyDecay::setInvalid ( void  )
inline

Definition at line 47 of file TwoBodyDecay.h.

References theValidityFlag.

47 { theValidityFlag = false; }
bool theValidityFlag
Definition: TwoBodyDecay.h:55

Member Data Documentation

◆ theChi2

double TwoBodyDecay::theChi2
private

Definition at line 54 of file TwoBodyDecay.h.

Referenced by chi2().

◆ theDecayParameters

TwoBodyDecayParameters TwoBodyDecay::theDecayParameters
private

Definition at line 53 of file TwoBodyDecay.h.

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

◆ thePrimaryMass

double TwoBodyDecay::thePrimaryMass
private

Definition at line 56 of file TwoBodyDecay.h.

Referenced by primaryMass().

◆ thePrimaryWidth

double TwoBodyDecay::thePrimaryWidth
private

Definition at line 57 of file TwoBodyDecay.h.

Referenced by primaryWidth().

◆ theValidityFlag

bool TwoBodyDecay::theValidityFlag
private

Definition at line 55 of file TwoBodyDecay.h.

Referenced by isValid(), and setInvalid().