CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
MultiStatePropagation< T > Class Template Reference

#include <MultiStatePropagation.h>

Public Member Functions

 MultiStatePropagation (const Propagator &aPropagator)
 
std::pair< TrajectoryStateOnSurface, double > propagateWithPath (const TrajectoryStateOnSurface &tsos, const T &surface) const
 
 ~MultiStatePropagation ()
 

Private Types

typedef std::vector< TrajectoryStateOnSurfaceMultiTSOS
 
typedef std::pair< TrajectoryStateOnSurface, double > TsosWP
 

Private Member Functions

TrajectoryStateOnSurface setWeight (const TrajectoryStateOnSurface, const double) const
 creation of new state with different weight More...
 

Private Attributes

const PropagatorthePropagator
 

Detailed Description

template<class T>
class MultiStatePropagation< T >

Helper class to propagate all components of a state, using a single state propagator and keeping the specialisation into planes / cylinders. Designed for short lifetime: will directly use the propagator passed by invoking object.

Definition at line 15 of file MultiStatePropagation.h.

Member Typedef Documentation

◆ MultiTSOS

template<class T>
typedef std::vector<TrajectoryStateOnSurface> MultiStatePropagation< T >::MultiTSOS
private

Definition at line 37 of file MultiStatePropagation.h.

◆ TsosWP

template<class T>
typedef std::pair<TrajectoryStateOnSurface, double> MultiStatePropagation< T >::TsosWP
private

Definition at line 36 of file MultiStatePropagation.h.

Constructor & Destructor Documentation

◆ MultiStatePropagation()

template<class T>
MultiStatePropagation< T >::MultiStatePropagation ( const Propagator aPropagator)
inline

Constructor with explicit propagator

Definition at line 19 of file MultiStatePropagation.h.

19 : thePropagator(aPropagator) {}
const Propagator & thePropagator

◆ ~MultiStatePropagation()

template<class T>
MultiStatePropagation< T >::~MultiStatePropagation ( )
inline

Definition at line 21 of file MultiStatePropagation.h.

21 {}

Member Function Documentation

◆ propagateWithPath()

template<class T>
std::pair<TrajectoryStateOnSurface, double> MultiStatePropagation< T >::propagateWithPath ( const TrajectoryStateOnSurface tsos,
const T surface 
) const

Propagation to surface with path length calculation:

Referenced by GsfPropagatorAdapter::propagateWithPath().

◆ setWeight()

template<class T>
TrajectoryStateOnSurface MultiStatePropagation< T >::setWeight ( const TrajectoryStateOnSurface  ,
const double   
) const
private

creation of new state with different weight

Member Data Documentation

◆ thePropagator

template<class T>
const Propagator& MultiStatePropagation< T >::thePropagator
private

Definition at line 34 of file MultiStatePropagation.h.