Add BRF / beam jitter to the MC #369
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For both the NC and stroboscopic analyses, correctly modeling the spill structure of the BNB is important to ensure any selection cuts / Data and MC comparison is accurate.
The observed bunch width in ANNIE can be broken down into:
What is already included in the MC:
What was remaining (that is now included) was the beam timing jitter / the uncertainty in the BRF fitting (which we use to improve the bunch reconstruction in the data). This term was determined by comparing the observed bunch width in the MC and data for muon events (CCinc and throughgoing muons for FY22 and FY23). Since the current version of the simulation already includes:
The final term can be extracted based on the remaining discrepancy. More details can be found here.
Describe your changes
Checklist before submitting your PR
newusage, there is a reason the data must be on the heapnewthere is adelete, unless I explicitly know why (e.g. ROOT or a BoostStore takes ownership)Additional Material
The default value set in the README was the weighted average observed for CCinc and throughgoing muons in FY22 and FY23 data. If using newer data (FY24 and later) a similar analysis is needed to verify if the beam timing uncertainties have changed.