Package org.jlab.rec.dc
Class Constants
java.lang.Object
org.jlab.rec.dc.Constants
Constants used in the reconstruction
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final doublestatic final doublestatic doublestatic final Stringstatic doublestatic doublestatic final doublefinal ArrayList<int[][]>static final doublestatic final doublestatic final doublestatic final double[]static final double[]static doublestatic final doublestatic final intstatic final doublestatic final doublestatic booleanstatic final intThe number of end cells to keep in a column of hits -- this applies to the DC-hit pruning algorithmstatic final Stringstatic doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic doublestatic final Stringstatic final doubleThe minimum chi2 prob. for the fit to the hit-based tracking clusters.static final intAll clusters below this size are passed at hit-based tracking level; we do not attempt to split clusters with size smaller than this.static final doublestatic final doublestatic Loggerstatic final doublestatic final doublestatic final doublestatic final intfinal double[][][]static doublestatic final intstatic final intstatic final doublestatic doublestatic final doublestatic final intThe number of end cells to keep in a column of 4 hits but less than 10 hit -- this applies to the DC-hit pruning algorithmstatic final intstatic final intstatic final intstatic final intstatic final intintstatic final intstatic final doublestatic final Stringintstatic doublestatic final doublestatic doublestatic final doublestatic final doublestatic final double[]static final double[]static final int[]static final int[]static final doublefinal int[][]static final doublestatic final doublestatic final Stringstatic final Stringstatic final Stringstatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final Stringstatic final Stringstatic final Stringstatic final double[]static final double[]static final doublestatic final doublestatic doublestatic final doublestatic doublestatic final Stringstatic final doublestatic final Stringdouble[]double[]
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic Constantspublic access to the singletongetReverseTT(int run, IndexedTable tt) intgetT2D()doublevoidinitialize(String engine) voidinitialize(String engine, String variation, String ministaggerStatus, String feedthroughsStatus, boolean wireDistortion, boolean useStartTime, boolean useBetaCut, int t2d, boolean useDoublets, boolean dcrbJitter, boolean swapDCRBBits, int nSuperLayer, int selectedSector, double[][] shifts) booleanbooleanvoidprintConfig(String engine) voidsetBETACUT(boolean checkbeta) voidsetDCRBJITTER(boolean DCRBJITTER) voidsetENDPLATESBOWING(boolean endplatesbowing) voidsetGEOVARIATION(String geovariation) voidsetSWAPDCRBBITS(boolean SWAPDCRBBITS) voidsetT2D(int i) voidsetUSEDOUBLETS(boolean USEDOUBLETS) voidsetUSETSTART(boolean usetstart) voidsetWIREDIST(double aDIST) booleanbooleanboolean
- 
Field Details- 
LOGGER
- 
DEBUGpublic static boolean DEBUG
- 
SIN25public static final double SIN25
- 
COS25public static final double COS25
- 
COS30public static final double COS30
- 
STEREOANGLEpublic static final double STEREOANGLE- See Also:
 
- 
SIN6public static final double SIN6
- 
COS6public static final double COS6
- 
TAN6public static final double TAN6
- 
CTAN6public static final double CTAN6
- 
SINSECTOR60public static final double[] SINSECTOR60
- 
COSSECTOR60public static final double[] COSSECTOR60
- 
SINSECTORNEG60public static final double[] SINSECTORNEG60
- 
COSSECTORNEG60public static final double[] COSSECTORNEG60
- 
HBINITIALSTATEUNCSCALEpublic static final double HBINITIALSTATEUNCSCALE- See Also:
 
- 
HBINITIALSTATEXUNCpublic static final double HBINITIALSTATEXUNC- See Also:
 
- 
HBINITIALSTATEYUNCpublic static final double HBINITIALSTATEYUNC- See Also:
 
- 
HBINITIALSTATETXUNCpublic static final double HBINITIALSTATETXUNC- See Also:
 
- 
HBINITIALSTATETYUNCpublic static final double HBINITIALSTATETYUNC- See Also:
 
- 
HBINITIALSTATEQUNCpublic static final double HBINITIALSTATEQUNC- See Also:
 
- 
TBINITIALSTATEUNCSCALEpublic static final double TBINITIALSTATEUNCSCALE- See Also:
 
- 
TBINITIALSTATEXUNCpublic static final double TBINITIALSTATEXUNC- See Also:
 
