#include <TwoTrackMinimumDistanceHelixHelix.h>
Public Member Functions | |
bool | calculate (const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &, const float qual=.001) |
double | firstAngle () const |
std::pair< double, double > | pathLength () const |
std::pair< GlobalPoint, GlobalPoint > | points () const |
double | secondAngle () const |
TwoTrackMinimumDistanceHelixHelix () | |
~TwoTrackMinimumDistanceHelixHelix () | |
Private Member Functions | |
void | finalPoints () |
bool | oneIteration (double &, double &) |
bool | updateCoeffs (const GlobalPoint &, const GlobalPoint &) |
Private Attributes | |
double | pathG |
double | pathH |
GlobalPoint | pointG |
GlobalPoint | pointH |
bool | pointsUpdated |
double | thea |
double | theb |
double | thec1 |
double | thec2 |
double | thecospG |
double | thecospG0 |
double | thecospH |
double | thecospH0 |
double | thed1 |
double | thed2 |
double | thee1 |
double | thee2 |
GlobalTrajectoryParameters const * | theG |
double | theg |
GlobalTrajectoryParameters const * | theH |
double | theh |
int | themaxiter |
double | themaxjump |
double | thepG |
double | thepG0 |
double | thepH |
double | thepH0 |
double | thesingjacI |
double | thesinpG |
double | thesinpG0 |
double | thesinpH |
double | thesinpH0 |
double | thetanlambdaG |
double | thetanlambdaH |
This is a helper class for TwoTrackMinimumDistance. No user should need direct access to this class. It actually implements a Newton-Kantorowitsch method for finding the minimum distance between two tracks.
Definition at line 18 of file TwoTrackMinimumDistanceHelixHelix.h.
TwoTrackMinimumDistanceHelixHelix::TwoTrackMinimumDistanceHelixHelix | ( | ) |
Definition at line 10 of file TwoTrackMinimumDistanceHelixHelix.cc.
TwoTrackMinimumDistanceHelixHelix::~TwoTrackMinimumDistanceHelixHelix | ( | ) |
Definition at line 14 of file TwoTrackMinimumDistanceHelixHelix.cc.
bool TwoTrackMinimumDistanceHelixHelix::calculate | ( | const GlobalTrajectoryParameters & | G, |
const GlobalTrajectoryParameters & | H, | ||
const float | qual = .001 |
||
) |
Definition at line 119 of file TwoTrackMinimumDistanceHelixHelix.cc.
References finalPoints(), callgraph::G, class-composition::H, edm::isNotFinite(), oneIteration(), pointsUpdated, GlobalTrajectoryParameters::position(), theG, theg, theH, theh, themaxiter, themaxjump, thepG, thepG0, thepH, thepH0, and updateCoeffs().
|
private |
Definition at line 151 of file TwoTrackMinimumDistanceHelixHelix.cc.
References funct::cos(), pathG, pathH, pointG, pointH, pointsUpdated, GlobalTrajectoryParameters::position(), funct::sin(), mathSSE::sqrt(), thecospG0, thecospH0, theG, theg, theH, theh, thepG, thepG0, thepH, thepH0, thesinpG0, thesinpH0, thetanlambdaG, and thetanlambdaH.
Referenced by calculate(), and secondAngle().
|
inline |
Definition at line 36 of file TwoTrackMinimumDistanceHelixHelix.h.
References thepG.
|
private |
Definition at line 78 of file TwoTrackMinimumDistanceHelixHelix.cc.
References funct::cos(), funct::sin(), thea, theb, thec1, thec2, thecospG, thecospH, thed1, thed2, thee1, thee2, theg, theh, thepG, thepH, thesingjacI, thesinpG, and thesinpH.
Referenced by calculate(), and secondAngle().
|
inline |
Definition at line 32 of file TwoTrackMinimumDistanceHelixHelix.h.
|
inline |
Definition at line 28 of file TwoTrackMinimumDistanceHelixHelix.h.
References pointG, and pointH.
|
inline |
Definition at line 37 of file TwoTrackMinimumDistanceHelixHelix.h.
References finalPoints(), oneIteration(), thepH, and updateCoeffs().
|
private |
Definition at line 16 of file TwoTrackMinimumDistanceHelixHelix.cc.
References GlobalTrajectoryParameters::charge(), MagneticField::inInverseGeV(), GlobalTrajectoryParameters::magneticField(), GlobalTrajectoryParameters::momentum(), PV3DBase< T, PVType, FrameType >::perp(), GlobalTrajectoryParameters::position(), thea, theb, thec1, thec2, thecospG0, thecospH0, thed1, thed2, thee1, thee2, theG, theg, theH, theh, thepG0, thepH0, thesinpG0, thesinpH0, thetanlambdaG, thetanlambdaH, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by calculate(), and secondAngle().
|
private |
Definition at line 62 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and pathLength().
|
private |
Definition at line 62 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and pathLength().
|
private |
Definition at line 61 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and points().
|
private |
Definition at line 61 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and points().
|
private |
Definition at line 63 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), and finalPoints().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 60 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 52 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 60 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), oneIteration(), and updateCoeffs().
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), oneIteration(), and updateCoeffs().
|
private |
Definition at line 66 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate().
|
private |
Definition at line 65 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate().
|
private |
Definition at line 58 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), firstAngle(), and oneIteration().
|
private |
Definition at line 54 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 58 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), oneIteration(), and secondAngle().
|
private |
Definition at line 54 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 65 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 59 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 52 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 59 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().