Package org.jlab.rec.cvt
Class Geometry
java.lang.Object
org.jlab.rec.cvt.Geometry
- Author:
- devita
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.jlab.groot.group.DataGroupDraws 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 Geometrypublic access to the singletonstatic Point3DComputes 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 variationdoubledoubledoublestatic voidinitialize(String variation, int run, IndexedTable svtLorentz, IndexedTable bmtVoltage) static voidCompares 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- 
TSHIELDRMINpublic static double TSHIELDRMIN
- 
TSHIELDRMAXpublic static double TSHIELDRMAX
- 
TSHIELDLENGTHpublic static double TSHIELDLENGTH
- 
TSHIELDZPOSpublic static double TSHIELDZPOS
- 
TSHIELDRADLENpublic static double TSHIELDRADLEN
- 
TSHIELDZOVERApublic static double TSHIELDZOVERA
- 
TSHIELDRHOpublic static double TSHIELDRHO
- 
TSHIELDIpublic static double TSHIELDI
- 
SCINTILLATOR
- 
VACUUM
 
- 
- 
Method Details- 
getInstancepublic access to the singleton- Returns:
- the cvt geometry singleton
 
- 
initializepublic static void initialize(String variation, int run, IndexedTable svtLorentz, IndexedTable bmtVoltage) 
- 
getTargetZOffsetpublic double getTargetZOffset()
- 
getTargetHalfLengthpublic double getTargetHalfLength()
- 
getTargetRadiuspublic double getTargetRadius()
- 
getTargetMaterials
- 
getTargetCellSurface
- 
getScatteringChamber
- 
getTargetShield
- 
getSVT
- 
getBMT
- 
getCTOF
- 
getCND
- 
geOuterSurfaces
- 
getSVTGet 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
 
- 
getBMTGet 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
 
- 
getOffsetComputes the average offset of the origins of the two strip lists- Parameters:
- geo1-
- geo2-
- Returns:
- the offset (1-2) as a Point3D
 
- 
compareStripspublic 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
 
- 
mainCompares 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-
 
 
-