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
private
:
15
typedef
TrajectoryStateOnSurface
TSOS
;
16
17
public
:
18
PosteriorWeightsCalculator
(
const
std::vector<TSOS>& mixture) :
predictedComponents
(mixture) {}
19
20
~PosteriorWeightsCalculator
() {}
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
Definition:
PosteriorWeightsCalculator.h:13
PosteriorWeightsCalculator::~PosteriorWeightsCalculator
~PosteriorWeightsCalculator()
Definition:
PosteriorWeightsCalculator.h:20
PosteriorWeightsCalculator::PosteriorWeightsCalculator
PosteriorWeightsCalculator(const std::vector< TSOS > &mixture)
Definition:
PosteriorWeightsCalculator.h:18
TrackingRecHit
Definition:
TrackingRecHit.h:21
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
TransientTrackingRecHit.h
PosteriorWeightsCalculator::predictedComponents
std::vector< TSOS > predictedComponents
Definition:
PosteriorWeightsCalculator.h:27
PosteriorWeightsCalculator::weights
std::vector< double > weights(const TrackingRecHit &tsos) const
Create random state.
Definition:
PosteriorWeightsCalculator.cc:11
PosteriorWeightsCalculator::TSOS
TrajectoryStateOnSurface TSOS
Definition:
PosteriorWeightsCalculator.h:15
TrajectoryStateOnSurface.h
Generated for CMSSW Reference Manual by
1.8.14