Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:38:06

0001 #ifndef _VertexTrackUpdator_H_
0002 #define _VertexTrackUpdator_H_
0003 
0004 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
0005 
0006 /** 
0007  * Pure abstract base class for VertexTrackUpdators. 
0008  * Improves the track parameters at the vertex using the vertex constraint. 
0009  */
0010 
0011 template <unsigned int N>
0012 class VertexTrackUpdator {
0013 public:
0014   /**
0015    * Computes the constrained track parameters
0016    */
0017   virtual typename CachingVertex<N>::RefCountedVertexTrack update(
0018       const CachingVertex<N>& v, typename CachingVertex<N>::RefCountedVertexTrack t) const = 0;
0019 
0020   virtual VertexTrackUpdator* clone() const = 0;
0021   virtual ~VertexTrackUpdator() {}
0022 };
0023 
0024 #endif