Class SVTGeometry
java.lang.Object
org.jlab.rec.cvt.svt.SVTGeometry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcalcNearestStrip(double X, double Y, double Z, int layer, int sect) doubledistanceToEdge(int layer, int sector, Point3D traj) static doublestatic doubledoublegetFaradayCageSurfaces(int i) static doublestatic doublegetLayerRadius(int layer) static doublegetLayerZ0(int layer) doublegetLocalAngle(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 intgetModuleId(int layer, int sector) static doublegetNormal(int layer, int sector) static doublegetPitch()getPlane(int layer, int sector) static doublegetRegionRadius(int region) doublegetResidual(int layer, int sector, int strip, Point3D traj) intDeprecated.static doublegetSectorPhi(int layer, int sector) doublegetSingleStripResolution(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) intgetTwinLayer(int layer) doublegetXAtZ(int layer, double centroidstrip, double Z) booleanisInFiducial(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
-