CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PosteriorWeightsCalculator.h
Go to the documentation of this file.
1 #ifndef PosteriorWeightsCalculator_H_
2 #define PosteriorWeightsCalculator_H_
3 
6 
14 
15 private:
17 
18 public:
19  PosteriorWeightsCalculator(const std::vector<TSOS>& mixture) :
20  predictedComponents(mixture) {}
21 
24  std::vector<double> weights(const TrackingRecHit& tsos) const;
25  template <unsigned int D>
26  std::vector<double> weights(const TrackingRecHit& tsos) const;
27 
28 private:
29  std::vector<TSOS> predictedComponents;
30 
31 };
32 
33 #endif //_TR_PosteriorWeightsCalculator_H_
std::vector< double > weights(const TrackingRecHit &tsos) const
Create random state.
PosteriorWeightsCalculator(const std::vector< TSOS > &mixture)