LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SurfYZPlane.h File Reference

Planar surface parallel to x-axis. More...

Go to the source code of this file.

Classes

class  trkf::SurfYZPlane
 

Namespaces

 trkf
 

Detailed Description

Planar surface parallel to x-axis.

Author
H. Greenlee

This class represents a planar surface parallel to the global x-axis, or equivalently, the normal vector is in the yz-plane.

This surface is defined by four parameters, which are, (x0, y0, z0) - Local origin in yz-plane. phi - Rotation angle around x-axis.

The local uvw coordinate system is related to the global xyz coordinate system as follows.

u = x-x0 v = (y-y0)*cos(phi) + (z-z0)*sin(phi) w = -(y-y0)*sin(phi) + (z-z0)*cos(phi)

or inversely,

x = x0 + u y = y0 + v*cos(phi) - w*sin(phi) z = z0 + v*sin(phi) + w*cos(phi)

Track parameters on this type of surface are as follows.

  1. u
  2. v
  3. du/dw
  4. dv/dw
  5. 1/p (nonmagnetic) or q/p (magnetic)

Definition in file SurfYZPlane.h.