CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SingleGaussianState1D Class Reference

#include <SingleGaussianState1D.h>

Public Member Functions

double mean () const
 parameter vector More...
 
 SingleGaussianState1D ()
 
 SingleGaussianState1D (double aMean, double aVariance, double aWeight=1.)
 
double standardDeviation () const
 standardDeviation More...
 
double variance () const
 variance More...
 
double weight () const
 weight More...
 
 ~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 10 of file SingleGaussianState1D.h.

Constructor & Destructor Documentation

◆ SingleGaussianState1D() [1/2]

SingleGaussianState1D::SingleGaussianState1D ( )
inline

◆ SingleGaussianState1D() [2/2]

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

◆ ~SingleGaussianState1D()

SingleGaussianState1D::~SingleGaussianState1D ( )
inline

Definition at line 20 of file SingleGaussianState1D.h.

20 {}

Member Function Documentation

◆ mean()

double SingleGaussianState1D::mean ( ) const
inline

◆ standardDeviation()

double SingleGaussianState1D::standardDeviation ( ) const
inline

standardDeviation

Definition at line 29 of file SingleGaussianState1D.h.

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

◆ variance()

double SingleGaussianState1D::variance ( ) const
inline

◆ weight()

double SingleGaussianState1D::weight ( ) const
inline

weight

Definition at line 23 of file SingleGaussianState1D.h.

References theWeight.

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

23 { return theWeight; }

Member Data Documentation

◆ theMean

double SingleGaussianState1D::theMean
private

Definition at line 39 of file SingleGaussianState1D.h.

Referenced by mean().

◆ theStandardDeviation

double SingleGaussianState1D::theStandardDeviation
mutableprivate

Definition at line 41 of file SingleGaussianState1D.h.

Referenced by standardDeviation().

◆ theVariance

double SingleGaussianState1D::theVariance
private

Definition at line 40 of file SingleGaussianState1D.h.

Referenced by standardDeviation(), and variance().

◆ theWeight

double SingleGaussianState1D::theWeight
private

Definition at line 38 of file SingleGaussianState1D.h.

Referenced by weight().