Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

move numTries storage into run header#81

Merged
tomeichlersmith merged 3 commits intotrunkfrom
69-ntries
Nov 6, 2023
Merged

move numTries storage into run header#81
tomeichlersmith merged 3 commits intotrunkfrom
69-ntries

Conversation

@tomeichlersmith
Copy link
Copy Markdown
Member

As pointed out in the re-opening of #69 , we need to store the number of tries separate from the events since there can be tries that are not connected to a serialized event (ones after the last successful event that ends up in the output file). This update keeps the refactoring to the EventHeader but removes the new version since there are now no changes relative to the current event header outside of the refactoring which is not important to the ROOT dictionary.

I've checked and documented how the new RunHeader interops with the current RunHeader and so this is good to go.

Storing the number of tries on a per-event basis means throwing away any
tries that occur _after_ the last event that ends up in being successful
and written to the output file. This leads to an inaccurate EoT
estimation and so we are dropping it in favor of storing the number of
tries in the run header at the completion of a Production Mode run.
this highlights its importance to luminosity/eot calculations and also
emphasizes to downstream processors that they shouldn't modify it (just
like how they shouldn't modify run number, run start, and run end unless
they know what they are doing)
@tomeichlersmith tomeichlersmith linked an issue Nov 6, 2023 that may be closed by this pull request
@tomeichlersmith tomeichlersmith merged commit 84e6fdb into trunk Nov 6, 2023
@tomeichlersmith tomeichlersmith deleted the 69-ntries branch November 6, 2023 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

log different event counts in event header

1 participant