#include <TrackingTools/MaterialEffects/interface/CombinedMaterialEffectsUpdator.h>
Public Member Functions | |
virtual CombinedMaterialEffectsUpdator * | clone () const |
CombinedMaterialEffectsUpdator (float mass) | |
constructor with explicit mass value | |
Private Member Functions | |
virtual void | compute (const TrajectoryStateOnSurface &, const PropagationDirection) const |
Private Attributes | |
EnergyLossUpdator | theELUpdator |
MultipleScatteringUpdator | theMSUpdator |
Adds effects from multiple scattering (via MultipleScatteringUpdator) and energy loss (via EnergyLossUpdator). Ported from ORCA.
Definition at line 19 of file CombinedMaterialEffectsUpdator.h.
CombinedMaterialEffectsUpdator::CombinedMaterialEffectsUpdator | ( | float | mass | ) | [inline] |
constructor with explicit mass value
Definition at line 32 of file CombinedMaterialEffectsUpdator.h.
Referenced by clone().
00033 : 00034 MaterialEffectsUpdator(mass), 00035 theMSUpdator(mass), theELUpdator(mass) {}
virtual CombinedMaterialEffectsUpdator* CombinedMaterialEffectsUpdator::clone | ( | void | ) | const [inline, virtual] |
Implements MaterialEffectsUpdator.
Definition at line 23 of file CombinedMaterialEffectsUpdator.h.
References CombinedMaterialEffectsUpdator().
00027 { 00028 return new CombinedMaterialEffectsUpdator(*this);
void CombinedMaterialEffectsUpdator::compute | ( | const TrajectoryStateOnSurface & | TSoS, | |
const | PropagationDirection | |||
) | const [private, virtual] |
Implements MaterialEffectsUpdator.
Definition at line 7 of file CombinedMaterialEffectsUpdator.cc.
References MaterialEffectsUpdator::deltaLocalError(), MaterialEffectsUpdator::deltaP(), MultipleScatteringUpdator::deltaP(), MaterialEffectsUpdator::theDeltaCov, MaterialEffectsUpdator::theDeltaP, theELUpdator, and theMSUpdator.
00009 { 00010 theDeltaP = theMSUpdator.deltaP(TSoS,propDir) + theELUpdator.deltaP(TSoS,propDir); 00011 theDeltaCov = theMSUpdator.deltaLocalError(TSoS,propDir) + theELUpdator.deltaLocalError(TSoS,propDir); 00012 }