CMS 3D CMS Logo

Public Member Functions | Private Attributes

SingleGaussianState1D Class Reference

#include <SingleGaussianState1D.h>

List of all members.

Public Member Functions

double mean () const
 parameter vector
 SingleGaussianState1D ()
 SingleGaussianState1D (double aMean, double aVariance, double aWeight=1.)
double standardDeviation () const
 standardDeviation
double variance () const
 variance
double weight () const
 weight
 ~SingleGaussianState1D ()

Private Attributes

double theMean
double theStandardDeviation
double theVariance
double theWeight

Detailed Description

One-dimensional (single) Gaussian state. Used for the description of Gaussian mixtures in one dimension.

Definition at line 11 of file SingleGaussianState1D.h.


Constructor & Destructor Documentation

SingleGaussianState1D::SingleGaussianState1D ( ) [inline]

Definition at line 17 of file SingleGaussianState1D.h.

SingleGaussianState1D::SingleGaussianState1D ( double  aMean,
double  aVariance,
double  aWeight = 1. 
) [inline]

Definition at line 20 of file SingleGaussianState1D.h.

                                              : 
    theWeight(aWeight), theMean(aMean), theVariance(aVariance), theStandardDeviation(-1.) {}
SingleGaussianState1D::~SingleGaussianState1D ( ) [inline]

Definition at line 25 of file SingleGaussianState1D.h.

{}

Member Function Documentation

double SingleGaussianState1D::mean ( ) const [inline]
double SingleGaussianState1D::standardDeviation ( ) const [inline]

standardDeviation

Definition at line 34 of file SingleGaussianState1D.h.

References mathSSE::sqrt(), theStandardDeviation, and theVariance.

double SingleGaussianState1D::variance ( ) const [inline]
double SingleGaussianState1D::weight ( ) const [inline]

weight

Definition at line 28 of file SingleGaussianState1D.h.

References theWeight.

Referenced by MultiTrajectoryStateMode::momentumFromModeP(), and MultiGaussianState1D::weight().

{return theWeight;}

Member Data Documentation

Definition at line 43 of file SingleGaussianState1D.h.

Referenced by mean().

Definition at line 45 of file SingleGaussianState1D.h.

Referenced by standardDeviation().

Definition at line 44 of file SingleGaussianState1D.h.

Referenced by standardDeviation(), and variance().

Definition at line 42 of file SingleGaussianState1D.h.

Referenced by weight().