CMS 3D CMS Logo

CombinedMaterialEffectsUpdator.cc

Go to the documentation of this file.
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 

Generated on Tue Jun 9 17:48:22 2009 for CMSSW by  doxygen 1.5.4