Main Page
Namespaces
Classes
Package Documentation
TrackingTools
GsfTracking
interface
PosteriorWeightsCalculator.h
Go to the documentation of this file.
1
#ifndef PosteriorWeightsCalculator_H_
2
#define PosteriorWeightsCalculator_H_
3
4
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
5
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
6
13
class
PosteriorWeightsCalculator
{
14
15
private
:
16
typedef
TrajectoryStateOnSurface
TSOS
;
17
18
public
:
19
PosteriorWeightsCalculator
(
const
std::vector<TSOS>&
mixture
) :
20
predictedComponents
(mixture) {}
21
22
~PosteriorWeightsCalculator
() {}
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_
PosteriorWeightsCalculator
Definition:
PosteriorWeightsCalculator.h:13
PosteriorWeightsCalculator::weights
std::vector< double > weights(const TrackingRecHit &tsos) const
Create random state.
Definition:
PosteriorWeightsCalculator.cc:11
PosteriorWeightsCalculator::~PosteriorWeightsCalculator
~PosteriorWeightsCalculator()
Definition:
PosteriorWeightsCalculator.h:22
PosteriorWeightsCalculator::PosteriorWeightsCalculator
PosteriorWeightsCalculator(const std::vector< TSOS > &mixture)
Definition:
PosteriorWeightsCalculator.h:19
TrackingRecHit
Definition:
TrackingRecHit.h:23
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
TransientTrackingRecHit.h
PosteriorWeightsCalculator::predictedComponents
std::vector< TSOS > predictedComponents
Definition:
PosteriorWeightsCalculator.h:29
mixture
Definition:
mixture.py:1
PosteriorWeightsCalculator::TSOS
TrajectoryStateOnSurface TSOS
Definition:
PosteriorWeightsCalculator.h:16
TrajectoryStateOnSurface.h
Generated for CMSSW Reference Manual by
1.8.11