#include <MultiTrajectoryStateCombiner.h>
Public Member Functions | |
TrajectoryStateOnSurface | combine (const std::vector< TrajectoryStateOnSurface > &tsos) const |
MultiTrajectoryStateCombiner () | |
~MultiTrajectoryStateCombiner () | |
Class which combines a set of components of a Gaussian mixture into a single component. Given all the components of a mixture, it calculates the mean and covariance matrix of the entire mixture. This combiner class can also be used in the process of transforming a Gaussian mixture into another Gaussian mixture with a smaller number of components. The relevant formulas can be found in R. Fruhwirth, Computer Physics Communications 100 (1997), 1.
Definition at line 15 of file MultiTrajectoryStateCombiner.h.
|
inline |
Definition at line 19 of file MultiTrajectoryStateCombiner.h.
|
inline |
Definition at line 20 of file MultiTrajectoryStateCombiner.h.
TrajectoryStateOnSurface MultiTrajectoryStateCombiner::combine | ( | const std::vector< TrajectoryStateOnSurface > & | tsos | ) | const |
Definition at line 6 of file MultiTrajectoryStateCombiner.cc.
References diffTreeTool::diff, plotscripts::mean(), asciidump::s, and CommonMethods::weight().
Referenced by BasicMultiTrajectoryState::checkCombinedState().