00001 #include "TrackingTools/MaterialEffects/interface/CombinedMaterialEffectsUpdator.h" 00002 00003 // 00004 // Computation: combine updates on momentum and cov. matrix from the multiple 00005 // scattering and energy loss updators and store them in private variables 00006 // 00007 void CombinedMaterialEffectsUpdator::compute (const TrajectoryStateOnSurface& TSoS, 00008 const PropagationDirection propDir) const 00009 { 00010 theDeltaP = theMSUpdator.deltaP(TSoS,propDir) + theELUpdator.deltaP(TSoS,propDir); 00011 theDeltaCov = theMSUpdator.deltaLocalError(TSoS,propDir) + theELUpdator.deltaLocalError(TSoS,propDir); 00012 } 00013