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 (const TwoBodyDecayParameters &param, double chi2, bool valid, const TwoBodyDecayVirtualMeasurement &vm)
 
 TwoBodyDecay (void)
 
 ~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.

◆ TwoBodyDecay() [2/2]

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

Definition at line 22 of file TwoBodyDecay.h.

◆ ~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

◆ decayParameters()

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

◆ hasError()

bool TwoBodyDecay::hasError ( void  ) const
inline

◆ 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.

40 { return theDecayParameters(name); }

References Skims_PA_cff::name, and theDecayParameters.

◆ operator[]()

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

Get specified decay parameter.

Definition at line 37 of file TwoBodyDecay.h.

37 { return theDecayParameters[name]; }

References Skims_PA_cff::name, and theDecayParameters.

◆ parameters()

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

◆ primaryMass()

double TwoBodyDecay::primaryMass ( void  ) const
inline

Definition at line 49 of file TwoBodyDecay.h.

49 { return thePrimaryMass; }

References thePrimaryMass.

◆ primaryWidth()

double TwoBodyDecay::primaryWidth ( void  ) const
inline

Definition at line 50 of file TwoBodyDecay.h.

50 { return thePrimaryWidth; }

References thePrimaryWidth.

◆ setInvalid()

void TwoBodyDecay::setInvalid ( void  )
inline

Definition at line 47 of file TwoBodyDecay.h.

47 { theValidityFlag = false; }

References theValidityFlag.

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

TwoBodyDecay::thePrimaryWidth
double thePrimaryWidth
Definition: TwoBodyDecay.h:57
TwoBodyDecay::theValidityFlag
bool theValidityFlag
Definition: TwoBodyDecay.h:55
TwoBodyDecayParameters::parameters
const AlgebraicVector & parameters(void) const
Get decay parameters.
Definition: TwoBodyDecayParameters.h:34
validateGeometry_cfg.valid
valid
Definition: validateGeometry_cfg.py:21
TwoBodyDecayVirtualMeasurement::primaryWidth
const double & primaryWidth(void) const
Definition: TwoBodyDecayVirtualMeasurement.h:37
TwoBodyDecayParameters::hasError
bool hasError(void) const
Definition: TwoBodyDecayParameters.h:50
TwoBodyDecay::theDecayParameters
TwoBodyDecayParameters theDecayParameters
Definition: TwoBodyDecay.h:53
TwoBodyDecay::theChi2
double theChi2
Definition: TwoBodyDecay.h:54
TwoBodyDecayVirtualMeasurement::primaryMass
const double & primaryMass(void) const
Definition: TwoBodyDecayVirtualMeasurement.h:36
TwoBodyDecayParameters::covariance
const AlgebraicSymMatrix & covariance(void) const
Get error matrix.
Definition: TwoBodyDecayParameters.h:37
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TwoBodyDecay::chi2
double chi2(void) const
Definition: TwoBodyDecay.h:44
TwoBodyDecay::thePrimaryMass
double thePrimaryMass
Definition: TwoBodyDecay.h:56