CMS 3D CMS Logo

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:
18 
20 
22 
24  double weight() const;
26  double mean() const;
28  double variance() const;
30  const SingleState1dContainer& components() const { return theComponents; }
31 
32  // protected:
33 private:
35  void checkCombinedState() const;
36 
37  // should become a vector of pointers to const SingleState
41 };
42 
43 #endif
MultiGaussianState1D::theComponents
const SingleState1dContainer theComponents
Definition: MultiGaussianState1D.h:38
MultiGaussianState1D::weight
double weight() const
combined weight
Definition: MultiGaussianState1D.cc:5
funct::false
false
Definition: Factorize.h:29
MultiGaussianState1D::theCombinedStateUp2Date
bool theCombinedStateUp2Date
Definition: MultiGaussianState1D.h:40
MultiGaussianState1D
Definition: MultiGaussianState1D.h:12
MultiGaussianState1D::~MultiGaussianState1D
~MultiGaussianState1D()
Definition: MultiGaussianState1D.h:21
SingleGaussianState1D.h
SingleGaussianState1D
Definition: SingleGaussianState1D.h:10
MultiGaussianState1D::components
const SingleState1dContainer & components() const
access to components
Definition: MultiGaussianState1D.h:30
MultiGaussianState1D::mean
double mean() const
combined mean
Definition: MultiGaussianState1D.cc:15
MultiGaussianState1D::variance
double variance() const
combined variance
Definition: MultiGaussianState1D.cc:20
MultiGaussianState1D::checkCombinedState
void checkCombinedState() const
calculation of the combined state (on demand)
Definition: MultiGaussianState1D.cc:25
MultiGaussianState1D::SingleState1dContainer
std::vector< SingleGaussianState1D > SingleState1dContainer
Definition: MultiGaussianState1D.h:14
MultiGaussianState1D::theCombinedState
SingleGaussianState1D theCombinedState
Definition: MultiGaussianState1D.h:39
MultiGaussianState1D::MultiGaussianState1D
MultiGaussianState1D()
Definition: MultiGaussianState1D.h:17
MultiGaussianState1D::MultiGaussianState1D
MultiGaussianState1D(const SingleState1dContainer &stateV)
Definition: MultiGaussianState1D.h:19