CMS 3D CMS Logo

TwoTrackMinimumDistanceHelixLine.h
Go to the documentation of this file.
1 #ifndef _Tracker_TwoTrackMinimumDistanceHelixLine_H_
2 #define _Tracker_TwoTrackMinimumDistanceHelixLine_H_
3 
6 #include <utility>
16 
18 public:
21 
30  const float qual = .0001); // retval=true? error occured.
31 
37  std::pair<GlobalPoint, GlobalPoint> points() const;
38  std::pair<double, double> pathLength() const;
39 
40  double firstAngle() const;
41  double secondAngle() const;
42 
43 private:
47  double X, Y, Z, px, py, pz, px2, py2, pz2, baseFct, baseDer;
49  double thePhiH;
50  double Hn, Ln;
51  double aa, bb, cc, dd, ee, ff;
52 
54  bool updateCoeffs();
55  void finalPoints();
56  bool oneIteration(double &thePhiH, double &fct, double &derivative) const;
58  double tL, linePath, helixPath;
60 };
61 #endif
Vector3DBase
Definition: Vector3DBase.h:8
TwoTrackMinimumDistanceHelixLine::thePhiH0
double thePhiH0
Definition: TwoTrackMinimumDistanceHelixLine.h:48
TwoTrackMinimumDistanceHelixLine::tL
double tL
Definition: TwoTrackMinimumDistanceHelixLine.h:58
TwoTrackMinimumDistanceHelixLine::pz
double pz
Definition: TwoTrackMinimumDistanceHelixLine.h:47
funct::false
false
Definition: Factorize.h:34
TwoTrackMinimumDistanceHelixLine::Hn
double Hn
Definition: TwoTrackMinimumDistanceHelixLine.h:50
TwoTrackMinimumDistanceHelixLine
Definition: TwoTrackMinimumDistanceHelixLine.h:17
TwoTrackMinimumDistanceHelixLine::aa
double aa
Definition: TwoTrackMinimumDistanceHelixLine.h:51
TwoTrackMinimumDistanceHelixLine::theh
double theh
Definition: TwoTrackMinimumDistanceHelixLine.h:48
TwoTrackMinimumDistanceHelixLine::dd
double dd
Definition: TwoTrackMinimumDistanceHelixLine.h:51
TwoTrackMinimumDistanceHelixLine::firstAngle
double firstAngle() const
Definition: TwoTrackMinimumDistanceHelixLine.cc:139
TwoTrackMinimumDistanceHelixLine::theH
const GlobalTrajectoryParameters * theH
Definition: TwoTrackMinimumDistanceHelixLine.h:44
TwoTrackMinimumDistanceHelixLine::pointsUpdated
bool pointsUpdated
Definition: TwoTrackMinimumDistanceHelixLine.h:59
TwoTrackMinimumDistanceHelixLine::firstGTP
const GlobalTrajectoryParameters * firstGTP
Definition: TwoTrackMinimumDistanceHelixLine.h:44
funct::derivative
Derivative< X, A >::type derivative(const A &_)
Definition: Derivative.h:18
TwoTrackMinimumDistanceHelixLine::finalPoints
void finalPoints()
Definition: TwoTrackMinimumDistanceHelixLine.cc:167
TwoTrackMinimumDistanceHelixLine::thecosPhiH0
double thecosPhiH0
Definition: TwoTrackMinimumDistanceHelixLine.h:48
TwoTrackMinimumDistanceHelixLine::linePoint
GlobalPoint linePoint
Definition: TwoTrackMinimumDistanceHelixLine.h:57
TwoTrackMinimumDistanceHelixLine::TwoTrackMinimumDistanceHelixLine
TwoTrackMinimumDistanceHelixLine()
Definition: TwoTrackMinimumDistanceHelixLine.h:19
TwoTrackMinimumDistanceHelixLine::secondGTP
const GlobalTrajectoryParameters * secondGTP
Definition: TwoTrackMinimumDistanceHelixLine.h:44
TwoTrackMinimumDistanceHelixLine::pz2
double pz2
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::updateCoeffs
bool updateCoeffs()
Definition: TwoTrackMinimumDistanceHelixLine.cc:10
TwoTrackMinimumDistanceHelixLine::oneIteration
bool oneIteration(double &thePhiH, double &fct, double &derivative) const
Definition: TwoTrackMinimumDistanceHelixLine.cc:77
TwoTrackMinimumDistanceHelixLine::ff
double ff
Definition: TwoTrackMinimumDistanceHelixLine.h:51
TwoTrackMinimumDistanceHelixLine::Y
double Y
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::Z
double Z
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::px
double px
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::Ln
double Ln
Definition: TwoTrackMinimumDistanceHelixLine.h:50
TwoTrackMinimumDistanceHelixLine::px2
double px2
Definition: TwoTrackMinimumDistanceHelixLine.h:47
GlobalTrajectoryParameters
Definition: GlobalTrajectoryParameters.h:15
TwoTrackMinimumDistanceHelixLine::points
std::pair< GlobalPoint, GlobalPoint > points() const
Definition: TwoTrackMinimumDistanceHelixLine.cc:153
Point3DBase< float, GlobalTag >
TwoTrackMinimumDistanceHelixLine::posDiff
GlobalVector posDiff
Definition: TwoTrackMinimumDistanceHelixLine.h:45
TwoTrackMinimumDistanceHelixLine::X
double X
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::bb
double bb
Definition: TwoTrackMinimumDistanceHelixLine.h:51
TwoTrackMinimumDistanceHelixLine::helixPath
double helixPath
Definition: TwoTrackMinimumDistanceHelixLine.h:58
TwoTrackMinimumDistanceHelixLine::thesinPhiH0
double thesinPhiH0
Definition: TwoTrackMinimumDistanceHelixLine.h:48
TwoTrackMinimumDistanceHelixLine::themaxiter
int themaxiter
Definition: TwoTrackMinimumDistanceHelixLine.h:53
TwoTrackMinimumDistanceHelixLine::pathLength
std::pair< double, double > pathLength() const
Definition: TwoTrackMinimumDistanceHelixLine.cc:160
TwoTrackMinimumDistanceHelixLine::thePhiH
double thePhiH
Definition: TwoTrackMinimumDistanceHelixLine.h:49
TwoTrackMinimumDistanceHelixLine::ee
double ee
Definition: TwoTrackMinimumDistanceHelixLine.h:51
TwoTrackMinimumDistanceHelixLine::cc
double cc
Definition: TwoTrackMinimumDistanceHelixLine.h:51
TwoTrackMinimumDistanceHelixLine::theLp
GlobalVector theLp
Definition: TwoTrackMinimumDistanceHelixLine.h:46
TwoTrackMinimumDistanceHelixLine::thetanlambdaH
double thetanlambdaH
Definition: TwoTrackMinimumDistanceHelixLine.h:48
TwoTrackMinimumDistanceHelixLine::baseFct
double baseFct
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::baseDer
double baseDer
Definition: TwoTrackMinimumDistanceHelixLine.h:47
GlobalVector.h
TwoTrackMinimumDistanceHelixLine::~TwoTrackMinimumDistanceHelixLine
~TwoTrackMinimumDistanceHelixLine()
Definition: TwoTrackMinimumDistanceHelixLine.h:20
TwoTrackMinimumDistanceHelixLine::helixPoint
GlobalPoint helixPoint
Definition: TwoTrackMinimumDistanceHelixLine.h:57
TwoTrackMinimumDistanceHelixLine::theL
const GlobalTrajectoryParameters * theL
Definition: TwoTrackMinimumDistanceHelixLine.h:44
TwoTrackMinimumDistanceHelixLine::py2
double py2
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::linePath
double linePath
Definition: TwoTrackMinimumDistanceHelixLine.h:58
GlobalPoint.h
TwoTrackMinimumDistanceHelixLine::py
double py
Definition: TwoTrackMinimumDistanceHelixLine.h:47
TwoTrackMinimumDistanceHelixLine::calculate
bool calculate(const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &, const float qual=.0001)
Definition: TwoTrackMinimumDistanceHelixLine.cc:105
TwoTrackMinimumDistanceHelixLine::secondAngle
double secondAngle() const
Definition: TwoTrackMinimumDistanceHelixLine.cc:146