CMS 3D CMS Logo

SingleGaussianState1D Class Reference

One-dimensional (single) Gaussian state. More...

#include <TrackingTools/GsfTools/interface/SingleGaussianState1D.h>

List of all members.

Public Member Functions

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

Private Attributes

double theMean
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.

00017                            :
00018     theWeight(0.), theMean(0.), theVariance(0.) {}
  

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

Definition at line 20 of file SingleGaussianState1D.h.

00022                                               : 
00023     theWeight(aWeight), theMean(aMean), theVariance(aVariance) {}

SingleGaussianState1D::~SingleGaussianState1D (  )  [inline]

Definition at line 25 of file SingleGaussianState1D.h.

00025 {}


Member Function Documentation

double SingleGaussianState1D::mean (  )  const [inline]

parameter vector

Definition at line 30 of file SingleGaussianState1D.h.

References theMean.

Referenced by GlobalGsfElectronAlgo::computeMode(), GsfElectronAlgo::computeMode(), GaussianSumUtilities1D::computeMode(), PFGsfHelper::computeQpMode(), GsfTrackProducerBase::fillMode(), MultiGaussianState1D::mean(), and PFGsfHelper::PFGsfHelper().

00030 {return theMean;}

double SingleGaussianState1D::variance (  )  const [inline]

variance

Definition at line 32 of file SingleGaussianState1D.h.

References theVariance.

Referenced by GaussianSumUtilities1D::computeMode(), PFGsfHelper::computeQpMode(), ElectronMomentumCorrector::correct(), GsfTrackProducerBase::fillMode(), and MultiGaussianState1D::variance().

00032 {return theVariance;}

double SingleGaussianState1D::weight (  )  const [inline]

weight

Definition at line 28 of file SingleGaussianState1D.h.

References theWeight.

Referenced by MultiGaussianState1D::weight().

00028 {return theWeight;}


Member Data Documentation

double SingleGaussianState1D::theMean [private]

Definition at line 38 of file SingleGaussianState1D.h.

Referenced by mean().

double SingleGaussianState1D::theVariance [private]

Definition at line 39 of file SingleGaussianState1D.h.

Referenced by variance().

double SingleGaussianState1D::theWeight [private]

Definition at line 37 of file SingleGaussianState1D.h.

Referenced by weight().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:31:47 2009 for CMSSW by  doxygen 1.5.4