CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiGaussianState1D.h
Go to the documentation of this file.
1 #ifndef MultiGaussianState1D_H_
2 #define MultiGaussianState1D_H_
3 
5 
6 #include <vector>
7 
13 public:
14  typedef std::vector<SingleGaussianState1D> SingleState1dContainer;
15 
16 public:
17 
19 
22 
24 
26  double weight() const;
28  double mean() const;
30  double variance() const;
33 
34 // protected:
35 private:
37  void checkCombinedState() const;
38 
39  // should become a vector of pointers to const SingleState
43 };
44 
45 #endif
SingleGaussianState1D theCombinedState
double mean() const
combined mean
double weight() const
combined weight
std::vector< SingleGaussianState1D > SingleState1dContainer
const SingleState1dContainer theComponents
MultiGaussianState1D(const SingleState1dContainer &stateV)
double variance() const
combined variance
const SingleState1dContainer & components() const
access to components
void checkCombinedState() const
calculation of the combined state (on demand)