Skip to content

Commit

Permalink
Add alt fields and extend the docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
HenningSE committed Oct 14, 2024
1 parent 8d278a6 commit 4d30905
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions fuse/plugins/processing/corrected_areas.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@
class CorrectedAreasMC(straxen.CorrectedAreas):
"""Corrected areas plugin for MC data.
This plugin overwrites the cs1 and cs2 fields with the not-time-
corrected values as the effects are not simulated in the MC.
This plugin overwrites the (alt_)cs1 and (alt_)cs2 fields with the
not-time- corrected values as the effects of time dependent single-
electron gain, extraction efficiency and photo ionization are not
simulated in fuse.
Applying corrections for these effects to simulated data would lead
to incorrect results. This plugins should only be used for simulated
data!
"""

__version__ = "0.0.1"
Expand All @@ -20,4 +26,7 @@ def compute(self, events):
result["cs1"] = result["cs1_wo_timecorr"]
result["cs2"] = result["cs2_wo_timecorr"]

result["alt_cs1"] = result["alt_cs1_wo_timecorr"]
result["alt_cs2"] = result["alt_cs2_wo_timecorr"]

return result

0 comments on commit 4d30905

Please sign in to comment.