TrackingTools
PatternTools
interface
TwoTrackMinimumDistanceHelixHelix.h
Go to the documentation of this file.
1
#ifndef _Tracker_TwoTrackMinimumDistanceHelixHelix_H_
2
#define _Tracker_TwoTrackMinimumDistanceHelixHelix_H_
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
// #include <string>
6
// #include <sstream>
7
#include <utility>
8
16
class
GlobalTrajectoryParameters
;
17
18
class
TwoTrackMinimumDistanceHelixHelix
{
19
public
:
20
TwoTrackMinimumDistanceHelixHelix
();
21
~TwoTrackMinimumDistanceHelixHelix
();
22
23
bool
calculate
(
const
GlobalTrajectoryParameters
&,
24
const
GlobalTrajectoryParameters
&,
25
const
float
qual = .001);
// retval=true? error occured.
26
27
std::pair<GlobalPoint, GlobalPoint>
points
()
const
{
return
std::pair<GlobalPoint, GlobalPoint>(
pointG
,
pointH
); }
28
29
std::pair<double, double>
pathLength
()
const
{
return
std::pair<double, double>(
pathG
,
pathH
); }
30
31
double
firstAngle
()
const
{
return
thepG
; }
32
double
secondAngle
()
const
{
return
thepH
; }
33
34
private
:
35
bool
updateCoeffs
(
const
GlobalPoint
&,
const
GlobalPoint
&);
36
bool
oneIteration
(
double
&,
double
&);
37
38
// bool parallelTracks () const;
39
void
finalPoints
();
40
41
private
:
42
GlobalTrajectoryParameters
const
*
theH
, *
theG
;
43
// the 'GH-track data' (constants)
44
double
thea
,
theb
,
thec1
,
thec2
,
thed1
,
thed2
,
thee1
,
thee2
,
theg
,
theh
;
45
// double thelambdaG, thelambdaH;
46
double
thetanlambdaG
,
thetanlambdaH
;
47
double
thesinpG0
,
thecospG0
;
48
double
thesinpH0
,
thecospH0
;
49
double
thepG0
,
thepH0
;
50
51
// the variable stuff
52
// = the point we are currently looking at.
53
double
thepG
,
thepH
;
54
double
thesinpG
,
thesinpH
;
55
double
thecospG
,
thecospH
;
56
GlobalPoint
pointG
,
pointH
;
57
double
pathG
,
pathH
;
58
bool
pointsUpdated
;
59
60
double
themaxjump
,
thesingjacI
;
61
int
themaxiter
;
62
};
63
#endif
TwoTrackMinimumDistanceHelixHelix::thesinpH0
double thesinpH0
Definition:
TwoTrackMinimumDistanceHelixHelix.h:48
TwoTrackMinimumDistanceHelixHelix::thed1
double thed1
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::thetanlambdaG
double thetanlambdaG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:46
TwoTrackMinimumDistanceHelixHelix::firstAngle
double firstAngle() const
Definition:
TwoTrackMinimumDistanceHelixHelix.h:31
TwoTrackMinimumDistanceHelixHelix::thepH
double thepH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:53
TwoTrackMinimumDistanceHelixHelix::pathLength
std::pair< double, double > pathLength() const
Definition:
TwoTrackMinimumDistanceHelixHelix.h:29
TwoTrackMinimumDistanceHelixHelix
Definition:
TwoTrackMinimumDistanceHelixHelix.h:18
TwoTrackMinimumDistanceHelixHelix::thesinpH
double thesinpH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:54
TwoTrackMinimumDistanceHelixHelix::theG
const GlobalTrajectoryParameters * theG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:42
TwoTrackMinimumDistanceHelixHelix::pathH
double pathH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:57
TwoTrackMinimumDistanceHelixHelix::thecospG
double thecospG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:55
TwoTrackMinimumDistanceHelixHelix::thec2
double thec2
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::finalPoints
void finalPoints()
Definition:
TwoTrackMinimumDistanceHelixHelix.cc:148
TwoTrackMinimumDistanceHelixHelix::~TwoTrackMinimumDistanceHelixHelix
~TwoTrackMinimumDistanceHelixHelix()
Definition:
TwoTrackMinimumDistanceHelixHelix.cc:13
TwoTrackMinimumDistanceHelixHelix::TwoTrackMinimumDistanceHelixHelix
TwoTrackMinimumDistanceHelixHelix()
Definition:
TwoTrackMinimumDistanceHelixHelix.cc:10
TwoTrackMinimumDistanceHelixHelix::pointG
GlobalPoint pointG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:56
TwoTrackMinimumDistanceHelixHelix::pointsUpdated
bool pointsUpdated
Definition:
TwoTrackMinimumDistanceHelixHelix.h:58
TwoTrackMinimumDistanceHelixHelix::thecospH
double thecospH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:55
TwoTrackMinimumDistanceHelixHelix::pointH
GlobalPoint pointH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:56
TwoTrackMinimumDistanceHelixHelix::thecospG0
double thecospG0
Definition:
TwoTrackMinimumDistanceHelixHelix.h:47
TwoTrackMinimumDistanceHelixHelix::thee2
double thee2
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
Point3DBase< float, GlobalTag >
TwoTrackMinimumDistanceHelixHelix::theb
double theb
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::thec1
double thec1
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::thed2
double thed2
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::secondAngle
double secondAngle() const
Definition:
TwoTrackMinimumDistanceHelixHelix.h:32
TwoTrackMinimumDistanceHelixHelix::thesingjacI
double thesingjacI
Definition:
TwoTrackMinimumDistanceHelixHelix.h:60
TwoTrackMinimumDistanceHelixHelix::calculate
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &, const float qual=.001)
Definition:
TwoTrackMinimumDistanceHelixHelix.cc:112
TwoTrackMinimumDistanceHelixHelix::thea
double thea
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::pathG
double pathG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:57
TwoTrackMinimumDistanceHelixHelix::thepH0
double thepH0
Definition:
TwoTrackMinimumDistanceHelixHelix.h:49
TwoTrackMinimumDistanceHelixHelix::thepG
double thepG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:53
TwoTrackMinimumDistanceHelixHelix::points
std::pair< GlobalPoint, GlobalPoint > points() const
Definition:
TwoTrackMinimumDistanceHelixHelix.h:27
TwoTrackMinimumDistanceHelixHelix::oneIteration
bool oneIteration(double &, double &)
Definition:
TwoTrackMinimumDistanceHelixHelix.cc:69
TwoTrackMinimumDistanceHelixHelix::theg
double theg
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::thee1
double thee1
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::theh
double theh
Definition:
TwoTrackMinimumDistanceHelixHelix.h:44
TwoTrackMinimumDistanceHelixHelix::themaxjump
double themaxjump
Definition:
TwoTrackMinimumDistanceHelixHelix.h:60
TwoTrackMinimumDistanceHelixHelix::thetanlambdaH
double thetanlambdaH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:46
TwoTrackMinimumDistanceHelixHelix::theH
const GlobalTrajectoryParameters * theH
Definition:
TwoTrackMinimumDistanceHelixHelix.h:42
TwoTrackMinimumDistanceHelixHelix::thepG0
double thepG0
Definition:
TwoTrackMinimumDistanceHelixHelix.h:49
TwoTrackMinimumDistanceHelixHelix::updateCoeffs
bool updateCoeffs(const GlobalPoint &, const GlobalPoint &)
Definition:
TwoTrackMinimumDistanceHelixHelix.cc:15
GlobalPoint.h
TwoTrackMinimumDistanceHelixHelix::thecospH0
double thecospH0
Definition:
TwoTrackMinimumDistanceHelixHelix.h:48
TwoTrackMinimumDistanceHelixHelix::thesinpG
double thesinpG
Definition:
TwoTrackMinimumDistanceHelixHelix.h:54
TwoTrackMinimumDistanceHelixHelix::thesinpG0
double thesinpG0
Definition:
TwoTrackMinimumDistanceHelixHelix.h:47
TwoTrackMinimumDistanceHelixHelix::themaxiter
int themaxiter
Definition:
TwoTrackMinimumDistanceHelixHelix.h:61
Generated for CMSSW Reference Manual by
1.8.16