#include <SingleGaussianState1D.h>
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 |
One-dimensional (single) Gaussian state. Used for the description of Gaussian mixtures in one dimension.
Definition at line 11 of file SingleGaussianState1D.h.
SingleGaussianState1D::SingleGaussianState1D | ( | ) | [inline] |
Definition at line 17 of file SingleGaussianState1D.h.
: theWeight(0.), theMean(0.), theVariance(0.), theStandardDeviation(-1.) {}
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.
{}
double SingleGaussianState1D::mean | ( | ) | const [inline] |
parameter vector
Definition at line 30 of file SingleGaussianState1D.h.
References theMean.
Referenced by MultiTrajectoryStateMode::chargeFromMode(), PFGsfHelper::computeQpMode(), GsfTrackProducerBase::fillMode(), GsfTrackProducerBase::localParametersFromQpMode(), MultiGaussianState1D::mean(), MultiTrajectoryStateMode::momentumFromModeCartesian(), MultiTrajectoryStateMode::momentumFromModeLocal(), MultiTrajectoryStateMode::momentumFromModeP(), MultiTrajectoryStateMode::momentumFromModePPhiEta(), MultiTrajectoryStateMode::momentumFromModeQP(), PFGsfHelper::PFGsfHelper(), MultiTrajectoryStateMode::positionFromModeCartesian(), and MultiTrajectoryStateMode::positionFromModeLocal().
{return theMean;}
double SingleGaussianState1D::standardDeviation | ( | ) | const [inline] |
standardDeviation
Definition at line 34 of file SingleGaussianState1D.h.
References mathSSE::sqrt(), theStandardDeviation, and theVariance.
{ if ( theStandardDeviation<0. ) theStandardDeviation = sqrt(theVariance); return theStandardDeviation; }
double SingleGaussianState1D::variance | ( | ) | const [inline] |
variance
Definition at line 32 of file SingleGaussianState1D.h.
References theVariance.
Referenced by PFGsfHelper::computeQpMode(), ElectronMomentumCorrector::correct(), GsfTrackProducerBase::fillMode(), GsfTrackProducerBase::localParametersFromQpMode(), MultiTrajectoryStateMode::momentumFromModeP(), and MultiGaussianState1D::variance().
{return theVariance;}
double SingleGaussianState1D::weight | ( | void | ) | const [inline] |
weight
Definition at line 28 of file SingleGaussianState1D.h.
References theWeight.
Referenced by MultiTrajectoryStateMode::momentumFromModeP(), and MultiGaussianState1D::weight().
{return theWeight;}
double SingleGaussianState1D::theMean [private] |
Definition at line 43 of file SingleGaussianState1D.h.
Referenced by mean().
double SingleGaussianState1D::theStandardDeviation [mutable, private] |
Definition at line 45 of file SingleGaussianState1D.h.
Referenced by standardDeviation().
double SingleGaussianState1D::theVariance [private] |
Definition at line 44 of file SingleGaussianState1D.h.
Referenced by standardDeviation(), and variance().
double SingleGaussianState1D::theWeight [private] |
Definition at line 42 of file SingleGaussianState1D.h.
Referenced by weight().