Skip to content

PWGHF: Add OmegaC0 workflows that use KFParticle - #6327

Merged
fgrosa merged 92 commits into
AliceO2Group:masterfrom
Yunfan-Liu:omegac-reconstruction-with-kf
Jul 31, 2024
Merged

PWGHF: Add OmegaC0 workflows that use KFParticle#6327
fgrosa merged 92 commits into
AliceO2Group:masterfrom
Yunfan-Liu:omegac-reconstruction-with-kf

Conversation

@Yunfan-Liu

Copy link
Copy Markdown
Contributor
  • add candidateCreator, candidateSelector, and treeCreator for omegac0 -> omega pi with KFParticle.
  • add a machine learning header file, which is used in candidateSelector.

Comment threadPWGHF/Core/HfMlResponseOmegaCToOmegaPi.h Outdated
Comment threadPWGHF/Core/HfMlResponseOmegaCToOmegaPi.h Outdated
Comment threadPWGHF/DataModel/CandidateReconstructionTables.h Outdated
Comment threadPWGHF/DataModel/CandidateReconstructionTables.h Outdated
Comment threadPWGHF/DataModel/CandidateSelectionTables.h Outdated
Comment threadPWGHF/TableProducer/candidateSelectorOmegacToOmegaPiWithKFP.cxx Outdated
Comment threadPWGHF/TableProducer/candidateSelectorOmegacToOmegaPiWithKFP.cxx Outdated
Comment threadPWGHF/TableProducer/candidateSelectorOmegacToOmegaPiWithKFP.cxx Outdated
Comment threadPWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx Outdated
Comment threadPWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx Outdated
Yunfan-Liuand others added 5 commits May 31, 2024 19:24
…ToOmegaPi.h
complete the documentation and change the file name.
complete the documentation, remove useless lines, and use the "registry"
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
@Yunfan-Liu
Yunfan-Liu requested a review from fgrosaJuly 11, 2024 16:49
@Yunfan-Liu

Copy link
Copy Markdown
ContributorAuthor

Hi @Yunfan-Liu thanks a lot for considering my comments! I noticed that you deleted the class for the ML inference, was it intentional? If so, I am fine with the current version and, if good also for @vkucera, we can merge it.

Yes. now I am unsure what variables will be used in ML, so I deleted it.

@Yunfan-Liu
Yunfan-Liu requested a review from vkuceraJuly 11, 2024 16:52
fgrosa
fgrosa previously approved these changes Jul 11, 2024
@fgrosa

Copy link
Copy Markdown
Collaborator

Hi @Yunfan-Liu thanks a lot for considering my comments! I noticed that you deleted the class for the ML inference, was it intentional? If so, I am fine with the current version and, if good also for @vkucera, we can merge it.

Yes. now I am unsure what variables will be used in ML, so I deleted it.

Approved from my side, when also Vit approves it can be merged.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 64626cd at 2024-07-11 19:33:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/6327-slc7_x86-64/0/PWGHF/TableProducer/treeCreatorOmegacToOmegaPi.cxx:297:66: error: unused parameter 'debugMc' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.

@fgrosa

Copy link
Copy Markdown
Collaborator

Hi @vkucera could you please check if this PR (which is stalled since a while) is good for you? Thanks a lot!

@vkuceravkucera left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@Yunfan-Liu thanks for addressing the comments. The PR looks good to me after fixing the remaining minor issues.

Comment threadPWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx Outdated
Comment threadPWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx Outdated
Comment threadPWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx
Comment threadPWGHF/TableProducer/treeCreatorOmegacToOmegaPi.cxx
vkucera
vkucera previously approved these changes Jul 30, 2024
@vkuceravkucera changed the title PWGHF: add OmegaC0 reconstruction workflows that used KFParticle.PWGHF: Add OmegaC0 workflows that use KFParticleJul 30, 2024
@vkucera
vkucera enabled auto-merge (squash) July 30, 2024 15:30
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 4d023e4 at 2024-07-30 19:24:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/6327-slc7_x86-64/0/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx:600:19: error: 'SetField' is not a member of 'KFParticle'
/sw/SOURCES/O2Physics/6327-slc7_x86-64/0/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx:576:72: error: unused parameter 'bcWithTimeStamps' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.

