Main Page
Namespaces
Classes
Package Documentation
src
TrackingTools
PatternTools
interface
TwoTrackMinimumDistanceLineLine.h
Go to the documentation of this file.
1
#ifndef _Tracker_TwoTrackMinimumDistanceLineLine_H_
2
#define _Tracker_TwoTrackMinimumDistanceLineLine_H_
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include <string>
6
#include <sstream>
7
#include <utility>
8
15
class
GlobalTrajectoryParameters
;
16
17
class
TwoTrackMinimumDistanceLineLine
{
18
19
public
:
29
bool
calculate
(
const
GlobalTrajectoryParameters
&,
30
const
GlobalTrajectoryParameters
&);
// retval=true? error occured.
31
32
std::pair <GlobalPoint, GlobalPoint>
points
()
const
;
33
std::pair <double, double>
pathLength
()
const
;
34
35
double
firstAngle
()
const
{
return
phiG
;}
36
double
secondAngle
()
const
{
return
phiH
;}
37
private
:
38
double
phiH
,
phiG
;
39
double
pathG
,
pathH
;
40
GlobalPoint
gPos
,
hPos
;
41
};
42
#endif
TwoTrackMinimumDistanceLineLine::pathH
double pathH
Definition:
TwoTrackMinimumDistanceLineLine.h:39
TwoTrackMinimumDistanceLineLine::points
std::pair< GlobalPoint, GlobalPoint > points() const
Definition:
TwoTrackMinimumDistanceLineLine.cc:65
TwoTrackMinimumDistanceLineLine::firstAngle
double firstAngle() const
Definition:
TwoTrackMinimumDistanceLineLine.h:35
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
TwoTrackMinimumDistanceLineLine::phiH
double phiH
Definition:
TwoTrackMinimumDistanceLineLine.h:38
TwoTrackMinimumDistanceLineLine::calculate
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &)
Definition:
TwoTrackMinimumDistanceLineLine.cc:8
TwoTrackMinimumDistanceLineLine::hPos
GlobalPoint hPos
Definition:
TwoTrackMinimumDistanceLineLine.h:40
TwoTrackMinimumDistanceLineLine::pathLength
std::pair< double, double > pathLength() const
Definition:
TwoTrackMinimumDistanceLineLine.cc:70
TwoTrackMinimumDistanceLineLine
Definition:
TwoTrackMinimumDistanceLineLine.h:17
TwoTrackMinimumDistanceLineLine::phiG
double phiG
Definition:
TwoTrackMinimumDistanceLineLine.h:38
TwoTrackMinimumDistanceLineLine::secondAngle
double secondAngle() const
Definition:
TwoTrackMinimumDistanceLineLine.h:36
TwoTrackMinimumDistanceLineLine::gPos
GlobalPoint gPos
Definition:
TwoTrackMinimumDistanceLineLine.h:40
Point3DBase< float, GlobalTag >
TwoTrackMinimumDistanceLineLine::pathG
double pathG
Definition:
TwoTrackMinimumDistanceLineLine.h:39
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11