Task #772
openGEM Gain Coefficient and Threshold Generation 1st-pass
100%
Description
The purpose of this task is track and summarize the status of the Gain Coefficient and Threshold generation for the GEMs in the GMn/nTPE run period. Back in winter of 22/23 I spent a couple of months systematically going through and creating the gain coefficients and the thresholds based on my own version of SBS-replay. This was after spending considerable time creating tools and documenting the GEM gain match script. My version of the GEM Gain Match Script can be found: https://github.com/zwertz/SBS-replay/blob/master/scripts/gems/GEM_GainMatch.C . My sets of Gain Coefficients and Thresholds are available here: https://github.com/zwertz/SBS-replay/tree/master either in the DB or DB_Zeke directories. In the respective database files for the GEMs during the GMn/nTPE run period.
Documentation for my version of the script or how I think the script works can be found: https://sbs.jlab.org/cgi-bin/DocDB/private/ShowDocument?docid=400 . To document my 1st-pass generation of the Gain coefficients and thresholds one can look to either https://sbs.jlab.org/cgi-bin/DocDB/private/ShowDocument?docid=391 or https://docs.google.com/spreadsheets/d/1vQoPYR-DmCmnJB37_RH41w6F5GQE3NDfUQitvaVC564/edit?usp=sharing . On the 'Gain Coefficients' tab I have described the entire 27 sets of gain coefficients that have been generated, the reason for each one and various other useful information. At the time I did this work I did not have an elastic yield from hydrogen data as a metric. I did not have a script to do that task. So instead I tried to evaluate the sets by the number of good tracks before/after gain match and the percentage of more or less tracks found. Along with looking at the range in difference of the track based efficiency of the GEMs.
The plots that I used/evaluated this gain match with can be found: https://drive.google.com/drive/folders/1WePLfs_boESiEIxmor-iJ1v00ceDn7Ev?usp=sharing . To understand my labeling system for every set of gain coefficients, associated with a run number or multiple run numbers. There will be summary plots before labeled "nogain" and after labeled "withgain". Also the number that is bolded on the spreadsheet is the one that will be in the name. Unfortunately these original replayed root files were on volatile and they have gone away. Root files that were generated from the Gain Match script can be found at /work/halla/sbs/ewertz/SBS-replay/scripts/gems/GEM_GainMatch_output/ .
Moving forward for getting ready for the next mass replay we will determine the best way to integrate the gain coefficients and thresholds into the main SBS-replay repository. Dedicated replays to evaluate elastic counts before/after gain match. Determining which gain coefficients are absolutely necessary and some other diagnostic checks. This is why I have ranked this as 80% complete, since the coefficients are completely generated. It is just collected them and evaluating with the main replay.