TrackingTools
GsfTracking
src
MultiTrajectoryStateMerger.cc
Go to the documentation of this file.
1
#include "
TrackingTools/GsfTracking/interface/MultiTrajectoryStateMerger.h
"
2
#include "
TrackingTools/GsfTracking/interface/TsosGaussianStateConversions.h
"
3
4
TrajectoryStateOnSurface
MultiTrajectoryStateMerger::merge
(
const
TrajectoryStateOnSurface
& tsos)
const
{
5
if
(!tsos.
isValid
())
6
std::cout
<<
"Merger called with invalid state"
<< std::endl;
7
MultiGaussianState<5>
multiState
(
GaussianStateConversions::multiGaussianStateFromTSOS
(tsos));
8
MultiGaussianState<5>
mergedStates =
theMultiStateMerger
->merge(
multiState
);
9
return
GaussianStateConversions::tsosFromMultiGaussianState
(mergedStates, tsos);
10
}
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
MultiGaussianState
Mixture of multi-variate gaussian states.
Definition:
MultiGaussianState.h:18
TsosGaussianStateConversions.h
GaussianStateConversions::tsosFromMultiGaussianState
TrajectoryStateOnSurface tsosFromMultiGaussianState(const MultiGaussianState< 5 > &multiState, const TrajectoryStateOnSurface &refTsos)
Definition:
TsosGaussianStateConversions.cc:28
MultiTrajectoryStateMerger::merge
TrajectoryStateOnSurface merge(const TrajectoryStateOnSurface &tsos) const
Definition:
MultiTrajectoryStateMerger.cc:4
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MultiGaussianStateTransform::multiState
MultiGaussianState< N > multiState(const std::vector< MultiGaussianState< N >::Vector > &, const std::vector< MultiGaussianState< N >::Matrix > &, const std::vector< double > &)
Definition:
MultiGaussianStateTransform.cc:39
GaussianStateConversions::multiGaussianStateFromTSOS
MultiGaussianState< 5 > multiGaussianStateFromTSOS(const TrajectoryStateOnSurface &tsos)
Definition:
TsosGaussianStateConversions.cc:10
MultiTrajectoryStateMerger.h
MultiTrajectoryStateMerger::theMultiStateMerger
const std::shared_ptr< const MultiGaussianStateMerger< 5 > > theMultiStateMerger
Definition:
MultiTrajectoryStateMerger.h:20
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition:
TrajectoryStateOnSurface.h:54
Generated for CMSSW Reference Manual by
1.8.16