- 
TBINITIALSTATEYUNCpublic static final double TBINITIALSTATEYUNC- See Also:
 
- 
TBINITIALSTATETXUNCpublic static final double TBINITIALSTATETXUNC- See Also:
 
- 
TBINITIALSTATETYUNCpublic static final double TBINITIALSTATETYUNC- See Also:
 
- 
TBINITIALSTATEQUNCpublic static final double TBINITIALSTATEQUNC- See Also:
 
- 
SPEEDLIGHTpublic static final double SPEEDLIGHT- See Also:
 
- 
LIGHTVELpublic static final double LIGHTVEL- See Also:
 
- 
MINISTAGGERSTATUS
- 
FEEDTHROUGHSSTATUS
- 
SECTORSELECTpublic int SECTORSELECT
- 
NSUPERLAYERTRACKINGpublic int NSUPERLAYERTRACKING
- 
TT- See Also:
 
- 
DOCARES- See Also:
 
- 
TIME2DIST- See Also:
 
- 
T2DPRESSURE- See Also:
 
- 
PRESSURE- See Also:
 
- 
T2DPRESSUREREF- See Also:
 
- 
T0CORRECTION- See Also:
 
- 
TDCTCUTS- See Also:
 
- 
WIRESTAT- See Also:
 
- 
TIMEJITTER- See Also:
 
- 
BEAMPOS- See Also:
 
- 
HITBASE- See Also:
 
- 
dcDetector
- 
ftofDetector
- 
ecalDetector
- 
fmtDetector
- 
richDetector
- 
trajSurfaces
- 
HTCCRADIUSpublic static final double HTCCRADIUS- See Also:
 
- 
LTCCPLANEpublic static final double LTCCPLANE- See Also:
 
- 
NSECTpublic static final int NSECT- See Also:
 
- 
NSLAYpublic static final int NSLAY- See Also:
 
- 
NSLAYRpublic static final int NSLAYR- See Also:
 
- 
NLAYRpublic static final int NLAYR- See Also:
 
- 
NREGpublic static final int NREG- See Also:
 
- 
NWIREpublic static final int NWIRE- See Also:
 
- 
LOWFIELDZpublic static final double LOWFIELDZ- See Also:
 
- 
wpdistpublic double[] wpdist
- 
TRIGJITpublic static final double TRIGJIT- See Also:
 
- 
TIMEWINMINEDGEpublic static final double[] TIMEWINMINEDGE
- 
TIMEWINMAXEDGEpublic static final double[] TIMEWINMAXEDGE
- 
SEEDCUTpublic static double SEEDCUT
- 
MINPATHpublic static double MINPATH
- 
BETAHIGHpublic static double BETAHIGH
- 
BETALOWpublic static double BETALOW
- 
MAXHITSpublic static double MAXHITS
- 
TSTARTESTpublic static double TSTARTEST
- 
TRANSVTXCUTpublic static double TRANSVTXCUT
- 
AVEDRIFTVELpublic static double AVEDRIFTVEL
- 
DOCASUMMAXFACpublic static double DOCASUMMAXFAC
- 
DC_MIN_NLAYERSpublic static final int DC_MIN_NLAYERS- See Also:
 
- 
V0AVERAGEDpublic static final double V0AVERAGED- See Also:
 
- 
DC_RSEG_Apublic static final double DC_RSEG_A- See Also:
 
- 
DC_RSEG_Bpublic static final double DC_RSEG_B- See Also:
 
- 
PASSINGHITRESIDUALpublic static final double PASSINGHITRESIDUAL- See Also:
 
- 
CELLRESOLpublic static final double CELLRESOL- See Also:
 
- 
HITBASEDTRKGMINFITHI2PROBpublic static final double HITBASEDTRKGMINFITHI2PROBThe minimum chi2 prob. for the fit to the hit-based tracking clusters. This value has been optimized for the local coordinate system used in hit-based tracking. Only change it if you know what you are doing....- See Also:
 
- 
HITBASEDTRKGNONSPLITTABLECLSSIZEpublic static final int HITBASEDTRKGNONSPLITTABLECLSSIZEAll clusters below this size are passed at hit-based tracking level; we do not attempt to split clusters with size smaller than this.- See Also:
 
