CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MultiTrajectoryStateMerger Class Reference

#include <MultiTrajectoryStateMerger.h>

Public Member Functions

MultiTrajectoryStateMergerclone () const
 
TrajectoryStateOnSurface merge (const TrajectoryStateOnSurface &tsos) const
 
 MultiTrajectoryStateMerger (const MultiGaussianStateMerger< 5 > &merger)
 

Private Attributes

const std::shared_ptr< const MultiGaussianStateMerger< 5 > > theMultiStateMerger
 

Detailed Description

Merging of MultiTrajectoryStates - uses MultiGaussianStateMergers for the actual merging.

Definition at line 13 of file MultiTrajectoryStateMerger.h.

Constructor & Destructor Documentation

◆ MultiTrajectoryStateMerger()

MultiTrajectoryStateMerger::MultiTrajectoryStateMerger ( const MultiGaussianStateMerger< 5 > &  merger)
inline

Definition at line 15 of file MultiTrajectoryStateMerger.h.

15 : theMultiStateMerger(merger.clone()) {}

Referenced by clone().

Member Function Documentation

◆ clone()

MultiTrajectoryStateMerger* MultiTrajectoryStateMerger::clone ( void  ) const
inline

Definition at line 17 of file MultiTrajectoryStateMerger.h.

17 { return new MultiTrajectoryStateMerger(*this); }

References MultiTrajectoryStateMerger().

◆ merge()

TrajectoryStateOnSurface MultiTrajectoryStateMerger::merge ( const TrajectoryStateOnSurface tsos) const

Member Data Documentation

◆ theMultiStateMerger

const std::shared_ptr<const MultiGaussianStateMerger<5> > MultiTrajectoryStateMerger::theMultiStateMerger
private

Definition at line 20 of file MultiTrajectoryStateMerger.h.

Referenced by merge().

gather_cfg.cout
cout
Definition: gather_cfg.py:144
MultiGaussianState
Mixture of multi-variate gaussian states.
Definition: MultiGaussianState.h:18
GaussianStateConversions::tsosFromMultiGaussianState
TrajectoryStateOnSurface tsosFromMultiGaussianState(const MultiGaussianState< 5 > &multiState, const TrajectoryStateOnSurface &refTsos)
Definition: TsosGaussianStateConversions.cc:28
MultiTrajectoryStateMerger::MultiTrajectoryStateMerger
MultiTrajectoryStateMerger(const MultiGaussianStateMerger< 5 > &merger)
Definition: MultiTrajectoryStateMerger.h:15
MultiGaussianStateMerger::clone
virtual MultiGaussianStateMerger * clone() const =0
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::theMultiStateMerger
const std::shared_ptr< const MultiGaussianStateMerger< 5 > > theMultiStateMerger
Definition: MultiTrajectoryStateMerger.h:20
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition: TrajectoryStateOnSurface.h:54