public class SurfCylinder extends Surface
The corresponding track parameters are:
The curvature is signed pointing along +z (i.e. phi_dir is increasing if curvature is positive). sin(lambda) = dz/ds;
This class serves as a base class for bounded cylinders.
Modifier and Type | Field and Description |
---|---|
protected double |
_radius |
static int |
IALF |
static int |
IPHI |
static int |
IQPT |
static int |
ITLM |
static int |
IZ |
static int |
RADIUS |
Constructor and Description |
---|
SurfCylinder(double radius)
Construct an instance specifying the cylinder radius.
|
SurfCylinder(SurfCylinder srf)
Construct an instance duplicating the SurfCylinder (copy constructor).
|
Modifier and Type | Method and Description |
---|---|
TrackSurfaceDirection |
direction(TrackVector vec)
Return the direction.
|
Surface |
newPureSurface()
Return a copy of the underlying pure Surface.
|
Surface |
newSurface()
Return a copy of the underlying Surface.
|
double |
parameter(int ipar)
Return the surface parameter.
|
CrossStat |
pureStatus(VTrack trv)
Find the crossing status for a track vector without error.
|
String |
pureType()
Return a String representation of the class' type name.
|
double |
qOverP(TrackVector vec)
Return the signed inverse momentum, q/p.
|
double |
radius()
Return the radius.
|
protected boolean |
safePureEqual(Surface srf) |
protected boolean |
safePureLessThan(Surface srf) |
SpacePath |
spacePath(TrackVector vec,
TrackSurfaceDirection dir)
Return the space vector for a track vector.
|
SpacePoint |
spacePoint(TrackVector vec)
Return the space point for a track vector.
|
static String |
staticType()
Return a String representation of the class' type name.
|
String |
toString()
output stream
|
static String |
typeName()
Return a String representation of the class' type name.
|
TrackVector |
vecDiff(TrackVector vec1,
TrackVector vec2)
Return the vector difference of two tracks on this surface.
|
boundEqual, equals, genericType, getInteractor, interact, isPure, pureEqual, pureLessThan, safeBoundEqual, setInteractor, setSimInteractor, simInteract, simInteractor, status, status, type
public static final int RADIUS
public static final int IPHI
public static final int IZ
public static final int IALF
public static final int ITLM
public static final int IQPT
protected double _radius
public SurfCylinder(double radius)
radius
- The radius of the cylindrical surface.public SurfCylinder(SurfCylinder srf)
srf
- The SurfCylinder to replicate.public static String typeName()
public static String staticType()
protected boolean safePureEqual(Surface srf)
safePureEqual
in class Surface
protected boolean safePureLessThan(Surface srf)
safePureLessThan
in class Surface
public String pureType()
public Surface newPureSurface()
newPureSurface
in class Surface
public Surface newSurface()
newSurface
in class Surface
public CrossStat pureStatus(VTrack trv)
pureStatus
in class Surface
trv
- The VTrack to test.public double parameter(int ipar)
public double radius()
public SpacePoint spacePoint(TrackVector vec)
spacePoint
in class Surface
vec
- The TrackVector at this Surface.public SpacePath spacePath(TrackVector vec, TrackSurfaceDirection dir)
public double qOverP(TrackVector vec)
public TrackSurfaceDirection direction(TrackVector vec)
public String toString()
public TrackVector vecDiff(TrackVector vec1, TrackVector vec2)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.