#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 |
const GlobalTrajectoryParameters * | theG |
double | theg |
const GlobalTrajectoryParameters * | 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 13 of file TwoTrackMinimumDistanceHelixHelix.cc.
bool TwoTrackMinimumDistanceHelixHelix::calculate | ( | const GlobalTrajectoryParameters & | G, |
const GlobalTrajectoryParameters & | H, | ||
const float | qual = .001 |
||
) |
Definition at line 112 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 148 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().
|
inline |
|
private |
Definition at line 69 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, thesinpH, and testProducerWithPsetDescEmpty_cfi::z2.
Referenced by calculate().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 15 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().
|
private |
Definition at line 57 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and pathLength().
|
private |
Definition at line 57 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and pathLength().
|
private |
Definition at line 56 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and points().
|
private |
Definition at line 56 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and points().
|
private |
Definition at line 58 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), and finalPoints().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 55 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 55 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration(), and updateCoeffs().
|
private |
Definition at line 42 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), oneIteration(), and updateCoeffs().
|
private |
Definition at line 42 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), oneIteration(), and updateCoeffs().
|
private |
Definition at line 61 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate().
|
private |
Definition at line 60 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate().
|
private |
Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), firstAngle(), and oneIteration().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), oneIteration(), and secondAngle().
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by calculate(), finalPoints(), and updateCoeffs().
|
private |
Definition at line 60 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 54 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 54 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by oneIteration().
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 46 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().
|
private |
Definition at line 46 of file TwoTrackMinimumDistanceHelixHelix.h.
Referenced by finalPoints(), and updateCoeffs().