#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 56 of file MaterialEffectsUpdator.h.
Definition at line 58 of file MaterialEffectsUpdator.h.
Definition at line 60 of file MaterialEffectsUpdator.h.
Definition at line 59 of file MaterialEffectsUpdator.h.
MaterialEffectsUpdator::MaterialEffectsUpdator | ( | float | mass | ) |
|
virtual |
Definition at line 10 of file MaterialEffectsUpdator.cc.
|
pure virtual |
Implemented in EnergyLossUpdator, CombinedMaterialEffectsUpdator, and MultipleScatteringUpdator.
|
pure virtual |
Implemented in CombinedMaterialEffectsUpdator, EnergyLossUpdator, and MultipleScatteringUpdator.
Referenced by GsfMaterialEffectsAdapter::compute(), and updateStateInPlace().
|
inline |
Particle mass assigned at construction.
Definition at line 83 of file MaterialEffectsUpdator.h.
References theMass.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), EnergyLossUpdator::compute(), MultipleScatteringUpdator::compute(), EnergyLossUpdator::computeBetheBloch(), oldComputeBetheBloch(), oldMUcompute(), and datamodel.Object::p4().
|
virtual |
Updates TrajectoryStateOnSurface with material effects (momentum and covariance matrix are potentially affected.
Definition at line 15 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 26 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, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), TrajectoryStateOnSurface::surface(), TrajectoryStateOnSurface::surfaceSide(), TrajectoryStateOnSurface::update(), and LocalTrajectoryParameters::updateP().
Referenced by PropagatorWithMaterial::propagateWithPath(), and updateState().
|
private |
Definition at line 91 of file MaterialEffectsUpdator.h.
Referenced by mass().