Package org.jlab.rec.tof.hit.ftof
Class Hit
java.lang.Object
org.jlab.rec.tof.hit.AHit
org.jlab.rec.tof.hit.ftof.Hit
- All Implemented Interfaces:
Comparable<AHit>
,IGetCalibrationParams
- Author:
- ziegler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHit
(int id, int panel, int sector, int paddle, int aDCL, int tDCL, int aDCR, int tDCR) IMPORTANT: A possible mismatch between the evaluation at the face of the counter from tracking and in the middle of the counter from clustering needs to be checked in the geometry package !!! -
Method Summary
Modifier and TypeMethodDescriptiondouble
ADC_MIP
(IndexedTable tab) double
ADC_MIPUnc
(IndexedTable tab) double
ADC1Unc()
double
ADC2Unc()
double
DEDX_MIP()
double
HPOSa
(IndexedTable tab) double
HPOSb
(IndexedTable tab) double[]
HPOSBIN
(IndexedTable tab) double
HPOSc
(IndexedTable tab) double
HPOSd
(IndexedTable tab) double
HPOSe
(IndexedTable tab) boolean
isAssociatedWTrk
(FTOFDetHit[][][][] hitArray, int i) double
lambda1
(IndexedTable tab) double
lambda1Unc
(IndexedTable tab) double
lambda2
(IndexedTable tab) double
lambda2Unc
(IndexedTable tab) double[]
double
static void
double
double
PED1()
double
PED1Unc()
double
PED2()
double
PED2Unc()
void
void
set_HitParameters
(int superlayer, double triggerPhase, IndexedTable constants0, IndexedTable constants1, IndexedTable constants2, IndexedTable constants3, IndexedTable constants5, IndexedTable constants6, IndexedTable constants8, IndexedTable constants9) void
set_matchedTrack
(Line3d _matchedTrack) void
set_matchedTrackHit
(FTOFDetHit matchedTrackHit) void
set_paddleLine
(Line3D paddleLine) void
setPaddleLine
(FTOFGeant4Factory geometry) int
Status1
(IndexedTable tab) int
Status2
(IndexedTable tab) double
TDC1Unc()
double
TDC2Unc()
double
TimeOffset
(IndexedTable tab) double
TW01
(IndexedTable tab) double
TW02
(IndexedTable tab) double
TW0E
(IndexedTable tab) double
TW11
(IndexedTable tab) double
TW12
(IndexedTable tab) double
TW1E
(IndexedTable tab) double
TW1P
(IndexedTable tab) double
TW2E
(IndexedTable tab) double
TW2P
(IndexedTable tab) double
TW3E
(IndexedTable tab) double
TW4E
(IndexedTable tab) double
v1
(IndexedTable tab) double
v1Unc
(IndexedTable tab) double
v2
(IndexedTable tab) double
v2Unc
(IndexedTable tab) double
yOffset
(IndexedTable tab) Methods inherited from class org.jlab.rec.tof.hit.AHit
compareTo, get_ADC1, get_ADC2, get_ADCbankHitIdx1, get_ADCbankHitIdx2, get_AssociatedClusterID, get_barthickness, get_Energy, get_Energy1, get_Energy1Unc, get_Energy2, get_Energy2Unc, get_EnergyUnc, get_Id, get_lambda1, get_lambda1Unc, get_lambda2, get_lambda2Unc, get_Paddle, get_Panel, get_Position, get_Sector, get_StatusWord, get_t, get_t1, get_t1Unc, get_t2, get_t2Unc, get_TDC1, get_TDC2, get_TDCbankHitIdx1, get_TDCbankHitIdx2, get_timeWalk1, get_timeWalk2, get_TrkId, get_TrkPathLen, get_TrkPathLenThruBar, get_TrkPosition, get_tUnc, get_y, get_yTrk, get_yTrkUnc, get_yUnc, getAdcToEConv, getStatus, hasValid, isAdjacent, set_ADC1, set_ADC2, set_ADCbankHitIdx1, set_ADCbankHitIdx2, set_AssociatedClusterID, set_barthickness, set_Energy, set_Energy1, set_Energy1Unc, set_Energy2, set_Energy2Unc, set_EnergyUnc, set_HitParams, set_Id, set_lambda1, set_lambda1Unc, set_lambda2, set_lambda2Unc, set_Paddle, set_Panel, set_Position, set_Sector, set_Status, set_StatusWord, set_t, set_t1, set_t1Unc, set_t2, set_t2Unc, set_TDC1, set_TDC2, set_TDCbankHitIdx1, set_TDCbankHitIdx2, set_timeWalk1, set_timeWalk2, set_TrkId, set_TrkPathLen, set_TrkPathLenThruBar, set_TrkPosition, set_tUnc, set_y, set_yTrk, set_yTrkUnc, set_yUnc, setAdcToEConv
-
Field Details
-
trkAssociated_Paddle
public int trkAssociated_Paddle
-
-
Constructor Details
-
Hit
public Hit(int id, int panel, int sector, int paddle, int aDCL, int tDCL, int aDCR, int tDCR) IMPORTANT: A possible mismatch between the evaluation at the face of the counter from tracking and in the middle of the counter from clustering needs to be checked in the geometry package !!!
-
-
Method Details
-
get_paddleLine
- Overrides:
get_paddleLine
in classAHit
-
set_paddleLine
- Overrides:
set_paddleLine
in classAHit
-
get_matchedTrackHit
-
set_matchedTrackHit
-
get_matchedTrack
-
set_matchedTrack
-
set_HitParameters
public void set_HitParameters(int superlayer, double triggerPhase, IndexedTable constants0, IndexedTable constants1, IndexedTable constants2, IndexedTable constants3, IndexedTable constants5, IndexedTable constants6, IndexedTable constants8, IndexedTable constants9) -
setPaddleLine
-
calc_hitPosition
-
printInfo
public void printInfo() -
TW01
- Specified by:
TW01
in interfaceIGetCalibrationParams
-
TW02
- Specified by:
TW02
in interfaceIGetCalibrationParams
-
TW11
- Specified by:
TW11
in interfaceIGetCalibrationParams
-
TW12
- Specified by:
TW12
in interfaceIGetCalibrationParams
-
TW1P
- Specified by:
TW1P
in interfaceIGetCalibrationParams
-
TW2P
- Specified by:
TW2P
in interfaceIGetCalibrationParams
-
TW0E
- Specified by:
TW0E
in interfaceIGetCalibrationParams
-
TW1E
- Specified by:
TW1E
in interfaceIGetCalibrationParams
-
TW2E
- Specified by:
TW2E
in interfaceIGetCalibrationParams
-
TW3E
- Specified by:
TW3E
in interfaceIGetCalibrationParams
-
TW4E
- Specified by:
TW4E
in interfaceIGetCalibrationParams
-
HPOSa
- Specified by:
HPOSa
in interfaceIGetCalibrationParams
-
HPOSb
- Specified by:
HPOSb
in interfaceIGetCalibrationParams
-
HPOSc
- Specified by:
HPOSc
in interfaceIGetCalibrationParams
-
HPOSd
- Specified by:
HPOSd
in interfaceIGetCalibrationParams
-
HPOSe
- Specified by:
HPOSe
in interfaceIGetCalibrationParams
-
HPOSBIN
- Specified by:
HPOSBIN
in interfaceIGetCalibrationParams
-
lambda1
- Specified by:
lambda1
in interfaceIGetCalibrationParams
-
lambda2
- Specified by:
lambda2
in interfaceIGetCalibrationParams
-
lambda1Unc
- Specified by:
lambda1Unc
in interfaceIGetCalibrationParams
-
lambda2Unc
- Specified by:
lambda2Unc
in interfaceIGetCalibrationParams
-
yOffset
- Specified by:
yOffset
in interfaceIGetCalibrationParams
-
v1
- Specified by:
v1
in interfaceIGetCalibrationParams
-
v2
- Specified by:
v2
in interfaceIGetCalibrationParams
-
v1Unc
- Specified by:
v1Unc
in interfaceIGetCalibrationParams
-
v2Unc
- Specified by:
v2Unc
in interfaceIGetCalibrationParams
-
PED1
public double PED1()- Specified by:
PED1
in interfaceIGetCalibrationParams
-
PED2
public double PED2()- Specified by:
PED2
in interfaceIGetCalibrationParams
-
PED1Unc
public double PED1Unc()- Specified by:
PED1Unc
in interfaceIGetCalibrationParams
-
PED2Unc
public double PED2Unc()- Specified by:
PED2Unc
in interfaceIGetCalibrationParams
-
ADC1Unc
public double ADC1Unc()- Specified by:
ADC1Unc
in interfaceIGetCalibrationParams
-
TDC2Unc
public double TDC2Unc()- Specified by:
TDC2Unc
in interfaceIGetCalibrationParams
-
TDC1Unc
public double TDC1Unc()- Specified by:
TDC1Unc
in interfaceIGetCalibrationParams
-
ADC2Unc
public double ADC2Unc()- Specified by:
ADC2Unc
in interfaceIGetCalibrationParams
-
PaddleToPaddle
- Specified by:
PaddleToPaddle
in interfaceIGetCalibrationParams
-
TimeOffset
- Specified by:
TimeOffset
in interfaceIGetCalibrationParams
-
LSBConversion
- Specified by:
LSBConversion
in interfaceIGetCalibrationParams
-
LSBConversionUnc
public double LSBConversionUnc()- Specified by:
LSBConversionUnc
in interfaceIGetCalibrationParams
-
ADC_MIP
- Specified by:
ADC_MIP
in interfaceIGetCalibrationParams
-
ADC_MIPUnc
- Specified by:
ADC_MIPUnc
in interfaceIGetCalibrationParams
-
DEDX_MIP
public double DEDX_MIP()- Specified by:
DEDX_MIP
in interfaceIGetCalibrationParams
-
Status1
- Specified by:
Status1
in interfaceIGetCalibrationParams
-
Status2
- Specified by:
Status2
in interfaceIGetCalibrationParams
-
main
- Throws:
IOException
-
isAssociatedWTrk
-