- 
DEFAULTNBENDCELLSTOKEEPpublic static final int DEFAULTNBENDCELLSTOKEEPThe number of end cells to keep in a column of hits -- this applies to the DC-hit pruning algorithm- See Also:
 
- 
NBENDCELLSTOKEEPMORETHAN4HITSINCOLUMNpublic static final int NBENDCELLSTOKEEPMORETHAN4HITSINCOLUMNThe number of end cells to keep in a column of 4 hits but less than 10 hit -- this applies to the DC-hit pruning algorithm- See Also:
 
- 
TRACKSELECTQFMINCHSQpublic static final double TRACKSELECTQFMINCHSQ- See Also:
 
- 
TCHISQPROBFITXZpublic static final double TCHISQPROBFITXZ- See Also:
 
- 
TRACKDIRTOCROSSDIRCOSANGLEpublic static final double TRACKDIRTOCROSSDIRCOSANGLE- See Also:
 
- 
CROSSLISTSELECTQFMINCHSQpublic static double CROSSLISTSELECTQFMINCHSQ
- 
SEGMENTPLANESANGLEpublic static final double SEGMENTPLANESANGLE- See Also:
 
- 
ARGONRADLENpublic static final double ARGONRADLEN- See Also:
 
- 
AIRRADLENpublic static final double AIRRADLEN- See Also:
 
- 
SWIMSTEPSIZEpublic static final double SWIMSTEPSIZE- See Also:
 
- 
MAXNBCROSSESpublic static final int MAXNBCROSSES- See Also:
 
- 
MAXNBHITSpublic static final int MAXNBHITS- See Also:
 
- 
MINTRKMOMpublic static final double MINTRKMOM- See Also:
 
- 
MAXTRKMOMpublic static final double MAXTRKMOM- See Also:
 
- 
MAXCLUSSIZEpublic static final int MAXCLUSSIZE- See Also:
 
- 
MAXCHI2public static final double MAXCHI2- See Also:
 
- 
HBTCHI2CUTpublic static double HBTCHI2CUT
- 
SEGSUMRESIDCUTpublic static double SEGSUMRESIDCUT
- 
SNR_RIGHTSHIFTSpublic static final int[] SNR_RIGHTSHIFTS
- 
SNR_LEFTSHIFTSpublic static final int[] SNR_LEFTSHIFTS
- 
Zpublic double[] Z
- 
CombArray
- 
STBLOCpublic final int[][] STBLOC
- 
MAXENDPLTDEFLECpublic final double[][][] MAXENDPLTDEFLEC
 
- 
- 
Method Details- 
getInstancepublic access to the singleton- Returns:
- the dc constants singleton
 
- 
isUSETSTARTpublic boolean isUSETSTART()
- 
setUSETSTARTpublic void setUSETSTART(boolean usetstart) 
- 
getWIREDISTpublic double getWIREDIST()
- 
setWIREDISTpublic void setWIREDIST(double aDIST) 
- 
getGEOVARIATION
- 
setGEOVARIATION
- 
ENDPLATESBOWINGpublic boolean ENDPLATESBOWING()
- 
setENDPLATESBOWINGpublic void setENDPLATESBOWING(boolean endplatesbowing) 
- 
USEBETACUTpublic boolean USEBETACUT()
- 
setBETACUTpublic void setBETACUT(boolean checkbeta) 
- 
setT2Dpublic void setT2D(int i) 
- 
getT2Dpublic int getT2D()
- 
USEDOUBLETSpublic boolean USEDOUBLETS()
- 
setUSEDOUBLETSpublic void setUSEDOUBLETS(boolean USEDOUBLETS) 
- 
useDCRBJITTERpublic boolean useDCRBJITTER()
- 
setDCRBJITTERpublic void setDCRBJITTER(boolean DCRBJITTER) 
- 
isSWAPDCRBBITSpublic boolean isSWAPDCRBBITS()
- 
setSWAPDCRBBITSpublic void setSWAPDCRBBITS(boolean SWAPDCRBBITS) 
- 
initializepublic void initialize(String engine, String variation, String ministaggerStatus, String feedthroughsStatus, boolean wireDistortion, boolean useStartTime, boolean useBetaCut, int t2d, boolean useDoublets, boolean dcrbJitter, boolean swapDCRBBits, int nSuperLayer, int selectedSector, double[][] shifts) 
- 
initialize
- 
printConfig
- 
getReverseTT
 
-