Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't update file on every event #17

Open
marc1uk opened this issue Mar 11, 2023 · 0 comments
Open

don't update file on every event #17

marc1uk opened this issue Mar 11, 2023 · 0 comments

Comments

@marc1uk
Copy link
Collaborator

marc1uk commented Mar 11, 2023

output file is updated on every event.
this is an unnecessary amount of I/O - call TTree::Write in end of event action only once every e.g. 1000 events (to not lose everything in the event of crash), and also once in end of run action (to ensure everything is written out).

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

No branches or pull requests

1 participant