[Nps] Update to NPS in HCANA
Mark Jones
jones at jlab.org
Fri Jul 7 15:24:52 EDT 2023
Wassim and Zheng made some updates to the THcNPSArray.cxx
in the THcNPSArray::CoarseProcess and THcNPSArray::FillADC_DynamicPedestal
functions. This affects how the "good" hit arrays are filled and eventually the clustering.
A quick overview of the changes.
1. THcNPSArray::CoarseProcess change fBlock_ClusterID index to use block number since block number from 0 to 1079. Add check on array index.
2. THcNPSArray::FillADC_DynamicPedestal
a) Set StartTime = 0 .
b) Add check that block number less than fNelem-1
c) change to adctdcdiffTime = pulseTime-StartTime
d) eliminate fTotNumAdcHits++ since it is used for total number
of FADC pulse in AccumulateHits and led to double counting
e) Eliminate cut on fThresh for "good hit"
I accepted the pull request from Wassim to the develop branch for hcana
in the JeffersonLab hcana repo. So please go ahead
and pull down the develop branch.
cheers,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/nps/attachments/20230707/8b4ed570/attachment.html>
More information about the Nps
mailing list