Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef TrackToTrackCovCalculator_H
0002 #define TrackToTrackCovCalculator_H
0003 
0004 #include <map>
0005 #include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
0006 
0007 /** \class TrackToTrackCovCalculator
0008  *  Abstract class for algorithms computing the covariance 
0009  *  matrices of each pair of tracks belonging to a CachingVertex.
0010  *  This covariance arises when refitting a track with the constraint 
0011  *  of the vertex.
0012  */
0013 
0014 template <unsigned int N>
0015 class TrackToTrackCovCalculator {
0016 public:
0017   TrackToTrackCovCalculator() {}
0018   virtual ~TrackToTrackCovCalculator() {}
0019 
0020   virtual typename CachingVertex<N>::TrackToTrackMap operator()(const CachingVertex<N> &) const = 0;
0021 
0022   virtual TrackToTrackCovCalculator *clone() const = 0;
0023 };
0024 
0025 #endif