XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
21 stars 32 forks source link

Fix photoionization correction to conserve cS2 #1306

Closed zihaoxu98 closed 8 months ago

zihaoxu98 commented 8 months ago

What does the code in this PR do / what does it improve?

This PR fixes the implementation of photoionization correction. Since the time dependence of total S2 has already been corrected by SEG correction, in photoionization correction we should ensure total S2 is not changed but only AFT is corrected.

Can you briefly describe how it works?

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

coveralls commented 8 months ago

Coverage Status

coverage: 91.795% (+0.03%) from 91.77% when pulling 76833267e1fc1e1208c5e90c8e66a64771014caa on pi_cor_fix into bad445fec640e9208bc40f6fde368df1ca9babc6 on master.