#include <CombinedMaterialEffectsUpdator.h>
Public Member Functions | |
virtual CombinedMaterialEffectsUpdator * | clone () const |
CombinedMaterialEffectsUpdator (double mass, double ptMin=-1.) | |
Private Member Functions | |
virtual void | compute (const TrajectoryStateOnSurface &, const PropagationDirection) const |
Private Attributes | |
EnergyLossUpdator | theELUpdator |
MultipleScatteringUpdator | theMSUpdator |
Combines EnergyLossUpdator and MultipleScatteringUpdator. Adds effects from multiple scattering (via MultipleScatteringUpdator) and energy loss (via EnergyLossUpdator). Ported from ORCA.
Definition at line 17 of file CombinedMaterialEffectsUpdator.h.
CombinedMaterialEffectsUpdator::CombinedMaterialEffectsUpdator | ( | double | mass, |
double | 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 29 of file CombinedMaterialEffectsUpdator.h.
Referenced by clone().
: MaterialEffectsUpdator(mass), theMSUpdator(mass, ptMin), theELUpdator(mass) {}
virtual CombinedMaterialEffectsUpdator* CombinedMaterialEffectsUpdator::clone | ( | void | ) | const [inline, virtual] |
Implements MaterialEffectsUpdator.
Definition at line 20 of file CombinedMaterialEffectsUpdator.h.
References CombinedMaterialEffectsUpdator().
{ return new CombinedMaterialEffectsUpdator(*this); }
void CombinedMaterialEffectsUpdator::compute | ( | const TrajectoryStateOnSurface & | TSoS, |
const PropagationDirection | propDir | ||
) | 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.
{ theDeltaP = theMSUpdator.deltaP(TSoS,propDir) + theELUpdator.deltaP(TSoS,propDir); theDeltaCov = theMSUpdator.deltaLocalError(TSoS,propDir) + theELUpdator.deltaLocalError(TSoS,propDir); }
Definition at line 41 of file CombinedMaterialEffectsUpdator.h.
Referenced by compute().
Definition at line 40 of file CombinedMaterialEffectsUpdator.h.
Referenced by compute().