CMS 3D CMS Logo

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 
27 
28  virtual std::pair<GlobalPoint, GlobalPoint> pointsOfClosestApproach(const reco::TransientTrack,
29  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
RecTracksDistanceMatrix
Definition: RecTracksDistanceMatrix.h:17
RecTracksDistanceMatrix::hasWeightedDistances
virtual bool hasWeightedDistances() const =0
RecTracksDistanceMatrix::weightedDistance
virtual double weightedDistance(const reco::TransientTrack, const reco::TransientTrack) const =0
TransientTrack.h
RecTracksDistanceMatrix::hasDistances
virtual bool hasDistances() const =0
RecTracksDistanceMatrix::pointsOfClosestApproach
virtual std::pair< GlobalPoint, GlobalPoint > pointsOfClosestApproach(const reco::TransientTrack, const reco::TransientTrack) const =0
RecTracksDistanceMatrix::distance
virtual double distance(const reco::TransientTrack, const reco::TransientTrack) const =0
Point3DBase< float, GlobalTag >
RecTracksDistanceMatrix::hasPCAs
virtual bool hasPCAs() const =0
RecTracksDistanceMatrix::~RecTracksDistanceMatrix
virtual ~RecTracksDistanceMatrix()
Definition: RecTracksDistanceMatrix.h:21
RecTracksDistanceMatrix::hasCrossingPoints
virtual bool hasCrossingPoints() const =0
reco::TransientTrack
Definition: TransientTrack.h:19
RecTracksDistanceMatrix::crossingPoint
virtual GlobalPoint crossingPoint(const reco::TransientTrack, const reco::TransientTrack) const =0
GlobalPoint.h
RecTracksDistanceMatrix::tracks
virtual const std::vector< reco::TransientTrack > * tracks() const =0