Package org.jlab.rec.cvt.svt
Class SVTGeometry
java.lang.Object
org.jlab.rec.cvt.svt.SVTGeometry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
calcNearestStrip
(double X, double Y, double Z, int layer, int sect) double
distanceToEdge
(int layer, int sector, Point3D traj) static double
static double
double
getFaradayCageSurfaces
(int i) static double
static double
getLayerRadius
(int layer) static double
getLayerZ0
(int layer) double
getLocalAngle
(int layer, int sector, Vector3D trackDir) Returns angle of the track with respect to the normal to the module in the x-z plane defined abovegetLocalTrack
(int layer, int sector, Vector3D trackDir) Return track vector for local angle calculations 1) transform to the geometry service local frame first: y axis pointing toward the center, z axis pointing downstream along the module x axis given by y.cross(z) 2) for even layers, it rotates by 180 deg to have the y axis pointing outward *getModule
(int layer, int sector) static int
getModuleId
(int layer, int sector) static double
getNormal
(int layer, int sector) static double
getPitch()
getPlane
(int layer, int sector) static double
getRegionRadius
(int region) double
getResidual
(int layer, int sector, int strip, Point3D traj) int
Deprecated.static double
getSectorPhi
(int layer, int sector) double
getSingleStripResolution
(int lay, int strip, double Z) getStrip
(int layer, int sector, int strip) getStrip0
(int layer, int sector, int strip) getStripProjection
(Line3D strip, Plane3D plane, Vector3D dir) getSurface
(int layer, int sector, int stripId, double centroid, Line3D stripLine) getSurface
(int layer, int sector, Strip strip) int
getTwinLayer
(int layer) double
getXAtZ
(int layer, double centroidstrip, double Z) boolean
isInFiducial
(int layer, int sector, Point3D traj) boolean
-
Field Details
-
NREGIONS
public static final int NREGIONS- See Also:
-
NLAYERS
public static final int NLAYERS- See Also:
-
NSTRIPS
public static final int NSTRIPS -
NSECTORS
public static final int[] NSECTORS -
NPASSIVE
public static final int NPASSIVE- See Also:
-
lorentz
-
-
Constructor Details
-
SVTGeometry
-
-
Method Details
-
getTwinLayer
public int getTwinLayer(int layer) -
getLayerRadius
public static double getLayerRadius(int layer) -
getRegionRadius
public static double getRegionRadius(int region) -
getLayerGap
public static double getLayerGap() -
getLayerZ0
public static double getLayerZ0(int layer) -
getSectorPhi
public static double getSectorPhi(int layer, int sector) -
getPitch
public static double getPitch() -
getActiveSensorWidth
public static double getActiveSensorWidth() -
getActiveSensorLength
public static double getActiveSensorLength() -
getModuleLength
public static double getModuleLength() -
getStrip0
-
getStrip
-
getModule
-
getModuleId
public static int getModuleId(int layer, int sector) -
getNormal
-
getPlane
-
getStripProjection
-
getCross
-
toLocal
-
toGlobal
-
toLocal
-
toGlobal
-
getDoca
-
getResidual
-
getLocalTrack
Return track vector for local angle calculations 1) transform to the geometry service local frame first: y axis pointing toward the center, z axis pointing downstream along the module x axis given by y.cross(z) 2) for even layers, it rotates by 180 deg to have the y axis pointing outward *- Parameters:
layer
-sector
-trackDir
-- Returns:
-
getLocalAngle
Returns angle of the track with respect to the normal to the module in the x-z plane defined above- Parameters:
layer
-sector
-trackDir
-- Returns:
-
getSurfaces
-
getSurface
-
getSurface
-
getFaradayCageSurfaces
-
getSector
Deprecated. -
calcNearestStrip
public int calcNearestStrip(double X, double Y, double Z, int layer, int sect) -
getSingleStripResolution
public double getSingleStripResolution(int lay, int strip, double Z) -
getXAtZ
public double getXAtZ(int layer, double centroidstrip, double Z) -
isInFiducial
-
isInside
-
distanceToEdge
-