Skip to content

Remove unused FairRunOnline::InitContainers() function #1396

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

Merged

Conversation

karabowi
Copy link
Collaborator

The function is not being invoked, and was not used.

Addresses issue #1346.


Checklist:

Copy link
Member

@ChristianTackeGSI ChristianTackeGSI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good catch!

I have a few notes.

The function is not being invoked, and was not used.
Tested with R3BRoot.

Adjusted the LOG() messages.
Added corresponding CHANGELOG notice.

Addresses issue FairRootGroup#1346.
@karabowi karabowi force-pushed the pr/FairRunOnline_NoInitContainers branch 2 times, most recently from 41b5b23 to 47081ea Compare May 8, 2023 07:54
Copy link
Member

@ChristianTackeGSI ChristianTackeGSI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also wonder, whether we should refactor this a bit into some common FairRun feature?

Or should FairRunAna and FairRunOnline have common helper base class?

Just pondering! I haven't thought this through, really!

@karabowi karabowi force-pushed the pr/FairRunOnline_NoInitContainers branch from 47081ea to 98c2cf6 Compare May 9, 2023 08:03
@karabowi karabowi force-pushed the pr/FairRunOnline_NoInitContainers branch from 98c2cf6 to d5626f0 Compare May 9, 2023 11:02
Added check for `fStatic` in the `FairRunOnline::EventLoop()`.
When `fStatic` is set to true by `SetContainerStatic()`,
`ReInit()` will not be called when changed `RunId` detected.
@karabowi karabowi force-pushed the pr/FairRunOnline_NoInitContainers branch from d5626f0 to d4a8417 Compare May 15, 2023 07:03
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.

3 participants