Package org.jlab.rec.cvt.svt
Class SVTGeometry
java.lang.Object
org.jlab.rec.cvt.svt.SVTGeometry
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
NREGIONSpublic static final int NREGIONS- See Also:
 
- 
NLAYERSpublic static final int NLAYERS- See Also:
 
- 
NSTRIPSpublic static final int NSTRIPS
- 
NSECTORSpublic static final int[] NSECTORS
- 
NPASSIVEpublic static final int NPASSIVE- See Also:
 
- 
lorentz
 
- 
- 
Constructor Details- 
SVTGeometry
 
- 
- 
Method Details- 
getTwinLayerpublic int getTwinLayer(int layer) 
- 
getLayerRadiuspublic static double getLayerRadius(int layer) 
- 
getRegionRadiuspublic static double getRegionRadius(int region) 
- 
getLayerGappublic static double getLayerGap()
- 
getLayerZ0public static double getLayerZ0(int layer) 
- 
getSectorPhipublic static double getSectorPhi(int layer, int sector) 
- 
getPitchpublic static double getPitch()
- 
getActiveSensorWidthpublic static double getActiveSensorWidth()
- 
getActiveSensorLengthpublic static double getActiveSensorLength()
- 
getModuleLengthpublic static double getModuleLength()
- 
getStrip0
- 
getStrip
- 
getModule
- 
getModuleIdpublic static int getModuleId(int layer, int sector) 
- 
getNormal
- 
getPlane
- 
getStripProjection
- 
getCross
- 
toLocal
- 
toGlobal
- 
toLocal
- 
toGlobal
- 
getDoca
- 
getResidual
- 
getLocalTrackReturn 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:
 
- 
getLocalAngleReturns 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
- 
getSectorDeprecated.
- 
calcNearestStrippublic int calcNearestStrip(double X, double Y, double Z, int layer, int sect) 
- 
getSingleStripResolutionpublic double getSingleStripResolution(int lay, int strip, double Z) 
- 
getXAtZpublic double getXAtZ(int layer, double centroidstrip, double Z) 
- 
isInFiducial
- 
isInside
- 
distanceToEdge
 
-