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

BeginOfRunAction to processors #90

Open
MorganAskins opened this issue Apr 30, 2020 · 0 comments
Open

BeginOfRunAction to processors #90

MorganAskins opened this issue Apr 30, 2020 · 0 comments

Comments

@MorganAskins
Copy link
Contributor

Gsim controls the run and event level actions. At the moment it passes the event level actions (via EndOfEventAction to the mainblock. A simple addition can also allow Gsim to pass BeginOfRunAction's to processors as well, this is really efficient for some processors that need to initialize variables based on the Run* conditions where doing so at every event is really slow, but doing so when initialized is impossible.

By the way, Gsim was always intended to run this way, and in SNO+ this is how EVERY processor works.

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

No branches or pull requests

1 participant