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

Bugfix: JFactory::Finish #377

Merged
merged 17 commits into from
Oct 23, 2024
Merged

Bugfix: JFactory::Finish #377

merged 17 commits into from
Oct 23, 2024

Conversation

nathanwbrei
Copy link
Collaborator

This PR includes several bugfixes:

  • JFactory::Finish() wasn't getting called
  • The final JFactory::EndRun() wasn't getting called
  • JFactory::BeginRun() was getting called spuriously when no run number was set
  • JParameterManager::SetDefaultParameter() with conflicting defaults had an edge case where they use the wrong default value

This PR adds:

  • the parameter jana:show_ticker
  • a warning about conflicting defaults to the parameter summary

This PR includes several refactorings:

  • Event clearing and finishing logic is now encapsulated on the JEvent itself instead of the JEventPool
  • JEvents are automatically configured when the constructor is passed a JApplication

@nathanwbrei nathanwbrei merged commit ba511e3 into master Oct 23, 2024
9 checks passed
@nathanwbrei nathanwbrei deleted the nbrei_jfactory_finish branch October 23, 2024 16:36
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