Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:23

0001 #ifndef _VertexSmoother_H_
0002 #define _VertexSmoother_H_
0003 
0004 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
0005 
0006 /**
0007  * Pure abstract base class for vertex smoothers 
0008  * Vertex smoothing includes track refit with vertex constraint, 
0009  * better estimation of vertex chi-squared etc. 
0010  */
0011 
0012 template <unsigned int N>
0013 class VertexSmoother {
0014 public:
0015   VertexSmoother() {}
0016   virtual ~VertexSmoother() {}
0017 
0018   /**
0019    *  Smoothing method
0020    */
0021   virtual CachingVertex<N> smooth(const CachingVertex<N>& vertex) const = 0;
0022 
0023   /**
0024    * Clone method 
0025    */
0026   virtual VertexSmoother* clone() const = 0;
0027 };
0028 
0029 #endif