Class Geometry

java.lang.Object
org.jlab.rec.cvt.Geometry

public class Geometry extends Object
Author:
devita
  • Field Details Link icon

    • TSHIELDRMIN Link icon

      public static double TSHIELDRMIN
    • TSHIELDRMAX Link icon

      public static double TSHIELDRMAX
    • TSHIELDLENGTH Link icon

      public static double TSHIELDLENGTH
    • TSHIELDZPOS Link icon

      public static double TSHIELDZPOS
    • TSHIELDRADLEN Link icon

      public static double TSHIELDRADLEN
    • TSHIELDZOVERA Link icon

      public static double TSHIELDZOVERA
    • TSHIELDRHO Link icon

      public static double TSHIELDRHO
    • TSHIELDI Link icon

      public static double TSHIELDI
    • SCINTILLATOR Link icon

      public static final Material SCINTILLATOR
    • VACUUM Link icon

      public static final Material VACUUM
  • Method Details Link icon

    • getInstance Link icon

      public static Geometry getInstance()
      public access to the singleton
      Returns:
      the cvt geometry singleton
    • initialize Link icon

      public static void initialize(String variation, int run, IndexedTable svtLorentz, IndexedTable bmtVoltage)
    • getTargetZOffset Link icon

      public double getTargetZOffset()
    • getTargetHalfLength Link icon

      public double getTargetHalfLength()
    • getTargetRadius Link icon

      public double getTargetRadius()
    • getTargetMaterials Link icon

      public List<Material> getTargetMaterials()
    • getTargetCellSurface Link icon

      public Surface getTargetCellSurface()
    • getScatteringChamber Link icon

      public Surface getScatteringChamber()
    • getTargetShield Link icon

      public Surface getTargetShield()
    • getSVT Link icon

      public SVTGeometry getSVT()
    • getBMT Link icon

      public BMTGeometry getBMT()
    • getCTOF Link icon

      public CTOFGeant4Factory getCTOF()
    • getCND Link icon

      public Detector getCND()
    • geOuterSurfaces Link icon

      public List<Surface> geOuterSurfaces()
    • getSVT Link icon

      public static List<Line3D> getSVT(int run, int region, String variation, IndexedTable lorentz)
      Get the list of SVT strips for geometry defined by the selected run and variation
      Parameters:
      run -
      region -
      variation -
      lorentz -
      Returns:
      list of strips as Line3D
    • getBMT Link icon

      public static List<Line3D> getBMT(BMTType type, int run, String variation, IndexedTable voltage)
      Get the list of BMT strips for the selected BMT tile type and the geometry defined by the selected run and variation
      Parameters:
      type -
      run -
      variation -
      voltage -
      Returns:
      list of strips as Line3D, corresponding to the actual strip for Z tiles and for lines connecting the upstream and downstream circular edges of C tiles at the same local phi
    • getOffset Link icon

      public static Point3D getOffset(List<Line3D> geo1, List<Line3D> geo2)
      Computes the average offset of the origins of the two strip lists
      Parameters:
      geo1 -
      geo2 -
      Returns:
      the offset (1-2) as a Point3D
    • compareStrips Link icon

      public static org.jlab.groot.group.DataGroup compareStrips(List<Line3D> geo1, List<Line3D> geo2, Point3D offset)
      Draws representative plots of the differences between the two lists of strips, compensating for a global offset
      Parameters:
      geo1 -
      geo2 -
      offset - applied to the second geometry
      Returns:
      a DataGroup with the relevant plots
    • main Link icon

      public static void main(String[] args)
      Compares the CVT geometry for two geometry variations selected from command line, with the option of compensating for the average offset between the SVT-R1 strip upstream endpoints
      Parameters:
      args -