@vkucera
vkucera disabled auto-merge July 30, 2024 21:01
fixing the errors: error: 'SetField' is not a member of 'KFParticle'
error: unused parameter 'bcWithTimeStamps' [-Werror=unused-parameter]
Comment threadPWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx Outdated
@fgrosa
fgrosa merged commit 6bc7933 into AliceO2Group:masterJul 31, 2024
MaximVirta pushed a commit to MaximVirta/O2Physics that referenced this pull request Aug 5, 2024
* add OmegaC0 table and kf table
* add Tasks of reconstructing OmegaC0 with the KFParticle
* add header file for OmegaC0 ML\
* Please consider the following formatting changes
* Update CMakeLists.txt
* Update HfMlResponseOmegaCToOmegaPi.h
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Update treeCreatorOmegacToOmegaPiWithKFP.cxx
* Please consider the following formatting changes
* Update CMakeLists.txt
* Update and rename HfMlResponseOmegaCToOmegaPi.h to HfMlResponseOmegacToOmegaPi.h
complete the documentation and change the file name.
* Update candidateSelectorOmegacToOmegaPiWithKFP.cxx
complete the documentation, remove useless lines, and use the "registry"
* Update HfMlResponseOmegacToOmegaPi.h
* Update PWGHF/DataModel/CandidateReconstructionTables.h
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
* Update PWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
* change CMakeLists.txt as requested.
respect alphabetic ordering as requested.
* change to use existing columns
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
fill the documentation.
* fixing some errors
* Update CandidateReconstructionTables.h
* Update CandidateReconstructionTables.h
* Update CandidateReconstructionTables.h
* changing some things as comment reqeust and fixing bugs
* Delete unused tables
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
using "static_cast<int>(..)" instead of "int(..)"
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Please consider the following formatting changes
* using exist table instead of duplication one
* using exist table
* deleting the DCAfitter
* deleting the DCAfitter, unused header and fixing
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Update treeCreatorOmegacToOmegaPiWithKFP.cxx
* adding KFParticle for omegac in existing omegac0 to omega pi workflow(candidateCreatorXic0Omegac0, treeCreatorOmegacToOmegaPi.cxx)
* adding KFParticle table for Omegac0 to Omega Pi and deleting duplication table added before
* Delete PWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateSelectorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateCreatorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Revert "Delete PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx"
This reverts commit 8ac8b28.
* Please consider the following formatting changes
* Update candidateCreatorXic0Omegac0.cxx
* Update CandidateSelectionTables.h
* Please consider the following formatting changes
* Update CandidateSelectionTables.h
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* deleting duplication table
* Delete PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
* Update candidateCreatorXic0Omegac0.cxx
fixing bug: Incorrectly filling a variable into a table twice
* Update candidateCreatorXic0Omegac0.cxx
* Please consider the following formatting changes
* Update candidateCreatorXic0Omegac0.cxx
fixing errors
* Update candidateCreatorXic0Omegac0.cxx
keep all the cospa in the non-KF tables are referred to the PV.
* Update CandidateReconstructionTables.h
* Please consider the following formatting changes
* Update treeCreatorOmegacToOmegaPi.cxx
* no longer filling nSigma into KF-table in candidateCreator
* Update candidateCreatorXic0Omegac0.cxx
deleting unused variables
* Update candidateCreatorXic0Omegac0.cxx
deleting unused variables
* Update treeCreatorOmegacToOmegaPi.cxx
fixing bugs
* Update treeCreatorOmegacToOmegaPi.cxx
* Update candidateCreatorXic0Omegac0.cxx
* Update candidateCreatorXic0Omegac0.cxx
* Update treeCreatorOmegacToOmegaPi.cxx
* Update candidateCreatorXic0Omegac0.cxx
fixing the errors: error: 'SetField' is not a member of 'KFParticle'
error: unused parameter 'bcWithTimeStamps' [-Werror=unused-parameter]
* Update candidateCreatorXic0Omegac0.cxx
---------
Co-authored-by: root <root@USER-20161104VR.localdomain>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
Luca610 pushed a commit to Luca610/O2Physics that referenced this pull request Aug 13, 2024
* add OmegaC0 table and kf table
* add Tasks of reconstructing OmegaC0 with the KFParticle
* add header file for OmegaC0 ML\
* Please consider the following formatting changes
* Update CMakeLists.txt
* Update HfMlResponseOmegaCToOmegaPi.h
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Update treeCreatorOmegacToOmegaPiWithKFP.cxx
* Please consider the following formatting changes
* Update CMakeLists.txt
* Update and rename HfMlResponseOmegaCToOmegaPi.h to HfMlResponseOmegacToOmegaPi.h
complete the documentation and change the file name.
* Update candidateSelectorOmegacToOmegaPiWithKFP.cxx
complete the documentation, remove useless lines, and use the "registry"
* Update HfMlResponseOmegacToOmegaPi.h
* Update PWGHF/DataModel/CandidateReconstructionTables.h
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
* Update PWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
* change CMakeLists.txt as requested.
respect alphabetic ordering as requested.
* change to use existing columns
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
fill the documentation.
* fixing some errors
* Update CandidateReconstructionTables.h
* Update CandidateReconstructionTables.h
* Update CandidateReconstructionTables.h
* changing some things as comment reqeust and fixing bugs
* Delete unused tables
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
using "static_cast<int>(..)" instead of "int(..)"
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Please consider the following formatting changes
* using exist table instead of duplication one
* using exist table
* deleting the DCAfitter
* deleting the DCAfitter, unused header and fixing
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Update treeCreatorOmegacToOmegaPiWithKFP.cxx
* adding KFParticle for omegac in existing omegac0 to omega pi workflow(candidateCreatorXic0Omegac0, treeCreatorOmegacToOmegaPi.cxx)
* adding KFParticle table for Omegac0 to Omega Pi and deleting duplication table added before
* Delete PWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateSelectorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateCreatorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Revert "Delete PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx"
This reverts commit 8ac8b28.
* Please consider the following formatting changes
* Update candidateCreatorXic0Omegac0.cxx
* Update CandidateSelectionTables.h
* Please consider the following formatting changes
* Update CandidateSelectionTables.h
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* deleting duplication table
* Delete PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
* Update candidateCreatorXic0Omegac0.cxx
fixing bug: Incorrectly filling a variable into a table twice
* Update candidateCreatorXic0Omegac0.cxx
* Please consider the following formatting changes
* Update candidateCreatorXic0Omegac0.cxx
fixing errors
* Update candidateCreatorXic0Omegac0.cxx
keep all the cospa in the non-KF tables are referred to the PV.
* Update CandidateReconstructionTables.h
* Please consider the following formatting changes
* Update treeCreatorOmegacToOmegaPi.cxx
* no longer filling nSigma into KF-table in candidateCreator
* Update candidateCreatorXic0Omegac0.cxx
deleting unused variables
* Update candidateCreatorXic0Omegac0.cxx
deleting unused variables
* Update treeCreatorOmegacToOmegaPi.cxx
fixing bugs
* Update treeCreatorOmegacToOmegaPi.cxx
* Update candidateCreatorXic0Omegac0.cxx
* Update candidateCreatorXic0Omegac0.cxx
* Update treeCreatorOmegacToOmegaPi.cxx
* Update candidateCreatorXic0Omegac0.cxx
fixing the errors: error: 'SetField' is not a member of 'KFParticle'
error: unused parameter 'bcWithTimeStamps' [-Werror=unused-parameter]
* Update candidateCreatorXic0Omegac0.cxx
---------
Co-authored-by: root <root@USER-20161104VR.localdomain>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
joonsukbae pushed a commit to joonsukbae/O2Physics that referenced this pull request Aug 27, 2024
* add OmegaC0 table and kf table
* add Tasks of reconstructing OmegaC0 with the KFParticle
* add header file for OmegaC0 ML\
* Please consider the following formatting changes
* Update CMakeLists.txt
* Update HfMlResponseOmegaCToOmegaPi.h
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Update treeCreatorOmegacToOmegaPiWithKFP.cxx
* Please consider the following formatting changes
* Update CMakeLists.txt
* Update and rename HfMlResponseOmegaCToOmegaPi.h to HfMlResponseOmegacToOmegaPi.h
complete the documentation and change the file name.
* Update candidateSelectorOmegacToOmegaPiWithKFP.cxx
complete the documentation, remove useless lines, and use the "registry"
* Update HfMlResponseOmegacToOmegaPi.h
* Update PWGHF/DataModel/CandidateReconstructionTables.h
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
* Update PWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
* change CMakeLists.txt as requested.
respect alphabetic ordering as requested.
* change to use existing columns
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
fill the documentation.
* fixing some errors
* Update CandidateReconstructionTables.h
* Update CandidateReconstructionTables.h
* Update CandidateReconstructionTables.h
* changing some things as comment reqeust and fixing bugs
* Delete unused tables
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
using "static_cast<int>(..)" instead of "int(..)"
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Please consider the following formatting changes
* using exist table instead of duplication one
* using exist table
* deleting the DCAfitter
* deleting the DCAfitter, unused header and fixing
* Please consider the following formatting changes
* Update candidateCreatorOmegacToOmegaPiWithKFP.cxx
* Update treeCreatorOmegacToOmegaPiWithKFP.cxx
* adding KFParticle for omegac in existing omegac0 to omega pi workflow(candidateCreatorXic0Omegac0, treeCreatorOmegacToOmegaPi.cxx)
* adding KFParticle table for Omegac0 to Omega Pi and deleting duplication table added before
* Delete PWGHF/TableProducer/treeCreatorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateSelectorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx
now use existing workflow instead of duplication.
* Delete PWGHF/TableProducer/candidateCreatorOmegacToOmegaPiWithKFP.cxx
now use existing workflow instead of duplication.
* Revert "Delete PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx"
This reverts commit 8ac8b28.
* Please consider the following formatting changes
* Update candidateCreatorXic0Omegac0.cxx
* Update CandidateSelectionTables.h
* Please consider the following formatting changes
* Update CandidateSelectionTables.h
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* Update PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
* deleting duplication table
* Delete PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
* Update candidateCreatorXic0Omegac0.cxx
fixing bug: Incorrectly filling a variable into a table twice
* Update candidateCreatorXic0Omegac0.cxx
* Please consider the following formatting changes
* Update candidateCreatorXic0Omegac0.cxx
fixing errors
* Update candidateCreatorXic0Omegac0.cxx
keep all the cospa in the non-KF tables are referred to the PV.
* Update CandidateReconstructionTables.h
* Please consider the following formatting changes
* Update treeCreatorOmegacToOmegaPi.cxx
* no longer filling nSigma into KF-table in candidateCreator
* Update candidateCreatorXic0Omegac0.cxx
deleting unused variables
* Update candidateCreatorXic0Omegac0.cxx
deleting unused variables
* Update treeCreatorOmegacToOmegaPi.cxx
fixing bugs
* Update treeCreatorOmegacToOmegaPi.cxx
* Update candidateCreatorXic0Omegac0.cxx
* Update candidateCreatorXic0Omegac0.cxx
* Update treeCreatorOmegacToOmegaPi.cxx
* Update candidateCreatorXic0Omegac0.cxx
fixing the errors: error: 'SetField' is not a member of 'KFParticle'
error: unused parameter 'bcWithTimeStamps' [-Werror=unused-parameter]
* Update candidateCreatorXic0Omegac0.cxx
---------
Co-authored-by: root <root@USER-20161104VR.localdomain>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
Co-authored-by: Fabrizio <fabrizio.grosa@cern.ch>
@Yunfan-Liu
Yunfan-Liu deleted the omegac-reconstruction-with-kf branch February 13, 2025 10:08
Sign up for freeto 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.

4 participants

@Yunfan-Liu@fgrosa@alibuild@vkucera