Skip to content

Draft: Feature/blip energy drift correction#941

Open
Jjm321814 wants to merge 16 commits into
developfrom
feature/BlipEnergyDriftCorrection
Open

Draft: Feature/blip energy drift correction#941
Jjm321814 wants to merge 16 commits into
developfrom
feature/BlipEnergyDriftCorrection

Conversation

@Jjm321814

Copy link
Copy Markdown
Contributor

Adding additional blip energy variables so analyzers have access to a drift corrected energy, as well as an explicitly not drift corrected one.

All drift corrections are anchored to the event timestamp, so the beam blips will come out with the right energy. Any out-of-time blip activity will be mis-corrected, so the noDriftCorrection variables are saved as new variables.

Jacob McLaughlin and others added 5 commits July 6, 2026 13:20
@Jjm321814

Copy link
Copy Markdown
Contributor Author

This PR is part of a set of 4 in sbndcode, sbnobj, sbncode, and sbnanaobj to make this new blip data entry, and share it to CAF level.
Each PR is at
sbndcode: #941
sbnobj: SBNSoftware/sbnobj#174
sbncode: SBNSoftware/sbncode#661
sbnanaobj: SBNSoftware/sbnanaobj#193

@Jjm321814

Copy link
Copy Markdown
Contributor Author

Initial checks on MC looked good. The values of energy were very mildly shifted with temporary debug print outs like

 dep El before corr 1767.8
0.0615994
 dep El after corr 1767.88
Blip Time1.55457 Det Lifetime 35000
0.0615994
 finally blip energy 0.0616021

Unfortunately the detector properties service used to get the electron lifetime initially applies a fixed lifetime. We will need to connect to some kind of calibration database service to get better results on data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant