-
Notifications
You must be signed in to change notification settings - Fork 628
[Common] Isolated lumi calculation in a dedicated task #11327
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
Conversation
|
O2 linter results: ❌ 0 errors, |
| } | ||
| } | ||
|
|
||
| void process(BCsWithBcSelsRun3 const& bcs, aod::FT0s const&) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ekryshen I believe this is going to fail when running on converted Run1/2 data. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good point - @ekryshen, can you please check? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@victor-gonzalez @ddobrigk Indeed, thanks for noticing. I'll fix it on Monday.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ddobrigk Should be fixed now (added processRun3)
|
@ekryshen Thanks! |
|
@victor-gonzalez Indeed, the workflow hangs without dummy process function for Run2. I've just committed another fix. |
Thanks @ekryshen!!!! |
|
Thanks @ekryshen, I will approve and merge now! Since you added an extra struct, this PR may mean an increase in memory. I am not sure how relevant this is, but let's just go ahead so that we get the added features immediately and we can then evaluate the memory changes in a tag including this PR. |
|
Dear @ekryshen, |
@lubynets Thanks for the suggestion, I will implement it in the next iteration. I wonder if this issue (no process functions) can be catched by the central framework. @aalkin, what do you think? |
|
@ekryshen The workflow gets stuck due to the lack of inputs, rather than lack of enabled process functions - the latter is a normal situation. The lack of inputs is also "normal" at the stage before the configuration is read, so we need something more involved. |
|
Dear @aalkin (@ekryshen cc), O2Physics/Common/TableProducer/eventSelection.cxx Line 1454 in 675e6ba
|
|
@lubynets The task inputs are determined by enabled processes, when both are disabled in this case, the input list is cleared. If you run with the DebugGUI you'll notice the distinct lack of channels leading to the task as it has no inputs. Due to this, task's processing callback is not triggered and it is stuck. There are examples of tasks that have no process functions at all and are functioning, because they have |
Main changes: