Class SVTGeometry

java.lang.Object
org.jlab.rec.cvt.svt.SVTGeometry

public class SVTGeometry extends Object
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • getTwinLayer Link icon

      public int getTwinLayer(int layer)
    • getLayerRadius Link icon

      public static double getLayerRadius(int layer)
    • getRegionRadius Link icon

      public static double getRegionRadius(int region)
    • getLayerGap Link icon

      public static double getLayerGap()
    • getLayerZ0 Link icon

      public static double getLayerZ0(int layer)
    • getSectorPhi Link icon

      public static double getSectorPhi(int layer, int sector)
    • getPitch Link icon

      public static double getPitch()
    • getActiveSensorWidth Link icon

      public static double getActiveSensorWidth()
    • getActiveSensorLength Link icon

      public static double getActiveSensorLength()
    • getModuleLength Link icon

      public static double getModuleLength()
    • getStrip0 Link icon

      public Line3D getStrip0(int layer, int sector, int strip)
    • getStrip Link icon

      public Line3D getStrip(int layer, int sector, int strip)
    • getModule Link icon

      public Line3D getModule(int layer, int sector)
    • getModuleId Link icon

      public static int getModuleId(int layer, int sector)
    • getNormal Link icon

      public Vector3D getNormal(int layer, int sector)
    • getPlane Link icon

      public Plane3D getPlane(int layer, int sector)
    • getStripProjection Link icon

      public Line3D getStripProjection(Line3D strip, Plane3D plane, Vector3D dir)
    • getCross Link icon

      public Point3D getCross(int sector, int layer, Line3D strip1, Line3D strip2, Vector3D dir)
    • toLocal Link icon

      public Point3D toLocal(int layer, int sector, Point3D traj)
    • toGlobal Link icon

      public Point3D toGlobal(int layer, int sector, Point3D traj)
    • toLocal Link icon

      public Vector3D toLocal(int layer, int sector, Vector3D dir)
    • toGlobal Link icon

      public Vector3D toGlobal(int layer, int sector, Vector3D dir)
    • getDoca Link icon

      public double getDoca(int layer, int sector, int strip, Point3D traj)
    • getResidual Link icon

      public double getResidual(int layer, int sector, int strip, Point3D traj)
    • getLocalTrack Link icon

      public Vector3D getLocalTrack(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 *
      Parameters:
      layer -
      sector -
      trackDir -
      Returns:
    • getLocalAngle Link icon

      public 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 above
      Parameters:
      layer -
      sector -
      trackDir -
      Returns:
    • getSurfaces Link icon

      public List<Surface> getSurfaces()
    • getSurface Link icon

      public Surface getSurface(int layer, int sector, int stripId, double centroid, Line3D stripLine)
    • getSurface Link icon

      public Surface getSurface(int layer, int sector, Strip strip)
    • getFaradayCageSurfaces Link icon

      public Surface getFaradayCageSurfaces(int i)
    • getSector Link icon

      @Deprecated public int getSector(int layer, Point3D traj)
      Deprecated.
    • calcNearestStrip Link icon

      public int calcNearestStrip(double X, double Y, double Z, int layer, int sect)
    • getSingleStripResolution Link icon

      public double getSingleStripResolution(int lay, int strip, double Z)
    • getXAtZ Link icon

      public double getXAtZ(int layer, double centroidstrip, double Z)
    • isInFiducial Link icon

      public boolean isInFiducial(int layer, int sector, Point3D traj)
    • isInside Link icon

      public boolean isInside(int layer, int sector, Point3D traj)
    • distanceToEdge Link icon

      public double distanceToEdge(int layer, int sector, Point3D traj)