00001 #ifndef MahalanobisDistance_H 00002 #define MahalanobisDistance_H 00003 00004 #include "TrackingTools/GsfTools/interface/DistanceBetweenComponents.h" 00005 00006 class TrajectoryStateOnSurface; 00007 00011 class MahalanobisDistance : public DistanceBetweenComponents { 00012 00013 public: 00014 00018 virtual double operator() (const RCSingleGaussianState&, 00019 const RCSingleGaussianState&) const; 00020 00021 virtual MahalanobisDistance* clone() const 00022 { 00023 return new MahalanobisDistance(*this); 00024 } 00025 00026 }; 00027 00028 #endif // MahalanobisDistance_H