JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Fix mistake in THcCoinTime.h #437

Closed MarkKJones closed 5 years ago

MarkKJones commented 5 years ago

Important fix! Peter found this bug. This change should improve the coincidence time resolution. Since we had been using integer values so 1ns resolution.

The pTRIG1_TdcTime_ROC1, pTRIG4_TdcTime_ROC1 and pTRIG1_TdcTime_ROC2, pTRIG4_TdcTime_ROC2

should have been Double_t instead of Int_t since the THcTrigDet.h function Get_CT_Trigtime returns a Double_t which is the time convert to ns.