#include <TwoTrackMinimumDistanceHelixLine.h>
Public Member Functions | |
bool | calculate (const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &, const float qual=.0001) |
double | firstAngle () const |
std::pair< double, double > | pathLength () const |
std::pair< GlobalPoint, GlobalPoint > | points () const |
double | secondAngle () const |
TwoTrackMinimumDistanceHelixLine () | |
~TwoTrackMinimumDistanceHelixLine () | |
Private Member Functions | |
void | finalPoints () |
bool | oneIteration (double &thePhiH, double &fct, double &derivative) const |
bool | updateCoeffs () |
Private Attributes | |
double | aa |
double | baseDer |
double | baseFct |
double | bb |
double | cc |
double | dd |
double | ee |
double | ff |
const GlobalTrajectoryParameters * | firstGTP |
double | helixPath |
GlobalPoint | helixPoint |
double | Hn |
double | linePath |
GlobalPoint | linePoint |
double | Ln |
bool | pointsUpdated |
GlobalVector | posDiff |
double | px |
double | px2 |
double | py |
double | py2 |
double | pz |
double | pz2 |
const GlobalTrajectoryParameters * | secondGTP |
double | thecosPhiH0 |
const GlobalTrajectoryParameters * | theH |
double | theh |
const GlobalTrajectoryParameters * | theL |
GlobalVector | theLp |
int | themaxiter |
double | thePhiH |
double | thePhiH0 |
double | thesinPhiH0 |
double | thetanlambdaH |
double | tL |
double | X |
double | Y |
double | Z |
This is a helper class for TwoTrackMinimumDistance, for the case where one of the tracks is charged and the other not. No user should need direct access to this class. It implements a Newton method for finding the minimum distance between two tracks.
Definition at line 17 of file TwoTrackMinimumDistanceHelixLine.h.
|
inline |
Definition at line 19 of file TwoTrackMinimumDistanceHelixLine.h.
|
inline |
Definition at line 20 of file TwoTrackMinimumDistanceHelixLine.h.
bool TwoTrackMinimumDistanceHelixLine::calculate | ( | const GlobalTrajectoryParameters & | theFirstGTP, |
const GlobalTrajectoryParameters & | theSecondGTP, | ||
const float | qual = .0001 |
||
) |
Calculates the PCA between a charged particle (helix) and a neutral particle (line). The order of the trajectories (helix-line or line-helix) is irrelevent, and will be conserved.
Definition at line 105 of file TwoTrackMinimumDistanceHelixLine.cc.
References dqmiolumiharvest::j, LogDebug, M_PI, and l1tGTMenu_lepSeeds_cff::qual.
|
private |
Definition at line 167 of file TwoTrackMinimumDistanceHelixLine.cc.
References funct::cos(), change_name::diff, PV3DBase< T, PVType, FrameType >::mag(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, funct::sin(), and mathSSE::sqrt().
double TwoTrackMinimumDistanceHelixLine::firstAngle | ( | ) | const |
Definition at line 139 of file TwoTrackMinimumDistanceHelixLine.cc.
|
private |
Definition at line 77 of file TwoTrackMinimumDistanceHelixLine.cc.
References gpuPixelDoublets::cc, funct::cos(), createTree::dd, funct::derivative(), alignCSCRings::ff, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and funct::sin().
pair< double, double > TwoTrackMinimumDistanceHelixLine::pathLength | ( | ) | const |
Definition at line 160 of file TwoTrackMinimumDistanceHelixLine.cc.
pair< GlobalPoint, GlobalPoint > TwoTrackMinimumDistanceHelixLine::points | ( | ) | const |
Returns the PCA's on the two trajectories. The first point lies on the first trajectory, the second point on the second trajectory.
Definition at line 153 of file TwoTrackMinimumDistanceHelixLine.cc.
double TwoTrackMinimumDistanceHelixLine::secondAngle | ( | ) | const |
Definition at line 146 of file TwoTrackMinimumDistanceHelixLine.cc.
|
private |
Definition at line 10 of file TwoTrackMinimumDistanceHelixLine.cc.
References gpuPixelDoublets::cc, funct::cos(), createTree::dd, alignCSCRings::ff, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, funct::sin(), mathSSE::sqrt(), X, beamSpotPI::Y, and beamSpotPI::Z.
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixLine.h.
Referenced by geometryXMLparser.Alignable::covariance().
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixLine.h.
Referenced by geometryXMLparser.Alignable::covariance().
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixLine.h.
Referenced by geometryXMLparser.Alignable::covariance().
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 51 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 58 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 57 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 50 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 58 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 57 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 50 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 59 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 45 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 44 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 46 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 53 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 49 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 48 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 58 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
Referenced by svgfig.Curve.Sample::__repr__().
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.
|
private |
Definition at line 47 of file TwoTrackMinimumDistanceHelixLine.h.