25 throw cms::Exception(
"LogicError") <<
"GsfMaterialEffectsUpdator::updateState used with MultiTSOS";
31 std::vector<Effect> effects(
size());
35 compute(TSoS, propDir, effects);
45 LogDebug(
"GsfMaterialEffectsUpdator") <<
"found " <<
size() <<
" components " 46 <<
" input state has weight " << TSoS.
weight();
47 for (
auto const& effect : effects) {
48 LogDebug(
"GsfMaterialEffectsUpdatorDETAIL") <<
"w, dp, sigp = " << effect.weight <<
", " << effect.deltaP <<
", " 62 effect.deltaCov.add(eloc);
69 LogDebug(
"GsfMaterialEffectsUpdatorDETAIL") <<
"adding state with weight " <<
weight * effect.weight;
74 LogDebug(
"GsfMaterialEffectsUpdator") <<
" output state has weight " <<
result.combinedState().weight();
75 return result.combinedState();
const LocalTrajectoryError & localError() const
const GlobalTrajectoryParameters & globalParameters() const
const LocalTrajectoryParameters & localParameters() const
const SurfaceType & surface() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
const MagneticField & magneticField() const
virtual TrajectoryStateOnSurface updateState(const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
const AlgebraicSymMatrix55 & matrix() const
const MediumProperties & mediumProperties() const
bool updateP(float dP)
Update of momentum by a scalar dP.