CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CombinedMaterialEffectsUpdator Class Referencefinal

#include <CombinedMaterialEffectsUpdator.h>

Inheritance diagram for CombinedMaterialEffectsUpdator:
MaterialEffectsUpdator

Public Member Functions

CombinedMaterialEffectsUpdatorclone () const override
 
 CombinedMaterialEffectsUpdator (float mass, float ptMin=-1.)
 
void compute (const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const override
 
- Public Member Functions inherited from MaterialEffectsUpdator
float mass () const
 
 MaterialEffectsUpdator (float mass)
 
virtual TrajectoryStateOnSurface updateState (const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
 
virtual bool updateStateInPlace (TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
 
virtual ~MaterialEffectsUpdator ()
 

Private Attributes

EnergyLossUpdator theELUpdator
 
MultipleScatteringUpdator theMSUpdator
 

Additional Inherited Members

- Public Types inherited from MaterialEffectsUpdator
typedef materialEffect::Covariance Covariance
 
typedef materialEffect::CovIndex CovIndex
 
typedef materialEffect::Effect Effect
 

Detailed Description

Combines EnergyLossUpdator and MultipleScatteringUpdator. Adds effects from multiple scattering (via MultipleScatteringUpdator) and energy loss (via EnergyLossUpdator). Ported from ORCA.

Author
todorov, cerati

Definition at line 18 of file CombinedMaterialEffectsUpdator.h.

Constructor & Destructor Documentation

◆ CombinedMaterialEffectsUpdator()

CombinedMaterialEffectsUpdator::CombinedMaterialEffectsUpdator ( float  mass,
float  ptMin = -1. 
)
inline

Specify assumed mass of particle for material effects. If ptMin > 0, then the rms muliple scattering angle will be calculated taking into account the uncertainty in the reconstructed track momentum. (By default, it is neglected). However, a lower limit on the possible value of the track Pt will be applied at ptMin, to avoid the rms multiple scattering becoming too big.

Definition at line 27 of file CombinedMaterialEffectsUpdator.h.

Referenced by clone().

Member Function Documentation

◆ clone()

CombinedMaterialEffectsUpdator* CombinedMaterialEffectsUpdator::clone ( void  ) const
inlineoverridevirtual

Implements MaterialEffectsUpdator.

Definition at line 20 of file CombinedMaterialEffectsUpdator.h.

References CombinedMaterialEffectsUpdator().

20 { return new CombinedMaterialEffectsUpdator(*this); }
CombinedMaterialEffectsUpdator(float mass, float ptMin=-1.)

◆ compute()

void CombinedMaterialEffectsUpdator::compute ( const TrajectoryStateOnSurface TSoS,
const PropagationDirection  propDir,
Effect effect 
) const
overridevirtual

Implements MaterialEffectsUpdator.

Definition at line 7 of file CombinedMaterialEffectsUpdator.cc.

References MultipleScatteringUpdator::compute(), EnergyLossUpdator::compute(), theELUpdator, and theMSUpdator.

9  {
10  theMSUpdator.compute(TSoS, propDir, effect);
11  theELUpdator.compute(TSoS, propDir, effect);
12 }
void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const override
void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const override

Member Data Documentation

◆ theELUpdator

EnergyLossUpdator CombinedMaterialEffectsUpdator::theELUpdator
private

Definition at line 36 of file CombinedMaterialEffectsUpdator.h.

Referenced by compute().

◆ theMSUpdator

MultipleScatteringUpdator CombinedMaterialEffectsUpdator::theMSUpdator
private

Definition at line 35 of file CombinedMaterialEffectsUpdator.h.

Referenced by compute().