CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

TwoBodyDecayParameters Class Reference

#include <TwoBodyDecayParameters.h>

List of all members.

Public Types

enum  { dimension = 9 }
enum  ParameterName {
  x = 0, y = 1, z = 2, px = 3,
  py = 4, pz = 5, theta = 6, phi = 7,
  mass = 8
}
 

Define order of parameters.

More...

Public Member Functions

const AlgebraicSymMatrixcovariance (void) const
 Get error matrix.
bool hasError (void) const
double operator() (ParameterName name) const
 Get specified decay parameter.
double operator[] (ParameterName name) const
 Get specified decay parameter.
const AlgebraicVectorparameters (void) const
 Get decay parameters.
const AlgebraicVector sub (ParameterName first, ParameterName last) const
 Get specified range of decay parameters.
 TwoBodyDecayParameters (void)
 TwoBodyDecayParameters (const AlgebraicVector &param, const AlgebraicSymMatrix &cov)
 TwoBodyDecayParameters (const TwoBodyDecayParameters &other)
 TwoBodyDecayParameters (AlgebraicVector param)
 ~TwoBodyDecayParameters (void)

Private Attributes

AlgebraicSymMatrix theCovariance
AlgebraicVector theParameters

Detailed Description

/class TwoBodyDecayParameters

This class provides the definition and a container for the parameters describing a two-body decay.

/author Edmund Widl

Definition at line 15 of file TwoBodyDecayParameters.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
dimension 

Definition at line 23 of file TwoBodyDecayParameters.h.

{ dimension = 9 };

Define order of parameters.

Enumerator:
x 
y 
z 
px 
py 
pz 
theta 
phi 
mass 

Definition at line 21 of file TwoBodyDecayParameters.h.

{ x = 0, y = 1, z = 2, px = 3, py = 4, pz = 5, theta = 6, phi = 7, mass = 8 };

Constructor & Destructor Documentation

TwoBodyDecayParameters::TwoBodyDecayParameters ( void  ) [inline]
TwoBodyDecayParameters::TwoBodyDecayParameters ( const AlgebraicVector param,
const AlgebraicSymMatrix cov 
) [inline]

Definition at line 28 of file TwoBodyDecayParameters.h.

                                                                                          :
    theParameters( param ), theCovariance( cov ) {}
TwoBodyDecayParameters::TwoBodyDecayParameters ( AlgebraicVector  param) [inline]

Definition at line 31 of file TwoBodyDecayParameters.h.

TwoBodyDecayParameters::TwoBodyDecayParameters ( const TwoBodyDecayParameters other) [inline]

Definition at line 34 of file TwoBodyDecayParameters.h.

                                                                 :
    theParameters( other.parameters() ), theCovariance( other.covariance() ) {}
TwoBodyDecayParameters::~TwoBodyDecayParameters ( void  ) [inline]

Definition at line 37 of file TwoBodyDecayParameters.h.

{}

Member Function Documentation

const AlgebraicSymMatrix& TwoBodyDecayParameters::covariance ( void  ) const [inline]
bool TwoBodyDecayParameters::hasError ( void  ) const [inline]

Definition at line 54 of file TwoBodyDecayParameters.h.

References theCovariance.

Referenced by TwoBodyDecay::hasError().

{ return ( theCovariance.num_row() != 0 ); }
double TwoBodyDecayParameters::operator() ( ParameterName  name) const [inline]

Get specified decay parameter.

Definition at line 49 of file TwoBodyDecayParameters.h.

References mergeVDriftHistosByStation::name, and theParameters.

{ return theParameters[name]; }
double TwoBodyDecayParameters::operator[] ( ParameterName  name) const [inline]

Get specified decay parameter.

Definition at line 46 of file TwoBodyDecayParameters.h.

References mergeVDriftHistosByStation::name, and theParameters.

{ return theParameters[name]; }
const AlgebraicVector& TwoBodyDecayParameters::parameters ( void  ) const [inline]
const AlgebraicVector TwoBodyDecayParameters::sub ( ParameterName  first,
ParameterName  last 
) const [inline]

Get specified range of decay parameters.

Definition at line 52 of file TwoBodyDecayParameters.h.

References theParameters.

Referenced by TwoBodyDecayEstimator::constructMatrices().

{ return theParameters.sub( first+1, last+1 ); }

Member Data Documentation

Definition at line 59 of file TwoBodyDecayParameters.h.

Referenced by covariance(), and hasError().

Definition at line 58 of file TwoBodyDecayParameters.h.

Referenced by operator()(), operator[](), parameters(), and sub().