Repository navigation
Conversation
|
O2 linter results: ❌ 0 errors, |
|
Error while checking build/O2Physics/code-check for 8dbe58d at 2026-11-27 19:40: Full log here. |
|
@axti98 Please fix the error. |
| template <typename T1, typename T2> | ||
| void VarManager::FillEventMCMatch(T1 const& collision, T2 const& mcCollision, float* values) |
There was a problem hiding this comment.
Not sure if this function is needed. I think that calling in sequence the Fill function for the collision and the mccollision one can achieve the same thing. It may require an assumed ordering of the call of FillEvent() and FillMCEvent() which can be dangerous... but also, adding this function opens up the posibility for similar things to be done in different Fill functions which can lead to some confusion. So not sure, I leave it to you.
There was a problem hiding this comment.
This is a good point I didn't thought about.
My idea here was that with this function we can always be sure that both MC and Reco information are filled, when e.g. FillMCEvent is called in an MC-only process function, than these definitions make no sense. FillMCEvent is called everywhere, this new function only in the process functions where really both is available and filled, so I would maybe keep it. But yeah we have to keep this in mind.
Please consider the following formatting changes to AliceO2Group#18954
No description provided.