GeneralBrokenLines V03-01-02
gblpy
|
Simple helix. More...
Public Member Functions | |
def | __init__ (self, parameter) |
Constructor. More... | |
def | getPrediction (self, refPos, uDir, vDir) |
Get prediction. More... | |
def | getArcLengthXY (self, xPos, yPos) |
Get (2D) arc length for given point. More... | |
def | moveTo (self, newRefPoint) |
Change reference point. More... | |
Private Attributes | |
__rinv | |
curvature (in XY) More... | |
__phi0 | |
flight direction at point of closest approach (in XY) More... | |
__dir0 | |
direction vector at point of closest approach (in XY) More... | |
__dca | |
distance of closest approach in (XY) More... | |
__dzds | |
dZ/ds More... | |
__z0 | |
Z position at distance of closest approach. More... | |
__xRelCenter | |
XY circle parameter: X position of center / R. More... | |
__yRelCenter | |
XY circle parameter: Y position of center / R. More... | |
Simple helix.
Assuming constant magnetic field in (positive) Z-direction
def gblsit.gblSimpleHelix.__init__ | ( | self, | |
parameter | |||
) |
def gblsit.gblSimpleHelix.getArcLengthXY | ( | self, | |
xPos, | |||
yPos | |||
) |
Get (2D) arc length for given point.
Arc length from dca to point on circle on intersection with line from circle center to given point
[in] | xPos | X Position; float |
[in] | yPos | Y Position; float |
Definition at line 573 of file gblsit.py.
References gblsit.gblSimpleHelix.__dir0, gblsit.gblSimpleHelix.__phi0, gblsit.gblSimpleHelix.__rinv, gblsit.gblSimpleHelix.__xRelCenter, and gblsit.gblSimpleHelix.__yRelCenter.
Referenced by gblsit.gblSimpleHelix.getPrediction().
def gblsit.gblSimpleHelix.getPrediction | ( | self, | |
refPos, | |||
uDir, | |||
vDir | |||
) |
Get prediction.
Get prediction from intersection of helix with measurement plane.
[in] | refPos | reference position on detector plane; vector |
[in] | uDir | measurement direction 'u'; vector |
[in] | vDir | measurement direction 'v'; vector |
Definition at line 522 of file gblsit.py.
References gblsit.gblSimpleHelix.__dca, gblsit.gblSimpleHelix.__dir0, gblsit.gblSimpleHelix.__dzds, gblsit.gblSimpleHelix.__phi0, gblsit.gblSimpleHelix.__rinv, gblsit.gblSimpleHelix.__xRelCenter, gblsit.gblSimpleHelix.__yRelCenter, gblsit.gblSimpleHelix.__z0, and gblsit.gblSimpleHelix.getArcLengthXY().
def gblsit.gblSimpleHelix.moveTo | ( | self, | |
newRefPoint | |||
) |
Change reference point.
[in] | newRefPoint | new reference point (in XY); vector |
Based on V. Karimaki, NIM A305 (1991) 187-191, eqn (19)
Definition at line 591 of file gblsit.py.
References gblsit.gblSimpleHelix.__dca, gblsit.gblSimpleHelix.__dir0, gblsit.gblSimpleHelix.__dzds, gblsit.gblSimpleHelix.__phi0, gblsit.gblSimpleHelix.__rinv, and gblsit.gblSimpleHelix.__z0.
|
private |
distance of closest approach in (XY)
Definition at line 503 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getPrediction(), and gblsit.gblSimpleHelix.moveTo().
|
private |
direction vector at point of closest approach (in XY)
Definition at line 501 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getArcLengthXY(), gblsit.gblSimpleHelix.getPrediction(), and gblsit.gblSimpleHelix.moveTo().
|
private |
dZ/ds
Definition at line 505 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getPrediction(), and gblsit.gblSimpleHelix.moveTo().
|
private |
flight direction at point of closest approach (in XY)
Definition at line 499 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getArcLengthXY(), gblsit.gblSimpleHelix.getPrediction(), and gblsit.gblSimpleHelix.moveTo().
|
private |
curvature (in XY)
Definition at line 497 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getArcLengthXY(), gblsit.gblSimpleHelix.getPrediction(), and gblsit.gblSimpleHelix.moveTo().
|
private |
XY circle parameter: X position of center / R.
Definition at line 509 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getArcLengthXY(), and gblsit.gblSimpleHelix.getPrediction().
|
private |
XY circle parameter: Y position of center / R.
Definition at line 511 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getArcLengthXY(), and gblsit.gblSimpleHelix.getPrediction().
|
private |
Z position at distance of closest approach.
Definition at line 507 of file gblsit.py.
Referenced by gblsit.gblSimpleHelix.getPrediction(), and gblsit.gblSimpleHelix.moveTo().