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
TwoTrackMinimumDistanceLineLine::pathLength
std::pair< double, double > pathLength() const
Definition: TwoTrackMinimumDistanceLineLine.cc:63
TwoTrackMinimumDistanceLineLine::hPos
GlobalPoint hPos
Definition: TwoTrackMinimumDistanceLineLine.h:40
TwoTrackMinimumDistanceLineLine::phiH
double phiH
Definition: TwoTrackMinimumDistanceLineLine.h:38
TwoTrackMinimumDistanceLineLine::gPos
GlobalPoint gPos
Definition: TwoTrackMinimumDistanceLineLine.h:40
GlobalTrajectoryParameters
Definition: GlobalTrajectoryParameters.h:15
Point3DBase< float, GlobalTag >
TwoTrackMinimumDistanceLineLine::pathH
double pathH
Definition: TwoTrackMinimumDistanceLineLine.h:39
TwoTrackMinimumDistanceLineLine::phiG
double phiG
Definition: TwoTrackMinimumDistanceLineLine.h:38
TwoTrackMinimumDistanceLineLine
Definition: TwoTrackMinimumDistanceLineLine.h:17
TwoTrackMinimumDistanceLineLine::pathG
double pathG
Definition: TwoTrackMinimumDistanceLineLine.h:39
TwoTrackMinimumDistanceLineLine::calculate
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &)
Definition: TwoTrackMinimumDistanceLineLine.cc:7
TwoTrackMinimumDistanceLineLine::firstAngle
double firstAngle() const
Definition: TwoTrackMinimumDistanceLineLine.h:34
TwoTrackMinimumDistanceLineLine::points
std::pair< GlobalPoint, GlobalPoint > points() const
Definition: TwoTrackMinimumDistanceLineLine.cc:59
GlobalPoint.h
TwoTrackMinimumDistanceLineLine::secondAngle
double secondAngle() const
Definition: TwoTrackMinimumDistanceLineLine.h:35