aboutsummaryrefslogtreecommitdiff
path: root/src/zdab-cat.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-09-09 11:12:42 -0500
committertlatorre <tlatorre@uchicago.edu>2019-09-09 11:12:42 -0500
commitcc0b56d8cb930ba386f59470160c1c460ab64eaf (patch)
treeae31e95ec26dedfc593ad8c4f7577c62d51835b6 /src/zdab-cat.c
parent86de4bf17f7ed0ee7a70fd38770223fdde61f5a5 (diff)
downloadsddm-cc0b56d8cb930ba386f59470160c1c460ab64eaf.tar.gz
sddm-cc0b56d8cb930ba386f59470160c1c460ab64eaf.tar.bz2
sddm-cc0b56d8cb930ba386f59470160c1c460ab64eaf.zip
uncalibrate MC times and charges in get_event()
This commit updates get_event() to fill in the uncalibrated charge and time info from the calibrated charge and time. The ECA calibrated time and ECA + PCA without walk correction times (ept and pt1) are just set to the calibrated time. The uncalibrated charges are set by multiplying the calibrated charge by the mean high-half point and adding a constant offset, and the ECA calibrated charges are set by taking the uncalibrated charges and subtracting the offset. The reason for filling these in is so that we can test the data cleaning cuts on MC. Although it would be better if these were filled in by the MC, this is better than nothing.
Diffstat (limited to 'src/zdab-cat.c')
0 files changed, 0 insertions, 0 deletions