#include <MaterialEffectsUpdator.h>
Public Types | |
typedef materialEffect::Covariance | Covariance |
typedef materialEffect::CovIndex | CovIndex |
typedef materialEffect::Effect | Effect |
Public Member Functions | |
virtual MaterialEffectsUpdator * | clone () const =0 |
virtual void | compute (const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const =0 |
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 | |
float | theMass |
Interface for adding material effects during propagation. Updates to TrajectoryStateOnSurface are implemented in this class. Ported from ORCA.
Moved "state" into an independent struct "Effect"
Definition at line 54 of file MaterialEffectsUpdator.h.
Definition at line 56 of file MaterialEffectsUpdator.h.
Definition at line 58 of file MaterialEffectsUpdator.h.
Definition at line 57 of file MaterialEffectsUpdator.h.
MaterialEffectsUpdator::MaterialEffectsUpdator | ( | float | mass | ) |
|
virtual |
Definition at line 12 of file MaterialEffectsUpdator.cc.
|
pure virtual |
Implemented in EnergyLossUpdator, CombinedMaterialEffectsUpdator, and MultipleScatteringUpdator.
|
pure virtual |
Implemented in CombinedMaterialEffectsUpdator, MultipleScatteringUpdator, and EnergyLossUpdator.
Referenced by GsfMaterialEffectsAdapter::compute(), and updateStateInPlace().
|
inline |
Particle mass assigned at construction.
Definition at line 84 of file MaterialEffectsUpdator.h.
References clone(), and bookConverter::compute().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), EnergyLossUpdator::compute(), MultipleScatteringUpdator::compute(), EnergyLossUpdator::computeBetheBloch(), oldComputeBetheBloch(), and oldMUcompute().
|
virtual |
Updates TrajectoryStateOnSurface with material effects (momentum and covariance matrix are potentially affected.
Definition at line 17 of file MaterialEffectsUpdator.cc.
References updateStateInPlace().
|
virtual |
Updates in place TrajectoryStateOnSurface with material effects (momentum and covariance matrix are potentially affected) Will return 'false' if the 'updateState' would have returned an invalid TSOS Note that the TSoS might be very well unchanged from this method (just like 'updateState' can return the same TSOS)
Definition at line 30 of file MaterialEffectsUpdator.cc.
References materialEffect::Covariance::add(), SurfaceSideDefinition::afterSurface, alongMomentum, anyDirection, SurfaceSideDefinition::atCenterOfSurface, SurfaceSideDefinition::beforeSurface, compute(), materialEffect::Effect::deltaCov, materialEffect::Effect::deltaP, TrajectoryStateOnSurface::hasError(), MediumProperties::isValid(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LocalTrajectoryError::matrix(), Surface::mediumProperties(), oppositeToMomentum, TrajectoryStateOnSurface::surface(), TrajectoryStateOnSurface::surfaceSide(), TrajectoryStateOnSurface::update(), and LocalTrajectoryParameters::updateP().
Referenced by PropagatorWithMaterial::propagateWithPath(), and updateState().
|
private |
Definition at line 94 of file MaterialEffectsUpdator.h.