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
TwoBodyDecayParameters Class Reference

#include <TwoBodyDecayParameters.h>

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. More...
 
bool hasError (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
 Get decay parameters. More...
 
const AlgebraicVector sub (ParameterName first, ParameterName last) const
 Get specified range of decay parameters. More...
 
 TwoBodyDecayParameters (void)
 
 TwoBodyDecayParameters (const AlgebraicVector &param, const AlgebraicSymMatrix &cov)
 
 TwoBodyDecayParameters (const AlgebraicVector &param)
 
 TwoBodyDecayParameters (const TwoBodyDecayParameters &other)
 
 ~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.

Constructor & Destructor Documentation

TwoBodyDecayParameters::TwoBodyDecayParameters ( void  )
inline

Definition at line 25 of file TwoBodyDecayParameters.h.

25  :
AlgebraicSymMatrix theCovariance
CLHEP::HepVector AlgebraicVector
CLHEP::HepSymMatrix AlgebraicSymMatrix
TwoBodyDecayParameters::TwoBodyDecayParameters ( const AlgebraicVector param,
const AlgebraicSymMatrix cov 
)
inline

Definition at line 28 of file TwoBodyDecayParameters.h.

28  :
29  theParameters( param ), theCovariance( cov ) {}
AlgebraicSymMatrix theCovariance
TwoBodyDecayParameters::TwoBodyDecayParameters ( const AlgebraicVector param)
inline

Definition at line 31 of file TwoBodyDecayParameters.h.

31  :
AlgebraicSymMatrix theCovariance
CLHEP::HepSymMatrix AlgebraicSymMatrix
TwoBodyDecayParameters::TwoBodyDecayParameters ( const TwoBodyDecayParameters other)
inline

Definition at line 34 of file TwoBodyDecayParameters.h.

34  :
35  theParameters( other.parameters() ), theCovariance( other.covariance() ) {}
const AlgebraicVector & parameters(void) const
Get decay parameters.
AlgebraicSymMatrix theCovariance
const AlgebraicSymMatrix & covariance(void) const
Get error matrix.
TwoBodyDecayParameters::~TwoBodyDecayParameters ( void  )
inline

Definition at line 37 of file TwoBodyDecayParameters.h.

37 {}

Member Function Documentation

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

Get error matrix.

Definition at line 43 of file TwoBodyDecayParameters.h.

References theCovariance.

Referenced by TwoBodyDecayTrajectory::construct(), TwoBodyDecay::covariance(), and TwoBodyDecayTrajectoryState::setError().

43 { return theCovariance; }
AlgebraicSymMatrix theCovariance
bool TwoBodyDecayParameters::hasError ( void  ) const
inline

Definition at line 54 of file TwoBodyDecayParameters.h.

References theCovariance.

Referenced by TwoBodyDecay::hasError().

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

Get specified decay parameter.

Definition at line 49 of file TwoBodyDecayParameters.h.

References mergeVDriftHistosByStation::name, and theParameters.

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

Get specified decay parameter.

Definition at line 46 of file TwoBodyDecayParameters.h.

References mergeVDriftHistosByStation::name, and theParameters.

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

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

Member Data Documentation

AlgebraicSymMatrix TwoBodyDecayParameters::theCovariance
private

Definition at line 59 of file TwoBodyDecayParameters.h.

Referenced by covariance(), and hasError().

AlgebraicVector TwoBodyDecayParameters::theParameters
private

Definition at line 58 of file TwoBodyDecayParameters.h.

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