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.

20 { return new CombinedMaterialEffectsUpdator(*this); }

References CombinedMaterialEffectsUpdator().

◆ compute()

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

Implements MaterialEffectsUpdator.

Definition at line 7 of file CombinedMaterialEffectsUpdator.cc.

9  {
10  theMSUpdator.compute(TSoS, propDir, effect);
11  theELUpdator.compute(TSoS, propDir, effect);
12 }

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

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().

EnergyLossUpdator::compute
void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const override
Definition: EnergyLossUpdator.cc:17
ptMin
constexpr float ptMin
Definition: PhotonIDValueMapProducer.cc:153
CombinedMaterialEffectsUpdator::CombinedMaterialEffectsUpdator
CombinedMaterialEffectsUpdator(float mass, float ptMin=-1.)
Definition: CombinedMaterialEffectsUpdator.h:27
MaterialEffectsUpdator::MaterialEffectsUpdator
MaterialEffectsUpdator(float mass)
Definition: MaterialEffectsUpdator.cc:8
CombinedMaterialEffectsUpdator::theELUpdator
EnergyLossUpdator theELUpdator
Definition: CombinedMaterialEffectsUpdator.h:36
MaterialEffectsUpdator::mass
float mass() const
Definition: MaterialEffectsUpdator.h:83
MultipleScatteringUpdator::compute
void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const override
Definition: MultipleScatteringUpdator.cc:14
CombinedMaterialEffectsUpdator::theMSUpdator
MultipleScatteringUpdator theMSUpdator
Definition: CombinedMaterialEffectsUpdator.h:35