CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/TrackingTools/GsfTracking/src/GsfMaterialEffectsAdapter.cc

Go to the documentation of this file.
00001 #include "TrackingTools/GsfTracking/interface/GsfMaterialEffectsAdapter.h"
00002 
00003 // // currently consistent mass is only assured by common use of configurable!
00004 // GsfMaterialEffectsAdapter::GsfMaterialEffectsAdapter() :
00005 //   theMEUpdator(MaterialEffectsFactory().constructComponent())
00006 // {
00007 //   theWeights.push_back(1.);
00008 // }
00009 
00010 void
00011 GsfMaterialEffectsAdapter::compute (const TrajectoryStateOnSurface& aTSoS, 
00012                                     const PropagationDirection aPropDir) const
00013 {
00014   //
00015   // use deltaP from standard updator
00016   //
00017   theDeltaPs.clear();
00018   theDeltaPs.push_back(theMEUpdator->deltaP(aTSoS,aPropDir));
00019   //
00020   // use covariance matrix from standard updator
00021   //
00022   theDeltaCovs.clear();
00023   theDeltaCovs.push_back(theMEUpdator->deltaLocalError(aTSoS,aPropDir));
00024 }