PWGHF: Add processData and origin flags in treeCreatorD0ToKPi#2229
Conversation
vkucera
left a comment
There was a problem hiding this comment.
Hi @atavirag , please fix the following problems:
- Fix the reported errors
- Remove code duplication in the two process functions (see https://github.com/AliceO2Group/O2Physics/blob/master/PWGHF/TableProducer/treeCreatorLcToK0sP.cxx)
- Remove repeated calls of
.prong0_as(and 1)
|
Hi, I am not sure what "clang-format" is asking me to change. I have tried changing the capitalization of acronyms, so that they follow the naming conventions from the documentation, but I still get an error. Do you have any idea what it could be? |
|
Hi @vkucera, would these changes be okay? |
|
Add yourself on the list of authors. |
|
The PR title is too vague. Make it more descriptive. |
|
I think it is all changed @vkucera |
Please consider the following formatting changes to #2229
|
I just added the changes, sorry for the delay @vkucera |
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
|
I had a look, and I think there are no changes to be made in the validation framework, because the tree creator does not seem to be called. |
What do you mean by "does not seem to be called"? The JSON configuration needs to be updates with the process switches. |
I have added flags to distinguish between prompt and non-prompt D0s, and separated between processMC and processData using a PROCESS_SWITCH, so that it can be used on data as well.
Related PR: AliceO2Group/Run3AnalysisValidation#404