Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
PatternTools
interface
TwoTrackMinimumDistanceLineLine.h
Go to the documentation of this file.
1
/* $Id: TwoTrackMinimumDistanceLineLine.h,v 1.1 2007/07/03 14:15:47 speer Exp $ */
2
#ifndef _Tracker_TwoTrackMinimumDistanceLineLine_H_
3
#define _Tracker_TwoTrackMinimumDistanceLineLine_H_
4
5
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
6
#include <string>
7
#include <sstream>
8
#include <utility>
9
16
class
GlobalTrajectoryParameters
;
17
18
class
TwoTrackMinimumDistanceLineLine
{
19
20
public
:
30
bool
calculate
(
const
GlobalTrajectoryParameters
&,
31
const
GlobalTrajectoryParameters
&);
// retval=true? error occured.
32
33
std::pair <GlobalPoint, GlobalPoint>
points
()
const
;
34
std::pair <double, double>
pathLength
()
const
;
35
36
double
firstAngle
()
const
{
return
phiG
;}
37
double
secondAngle
()
const
{
return
phiH
;}
38
private
:
39
double
phiH
,
phiG
;
40
double
pathG
,
pathH
;
41
GlobalPoint
gPos
,
hPos
;
42
};
43
#endif
TwoTrackMinimumDistanceLineLine::pathH
double pathH
Definition:
TwoTrackMinimumDistanceLineLine.h:40
TwoTrackMinimumDistanceLineLine::points
std::pair< GlobalPoint, GlobalPoint > points() const
Definition:
TwoTrackMinimumDistanceLineLine.cc:65
TwoTrackMinimumDistanceLineLine::firstAngle
double firstAngle() const
Definition:
TwoTrackMinimumDistanceLineLine.h:36
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:16
TwoTrackMinimumDistanceLineLine::phiH
double phiH
Definition:
TwoTrackMinimumDistanceLineLine.h:39
TwoTrackMinimumDistanceLineLine::calculate
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &)
Definition:
TwoTrackMinimumDistanceLineLine.cc:8
TwoTrackMinimumDistanceLineLine::hPos
GlobalPoint hPos
Definition:
TwoTrackMinimumDistanceLineLine.h:41
TwoTrackMinimumDistanceLineLine::pathLength
std::pair< double, double > pathLength() const
Definition:
TwoTrackMinimumDistanceLineLine.cc:70
TwoTrackMinimumDistanceLineLine
Definition:
TwoTrackMinimumDistanceLineLine.h:18
TwoTrackMinimumDistanceLineLine::phiG
double phiG
Definition:
TwoTrackMinimumDistanceLineLine.h:39
TwoTrackMinimumDistanceLineLine::secondAngle
double secondAngle() const
Definition:
TwoTrackMinimumDistanceLineLine.h:37
TwoTrackMinimumDistanceLineLine::gPos
GlobalPoint gPos
Definition:
TwoTrackMinimumDistanceLineLine.h:41
Point3DBase< float, GlobalTag >
TwoTrackMinimumDistanceLineLine::pathG
double pathG
Definition:
TwoTrackMinimumDistanceLineLine.h:40
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5