PWGHF: Implementation of Lc --> K0s+p#5257
PWGHF: Implementation of Lc --> K0s+p#5257iarsene merged 14 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
Conversation
|
@vkucera , wait before reviewing, there are some things I want to improve. |
33036cf to
bbaa4c0
Compare
df02514 to
2fd8a9a
Compare
|
Hello @vkucera , @ginnocen , @nzardosh , I pushed the first version of the selector. Note that:
Since we agreed at the meeting on Tue (9.02) that the review for this PR can start, I kept this commit separate. Let me know if you want that I squash them. Next is the task to plot the observables of the selected candidates (equivalent to taskD0.cxx). |
|
Last commit does not compile, but since the review has not started yet, it is no problem. I will try to fix it tomorrow, if I don't manage, I will revert. |
b65bc37 to
695f81c
Compare
|
Now compiling. |
695f81c to
ada3c09
Compare
|
Hello @vkucera @ginnocen , |
18c9e4f to
898b46e
Compare
vkucera
left a comment
There was a problem hiding this comment.
Hi @chiarazampolli , a couple of first comments.
In general:
- Fix naming (camelCase).
- Add missing readability braces around statements.
42e5583 to
83f691d
Compare
|
The error in the CI (which is now re-running because I added a further commit) seems to be coming from CPV: Pinging @peressounko , @shahor02 . Chiara |
|
Dear @chiarazampolli CPV bug should be fixed in PR #5499 |
|
Hello @ddobrigk , This PR touches also your code in PWGLF, where I added some functionalities to do debugging. Could you please take a look and let me know in case you spot anything wrong or that you don't like? @ginnocen , @iarsene , @jgrosseo : please, do not approve before David's agree that all is fine! (in case the tests are fine, of course). Thanks in advance! Chiara |
There was a problem hiding this comment.
For next time, do not comment code please.
There was a problem hiding this comment.
Is it the use of /* */ that is problematic?
There was a problem hiding this comment.
Removed, but I would also like to know what is wrong/bad with it.
Chiara
clang-format leftovers fixed Clang-format Few more Clang-format removing useless namespace declaration Optimization more clang-format typo Remove commented out code
|
I took a look at the changes to the v0 tasks - everything looks fine, as only a debug option was added, essentially. Please feel free to carry on :-D |
This reverts commit 43ef15b. ODOD On branch xicc_newgood
This reverts commit 43ef15b.
This reverts commit 43ef15b.
* First version of skimming for Lc some changes update Expect that v0s are already built and preselected some more work A bit further, but not compiling just a temp commit Compiling version - still refinements needed further work temp not working not working again, needed for debug ppp working version - cuts still to be tuned clang few changes clang further work forgotten file forgotten file Fixing copy/paste error clang * Selector for Lc --> K0s+p added clang-format * First version of histogramming task - not compilinggit add Analysis/Tasks/PWGHF/CMakeLists.txt Analysis/Tasks/PWGHF/HFCandidateCreatorCascade.cxx Analysis/Tasks/PWGHF/taskLcK0sp.cxx fix compilation fixes clang * Avoid passing indices of daughters when building v0 In case, one would need a o2::dataformats::GlobalTrackID.h, but anyway it is not used. Fix * Comments by Vit clang Fixes for braces clang * Adding pT V0 daugh, and swapping V0 and bach (as in AliPhysics) clang * First version using MC info. To be investigated: - why no V0 in the V0 table is a K0s that comes from a Lc? - the RecoDecay::isMatchedMCGen might need some adjustments, being checked Fixes Format * recent work - to be cleaned-up * Update Lc -> K0S+p to do MC checks too. Adding also the possibility to do local debugging with an AO2D file from any production. format Stupid fix * Revisiting debugging * Anton's comments clang-format * Implementation of comments by Anton and Vit misc fixes clang-format * more comments by Vit clang-format * Further comments implemented clang-format leftovers fixed Clang-format Few more Clang-format removing useless namespace declaration Optimization more clang-format typo Remove commented out code
* First version of skimming for Lc some changes update Expect that v0s are already built and preselected some more work A bit further, but not compiling just a temp commit Compiling version - still refinements needed further work temp not working not working again, needed for debug ppp working version - cuts still to be tuned clang few changes clang further work forgotten file forgotten file Fixing copy/paste error clang * Selector for Lc --> K0s+p added clang-format * First version of histogramming task - not compilinggit add Analysis/Tasks/PWGHF/CMakeLists.txt Analysis/Tasks/PWGHF/HFCandidateCreatorCascade.cxx Analysis/Tasks/PWGHF/taskLcK0sp.cxx fix compilation fixes clang * Avoid passing indices of daughters when building v0 In case, one would need a o2::dataformats::GlobalTrackID.h, but anyway it is not used. Fix * Comments by Vit clang Fixes for braces clang * Adding pT V0 daugh, and swapping V0 and bach (as in AliPhysics) clang * First version using MC info. To be investigated: - why no V0 in the V0 table is a K0s that comes from a Lc? - the RecoDecay::isMatchedMCGen might need some adjustments, being checked Fixes Format * recent work - to be cleaned-up * Update Lc -> K0S+p to do MC checks too. Adding also the possibility to do local debugging with an AO2D file from any production. format Stupid fix * Revisiting debugging * Anton's comments clang-format * Implementation of comments by Anton and Vit misc fixes clang-format * more comments by Vit clang-format * Further comments implemented clang-format leftovers fixed Clang-format Few more Clang-format removing useless namespace declaration Optimization more clang-format typo Remove commented out code
some changes
update
Expect that v0s are already built and preselected
some more work
A bit further, but not compiling
just a temp commit
Compiling version - still refinements needed
further work
temp
not working
not working again, needed for debug
ppp
working version - cuts still to be tuned