CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecTracksDistanceMatrix.h
Go to the documentation of this file.
1 #ifndef RecTracksDistanceMatrix_H
2 #define RecTracksDistanceMatrix_H
3 
4 #include <vector>
5 #include <map>
7 // #include "CommonReco/PatternTools/interface/RecTrack.h"
9 // #include "Utilities/GenUtil/interface/ReferenceCounted.h"
10 
17 class RecTracksDistanceMatrix { // : public ReferenceCounted {
18 
19 public:
20  virtual const std::vector < reco::TransientTrack > * tracks() const = 0;
22 
23  virtual double distance ( const reco::TransientTrack , const reco::TransientTrack ) const = 0;
24  virtual double weightedDistance ( const reco::TransientTrack , const reco::TransientTrack ) const = 0;
25 
26  virtual GlobalPoint crossingPoint ( const reco::TransientTrack , const reco::TransientTrack ) const = 0;
27 
28  virtual std::pair < GlobalPoint, GlobalPoint > pointsOfClosestApproach (
29  const reco::TransientTrack, const reco::TransientTrack ) const = 0;
30 
31  virtual bool hasDistances() const =0;
32  virtual bool hasWeightedDistances() const =0;
33  virtual bool hasCrossingPoints() const =0;
34  virtual bool hasPCAs() const =0;
35 };
36 
37 #endif
virtual bool hasWeightedDistances() const =0
virtual double distance(const reco::TransientTrack, const reco::TransientTrack) const =0
virtual double weightedDistance(const reco::TransientTrack, const reco::TransientTrack) const =0
virtual std::pair< GlobalPoint, GlobalPoint > pointsOfClosestApproach(const reco::TransientTrack, const reco::TransientTrack) const =0
virtual bool hasDistances() const =0
virtual bool hasPCAs() const =0
virtual GlobalPoint crossingPoint(const reco::TransientTrack, const reco::TransientTrack) const =0
virtual bool hasCrossingPoints() const =0
virtual const std::vector< reco::TransientTrack > * tracks() const =0