CMS 3D CMS Logo

TwoTrackMinimumDistanceLineLine.h
Go to the documentation of this file.
1 #ifndef _Tracker_TwoTrackMinimumDistanceLineLine_H_
2 #define _Tracker_TwoTrackMinimumDistanceLineLine_H_
3 
5 #include <string>
6 #include <sstream>
7 #include <utility>
8 
16 
18 public:
29  const GlobalTrajectoryParameters &); // retval=true? error occured.
30 
31  std::pair<GlobalPoint, GlobalPoint> points() const;
32  std::pair<double, double> pathLength() const;
33 
34  double firstAngle() const { return phiG; }
35  double secondAngle() const { return phiH; }
36 
37 private:
38  double phiH, phiG;
39  double pathG, pathH;
41 };
42 #endif
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &)
std::pair< double, double > pathLength() const
std::pair< GlobalPoint, GlobalPoint > points() const