CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
TwoTrackMinimumDistanceHelixHelix Class Reference

#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 () const
 
bool oneIteration (double &, double &) const
 
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
 

Detailed Description

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.

Constructor & Destructor Documentation

TwoTrackMinimumDistanceHelixHelix::TwoTrackMinimumDistanceHelixHelix ( )

Definition at line 34 of file TwoTrackMinimumDistanceHelixHelix.cc.

TwoTrackMinimumDistanceHelixHelix::~TwoTrackMinimumDistanceHelixHelix ( )

Definition at line 38 of file TwoTrackMinimumDistanceHelixHelix.cc.

Member Function Documentation

bool TwoTrackMinimumDistanceHelixHelix::calculate ( const GlobalTrajectoryParameters G,
const GlobalTrajectoryParameters H,
const float  qual = .001 
)

Definition at line 143 of file TwoTrackMinimumDistanceHelixHelix.cc.

void TwoTrackMinimumDistanceHelixHelix::finalPoints ( ) const
private

Definition at line 169 of file TwoTrackMinimumDistanceHelixHelix.cc.

Referenced by pathLength(), and points().

double TwoTrackMinimumDistanceHelixHelix::firstAngle ( ) const
inline

Definition at line 40 of file TwoTrackMinimumDistanceHelixHelix.h.

References thepG.

bool TwoTrackMinimumDistanceHelixHelix::oneIteration ( double &  dH,
double &  dG 
) const
private

Definition at line 102 of file TwoTrackMinimumDistanceHelixHelix.cc.

std::pair<double, double> TwoTrackMinimumDistanceHelixHelix::pathLength ( ) const
inline
std::pair<GlobalPoint, GlobalPoint> TwoTrackMinimumDistanceHelixHelix::points ( ) const
inline
double TwoTrackMinimumDistanceHelixHelix::secondAngle ( ) const
inline

Definition at line 41 of file TwoTrackMinimumDistanceHelixHelix.h.

References thepH.

bool TwoTrackMinimumDistanceHelixHelix::updateCoeffs ( const GlobalPoint gpH,
const GlobalPoint gpG 
)
private

Definition at line 40 of file TwoTrackMinimumDistanceHelixHelix.cc.

Member Data Documentation

double TwoTrackMinimumDistanceHelixHelix::pathG
mutableprivate

Definition at line 66 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by pathLength().

double TwoTrackMinimumDistanceHelixHelix::pathH
mutableprivate

Definition at line 66 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by pathLength().

GlobalPoint TwoTrackMinimumDistanceHelixHelix::pointG
mutableprivate

Definition at line 65 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by points().

GlobalPoint TwoTrackMinimumDistanceHelixHelix::pointH
mutableprivate

Definition at line 65 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by points().

bool TwoTrackMinimumDistanceHelixHelix::pointsUpdated
mutableprivate

Definition at line 67 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by pathLength(), and points().

double TwoTrackMinimumDistanceHelixHelix::thea
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::theb
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thec1
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thec2
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thecospG
mutableprivate

Definition at line 64 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thecospG0
private

Definition at line 56 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thecospH
mutableprivate

Definition at line 64 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thecospH0
private

Definition at line 57 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thed1
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thed2
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thee1
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thee2
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

GlobalTrajectoryParameters const * TwoTrackMinimumDistanceHelixHelix::theG
private

Definition at line 51 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::theg
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

GlobalTrajectoryParameters const* TwoTrackMinimumDistanceHelixHelix::theH
private

Definition at line 51 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::theh
private

Definition at line 53 of file TwoTrackMinimumDistanceHelixHelix.h.

int TwoTrackMinimumDistanceHelixHelix::themaxiter
private

Definition at line 70 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::themaxjump
private

Definition at line 69 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thepG
mutableprivate

Definition at line 62 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by firstAngle().

double TwoTrackMinimumDistanceHelixHelix::thepG0
private

Definition at line 58 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thepH
mutableprivate

Definition at line 62 of file TwoTrackMinimumDistanceHelixHelix.h.

Referenced by secondAngle().

double TwoTrackMinimumDistanceHelixHelix::thepH0
private

Definition at line 58 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thesingjacI
private

Definition at line 69 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thesinpG
mutableprivate

Definition at line 63 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thesinpG0
private

Definition at line 56 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thesinpH
mutableprivate

Definition at line 63 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thesinpH0
private

Definition at line 57 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thetanlambdaG
private

Definition at line 55 of file TwoTrackMinimumDistanceHelixHelix.h.

double TwoTrackMinimumDistanceHelixHelix::thetanlambdaH
private

Definition at line 55 of file TwoTrackMinimumDistanceHelixHelix.h.