Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:35

0001 #ifndef DistanceBetweenComponents_H
0002 #define DistanceBetweenComponents_H
0003 
0004 #include "TrackingTools/GsfTools/interface/SingleGaussianState.h"
0005 
0006 /** Base class (abstract) of calculation of distance between
0007  *  two Gaussian components.
0008  */
0009 
0010 template <unsigned int N>
0011 class DistanceBetweenComponents {
0012 public:
0013   typedef SingleGaussianState<N> SingleState;
0014 
0015 public:
0016   virtual double operator()(const SingleState&, const SingleState&) const = 0;
0017 
0018   virtual DistanceBetweenComponents<N>* clone() const = 0;
0019 
0020   virtual ~DistanceBetweenComponents() {}
0021 };
0022 
0023 #endif  // DistanceBetweenComponents_H