Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
28
bool
calculate
(
const
GlobalTrajectoryParameters
&,
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
;
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:59
TwoTrackMinimumDistanceLineLine::firstAngle
double firstAngle() const
Definition:
TwoTrackMinimumDistanceLineLine.h:34
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
TwoTrackMinimumDistanceLineLine::phiH
double phiH
Definition:
TwoTrackMinimumDistanceLineLine.h:38
TwoTrackMinimumDistanceLineLine::calculate
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &)
Definition:
TwoTrackMinimumDistanceLineLine.cc:7
TwoTrackMinimumDistanceLineLine::hPos
GlobalPoint hPos
Definition:
TwoTrackMinimumDistanceLineLine.h:40
TwoTrackMinimumDistanceLineLine::pathLength
std::pair< double, double > pathLength() const
Definition:
TwoTrackMinimumDistanceLineLine.cc:63
TwoTrackMinimumDistanceLineLine
Definition:
TwoTrackMinimumDistanceLineLine.h:17
TwoTrackMinimumDistanceLineLine::phiG
double phiG
Definition:
TwoTrackMinimumDistanceLineLine.h:38
TwoTrackMinimumDistanceLineLine::secondAngle
double secondAngle() const
Definition:
TwoTrackMinimumDistanceLineLine.h:35
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.5