CMS 3D CMS Logo

PosteriorWeightsCalculator.h
Go to the documentation of this file.
1 #ifndef PosteriorWeightsCalculator_H_
2 #define PosteriorWeightsCalculator_H_
3 
6 
14 private:
16 
17 public:
18  PosteriorWeightsCalculator(const std::vector<TSOS>& mixture) : predictedComponents(mixture) {}
19 
22  std::vector<double> weights(const TrackingRecHit& tsos) const;
23  template <unsigned int D>
24  std::vector<double> weights(const TrackingRecHit& tsos) const;
25 
26 private:
27  std::vector<TSOS> predictedComponents;
28 };
29 
30 #endif //_TR_PosteriorWeightsCalculator_H_
PosteriorWeightsCalculator(const std::vector< TSOS > &mixture)
std::vector< double > weights(const TrackingRecHit &tsos) const
Create random state.