Package org.jlab.rec.cvt
Class Geometry
java.lang.Object
org.jlab.rec.cvt.Geometry
- Author:
- devita
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jlab.groot.group.DataGroup
Draws representative plots of the differences between the two lists of strips, compensating for a global offsetgetBMT()
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 variationgetCND()
getCTOF()
static Geometry
public access to the singletonstatic Point3D
Computes the average offset of the origins of the two strip listsgetSVT()
getSVT
(int run, int region, String variation, IndexedTable lorentz) Get the list of SVT strips for geometry defined by the selected run and variationdouble
double
double
static void
initialize
(String variation, int run, IndexedTable svtLorentz, IndexedTable bmtVoltage) static void
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
-
Field Details
-
TSHIELDRMIN
public static double TSHIELDRMIN -
TSHIELDRMAX
public static double TSHIELDRMAX -
TSHIELDLENGTH
public static double TSHIELDLENGTH -
TSHIELDZPOS
public static double TSHIELDZPOS -
TSHIELDRADLEN
public static double TSHIELDRADLEN -
TSHIELDZOVERA
public static double TSHIELDZOVERA -
TSHIELDRHO
public static double TSHIELDRHO -
TSHIELDI
public static double TSHIELDI -
SCINTILLATOR
-
VACUUM
-
-
Method Details
-
getInstance
public access to the singleton- Returns:
- the cvt geometry singleton
-
initialize
public static void initialize(String variation, int run, IndexedTable svtLorentz, IndexedTable bmtVoltage) -
getTargetZOffset
public double getTargetZOffset() -
getTargetHalfLength
public double getTargetHalfLength() -
getTargetRadius
public double getTargetRadius() -
getTargetMaterials
-
getTargetCellSurface
-
getScatteringChamber
-
getTargetShield
-
getSVT
-
getBMT
-
getCTOF
-
getCND
-
geOuterSurfaces
-
getSVT
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
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
Computes the average offset of the origins of the two strip lists- Parameters:
geo1
-geo2
-- Returns:
- the offset (1-2) as a Point3D
-
compareStrips
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
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
-
-