#include <MultiGaussianState1D.h>
Public Types | |
typedef std::vector< SingleGaussianState1D > | SingleState1dContainer |
Public Member Functions | |
const SingleState1dContainer & | components () const |
access to components More... | |
double | mean () const |
combined mean More... | |
MultiGaussianState1D () | |
MultiGaussianState1D (const SingleState1dContainer &stateV) | |
double | variance () const |
combined variance More... | |
double | weight () const |
combined weight More... | |
~MultiGaussianState1D () | |
Private Member Functions | |
void | checkCombinedState () const |
calculation of the combined state (on demand) More... | |
Private Attributes | |
SingleGaussianState1D | theCombinedState |
bool | theCombinedStateUp2Date |
const SingleState1dContainer | theComponents |
One-dimensional multi-Gaussian mixture: weighted sum of single Gaussian components.
Definition at line 12 of file MultiGaussianState1D.h.
typedef std::vector<SingleGaussianState1D> MultiGaussianState1D::SingleState1dContainer |
Definition at line 14 of file MultiGaussianState1D.h.
|
inline |
Definition at line 17 of file MultiGaussianState1D.h.
|
inline |
Definition at line 19 of file MultiGaussianState1D.h.
|
inline |
Definition at line 21 of file MultiGaussianState1D.h.
|
private |
calculation of the combined state (on demand)
Definition at line 25 of file MultiGaussianState1D.cc.
References heavyFlavorValidationHarvestingSequence_cff::combiner, theCombinedState, theCombinedStateUp2Date, and theComponents.
Referenced by mean(), and variance().
|
inline |
access to components
Definition at line 30 of file MultiGaussianState1D.h.
References theComponents.
Referenced by MultiGaussianStateCombiner1D::combine(), GaussianSumUtilities1D::components(), and multiTrajectoryStateMode::momentumFromModeP().
double MultiGaussianState1D::mean | ( | ) | const |
combined mean
Definition at line 15 of file MultiGaussianState1D.cc.
References checkCombinedState(), SingleGaussianState1D::mean(), and theCombinedState.
Referenced by GaussianSumUtilities1D::computeMode(), and GaussianSumUtilities1D::mean().
double MultiGaussianState1D::variance | ( | ) | const |
combined variance
Definition at line 20 of file MultiGaussianState1D.cc.
References checkCombinedState(), theCombinedState, and SingleGaussianState1D::variance().
Referenced by GaussianSumUtilities1D::computeMode(), and GaussianSumUtilities1D::variance().
double MultiGaussianState1D::weight | ( | ) | const |
combined weight
Definition at line 5 of file MultiGaussianState1D.cc.
References mps_fire::result, theCombinedState, theCombinedStateUp2Date, theComponents, and SingleGaussianState1D::weight().
Referenced by GaussianSumUtilities1D::computeMode(), and GaussianSumUtilities1D::weight().
|
mutableprivate |
Definition at line 39 of file MultiGaussianState1D.h.
Referenced by checkCombinedState(), mean(), variance(), and weight().
|
mutableprivate |
Definition at line 40 of file MultiGaussianState1D.h.
Referenced by checkCombinedState(), and weight().
|
private |
Definition at line 38 of file MultiGaussianState1D.h.
Referenced by checkCombinedState(), components(), and weight().