Closed GiovanniVolta closed 2 months ago
The code works as desired; however, for the ONLINE version, we need to fix the URLconfig for the single_electron_gain_partition
.
Right now gives the following error:
/home/gvolta/XENONnT/straxen/straxen/corrections_services.py:472: UserWarning: CMT version global_ONLINE is not compatible with this straxen version! CMT global_ONLINE is missing these corrections: single_electron_gain_partition
warnings.warn(msg, UserWarning)
I need the help of @LuisSanchez25 to fix this.
Please make sure that the SR0 results will not be affected.
2 things about this, the URL seems to be pointing to CMT is that intentional? Also, I mentioned it also on another pull request but we do not need a new schema, the current avg_se_gain is already designed to deal with paritions
the URL seems to be pointing to CMT is that intentional?
I copied and pasted from another URL. I need help fixing it for the ONLINE processing.
mentioned it also on another pull request but we do not need a new schema, the current avg_se_gain is already designed to deal with paritions
Yes, we need this. The avg_se_gain
and the partitioning
are two different things. One tells you which SEG to use in AB or CD, and the other defines what AB is and what CD is based on radial and linear cuts in the (x,y) plane. Please explain to me if I am wrong.
Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
What does the code in this PR do / what does it improve?
Changed how to handle the TPC partition for AB and CD SEG.
Can you briefly describe how it works?
The partition AB is distinguished from CD based on a linear and a radial cut on the (xy) plane. The values are take from xedocs+corection repo.
Right now this PR depends on PR#273 in correction and PR#120 in xedocs
Can you give a minimal working example (or illustrate with a figure)?
You have to be on the specific xedocs and correction branches for run the following code
Please include the following if applicable: