ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Trk::CylinderIntersector Struct Reference

#include <CylinderIntersector.h>

Collaboration diagram for Trk::CylinderIntersector:

Public Member Functions

 CylinderIntersector (double px, double py, double k, double xprime)
 

Public Attributes

double yOfX
 the result of x More...
 
double segLength
 length of the line segment More...
 

Detailed Description

Definition at line 20 of file CylinderIntersector.h.

Constructor & Destructor Documentation

◆ CylinderIntersector()

Trk::CylinderIntersector::CylinderIntersector ( double  px,
double  py,
double  k,
double  xprime 
)
inline

Definition at line 25 of file CylinderIntersector.h.

25  {
26  double deltax = xprime-px;
27  yOfX = py + k*(deltax);
28  double deltay = yOfX-py;
29  segLength = sqrt(deltax*deltax+deltay*deltay);
30  }

Member Data Documentation

◆ segLength

double Trk::CylinderIntersector::segLength

length of the line segment

Definition at line 23 of file CylinderIntersector.h.

◆ yOfX

double Trk::CylinderIntersector::yOfX

the result of x

Definition at line 22 of file CylinderIntersector.h.


The documentation for this struct was generated from the following file:
Trk::py
@ py
Definition: ParamDefs.h:60
Trk::CylinderIntersector::segLength
double segLength
length of the line segment
Definition: CylinderIntersector.h:23
Trk::px
@ px
Definition: ParamDefs.h:59
Trk::CylinderIntersector::yOfX
double yOfX
the result of x
Definition: CylinderIntersector.h:22
fitman.k
k
Definition: fitman.py:528