Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

PWGHF: Implementation of Lc --> K0s+p#5257

Merged
iarsene merged 14 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
chiarazampolli:LcV0pchiarazampolli/AliceO2:LcV0pCopy head branch name to clipboard
May 17, 2021
Merged

PWGHF: Implementation of Lc --> K0s+p#5257
iarsene merged 14 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
chiarazampolli:LcV0pchiarazampolli/AliceO2:LcV0pCopy head branch name to clipboard

Conversation

@chiarazampolli
Copy link
Collaborator

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

@chiarazampolli
Copy link
Collaborator Author

@vkucera , wait before reviewing, there are some things I want to improve.
Thanks!

@chiarazampolli chiarazampolli marked this pull request as draft January 22, 2021 15:05
@chiarazampolli chiarazampolli changed the title PWGHF: Draft: First version of skimming for Lc PWGHF: First version of skimming for Lc --> K0s+p Jan 22, 2021
@chiarazampolli
Copy link
Collaborator Author

Hello @vkucera , @ginnocen ,
Debug plots are still missing, but I think that the review of this can start.
Thanks!
Chiara

@chiarazampolli chiarazampolli force-pushed the LcV0p branch 4 times, most recently from 33036cf to bbaa4c0 Compare February 8, 2021 10:35
@chiarazampolli chiarazampolli force-pushed the LcV0p branch 2 times, most recently from df02514 to 2fd8a9a Compare February 12, 2021 23:08
@chiarazampolli
Copy link
Collaborator Author

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).

@chiarazampolli
Copy link
Collaborator Author

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.

@chiarazampolli
Copy link
Collaborator Author

Now compiling.

@chiarazampolli
Copy link
Collaborator Author

Hello @vkucera @ginnocen ,
Now also the histogramming is working. Missing is the MC part, but as we said, the review can start when you are ready (I will continue pushing here if I don't get comments).
I have realized though that it would be better not to wait too long to merge this PR, since it involves also 2 HF classes that might change independently from my PR, which might then create troubles.

@chiarazampolli chiarazampolli marked this pull request as ready for review February 19, 2021 11:14
@chiarazampolli
Copy link
Collaborator Author

Hello,
As said on Tuesday, I change this PR to "ready for review", to verify that the CI does not complain.
But then it should be moved back to "Draft" so that it is not merged accidentally by someone before @ginnocen and @vkucera review it.
Chiara

@chiarazampolli chiarazampolli force-pushed the LcV0p branch 2 times, most recently from 18c9e4f to 898b46e Compare February 20, 2021 00:34
Copy link
Collaborator

@vkucera vkucera left a comment

Choose a reason for hiding this comment

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

Hi @chiarazampolli , a couple of first comments.
In general:

  • Fix naming (camelCase).
  • Add missing readability braces around statements.

Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/taskLcK0sp.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/taskLcK0sp.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx Outdated Show resolved Hide resolved
Analysis/Tasks/PWGHF/CMakeLists.txt Outdated Show resolved Hide resolved
@chiarazampolli chiarazampolli force-pushed the LcV0p branch 2 times, most recently from 42e5583 to 83f691d Compare February 23, 2021 12:01
@chiarazampolli
Copy link
Collaborator Author

The error in the CI (which is now re-running because I added a further commit) seems to be coming from CPV:

Launching task: /mnt/mesos/sandbox/sandbox/o2-fullci/sw/slc8_x86-64/O2/5257-1/prodtests/full-system-test/dpl-workflow.sh &> reco_NOGPU.log &
Detected critical problem in logfile reco_NOGPU.log
reco_NOGPU.log-[61732:mft-tracker]: [14:29:12][INFO] Found tracks CA: 0
reco_NOGPU.log-[61732:mft-tracker]: [14:29:12][INFO] ROframe: 9, clusters loaded : 28765
reco_NOGPU.log:[61858:CPVClusterizerSpec]: [14:29:12][ERROR] Exception caught: bitset::test: __position (which is 23040) >= _Nb (which is 23040) 
reco_NOGPU.log-[61858:CPVClusterizerSpec]: /mnt/mesos/sandbox/sandbox/o2-fullci/sw/slc8_x86-64/O2/5257-1/lib/libO2FrameworkFoundation.so(_ZN2o29framework13runtime_errorEPKc+0x74)[0x7f26d3145a54]
reco_NOGPU.log-[61858:CPVClusterizerSpec]: /mnt/mesos/sandbox/sandbox/o2-fullci/sw/slc8_x86-64/O2/5257-1/lib/libO2Framework.so(+0x1106a5)[0x7f26d425f6a5]

Pinging @peressounko , @shahor02 .

Chiara

@peressounko
Copy link
Collaborator

Dear @chiarazampolli CPV bug should be fixed in PR #5499

@vkucera vkucera marked this pull request as ready for review May 6, 2021 21:59
vkucera
vkucera previously approved these changes May 6, 2021
@chiarazampolli
Copy link
Collaborator Author

chiarazampolli commented May 6, 2021

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

vkucera
vkucera previously approved these changes May 7, 2021
Copy link
Member

Choose a reason for hiding this comment

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

For next time, do not comment code please.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it the use of /* */ that is problematic?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

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
@ddobrigk
Copy link
Contributor

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

@chiarazampolli chiarazampolli changed the title PWGHF: First version of skimming for Lc --> K0s+p PWGHF: Implementation of Lc --> K0s+p May 17, 2021
@chiarazampolli
Copy link
Collaborator Author

Ciao @ddobrigk ,

Thanks! @ginnocen , @iarsene , @jgrosseo , could you merge now? I think the PR got all needed approvals.

Chiara

@iarsene iarsene merged commit 43ef15b into AliceO2Group:dev May 17, 2021
ginnocen pushed a commit to ginnocen/AliceO2 that referenced this pull request May 26, 2021
This reverts commit 43ef15b.

ODOD On branch xicc_newgood
vkucera added a commit to vkucera/AliceO2 that referenced this pull request May 26, 2021
aalkin added a commit to aalkin/AliceO2 that referenced this pull request Jun 4, 2021
cortesep pushed a commit to cortesep/AliceO2 that referenced this pull request Jun 11, 2021
* 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
EmilGorm pushed a commit to EmilGorm/AliceO2 that referenced this pull request Nov 22, 2021
* 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
@chiarazampolli chiarazampolli deleted the LcV0p branch May 16, 2022 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.