Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PWGHF] Implement ML models in D0-h correlation #8742

Merged
merged 23 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e88eb89
type conversion for PDG value
samrangy Oct 13, 2023
5a65fdf
extending mass axis range and modifying SB values
samrangy Jan 20, 2024
7547da1
resolving conflicts
samrangy Jan 20, 2024
dc85814
resolving conflicts
samrangy Jan 20, 2024
a00fa2f
Merge dc85814565e69bd67f789ad57008335f3b46e741 into e79d6d34a706fc189…
samrangy Jan 20, 2024
7127a94
MegaLinter fixes
alibuild Jan 20, 2024
e9e82c7
Merge pull request #24 from alibuild/alibot-cleanup-ml-4397
samrangy Jan 20, 2024
3a15d4d
Merge branch 'AliceO2Group:master' into master
samrangy Jun 15, 2024
16b6550
Merge branch 'AliceO2Group:master' into master
samrangy Jun 20, 2024
2b23dc7
Merge branch 'AliceO2Group:master' into master
samrangy Nov 29, 2024
b9313ac
Merge branch 'AliceO2Group:master' into MlData
samrangy Nov 29, 2024
ef67ae5
Merge branch 'AliceO2Group:master' into MlData
samrangy Nov 29, 2024
8948e0c
Please consider the following formatting changes
alibuild Jun 15, 2024
6cc7278
Add requireGlobalTrackWoDCAInFilter() to trackFilter
samrangy Nov 29, 2024
bb03560
Implement ML models in data
samrangy Nov 29, 2024
b042d25
Please consider the following formatting changes
alibuild Dec 6, 2024
cbadc90
Merge pull request #28 from alibuild/alibot-cleanup-8742
samrangy Dec 6, 2024
cd8778c
Merge branch 'AliceO2Group:master' into MlData
samrangy Dec 10, 2024
512d322
Merge branch 'AliceO2Group:master' into MlData
samrangy Dec 10, 2024
184ed13
Fix O2 Linter warnings
samrangy Dec 10, 2024
cdc0dae
Fix O2 Linter warnings
samrangy Dec 10, 2024
0afc62d
Please consider the following formatting changes
alibuild Dec 10, 2024
3422568
Merge pull request #30 from alibuild/alibot-cleanup-8742
samrangy Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions PWGHF/HFC/DataModel/CorrelationTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ DECLARE_SOA_COLUMN(PtD, ptD, float); //! Transverse mom
DECLARE_SOA_COLUMN(PtHadron, ptHadron, float); //! Transverse momentum of Hadron
DECLARE_SOA_COLUMN(MD, mD, float); //! Invariant mass of D0
DECLARE_SOA_COLUMN(MDbar, mDbar, float); //! Invariant mass of D0bar
DECLARE_SOA_COLUMN(MlScoreBkgD0, mlScoreBkgD0, float); //! ML background score for D0 selection
DECLARE_SOA_COLUMN(MlScoreNonPromptD0, mlScoreNonPromptD0, float); //! ML prompt score for D0 selection
DECLARE_SOA_COLUMN(MlScorePromptD0, mlScorePromptD0, float); //! ML prompt score for D0 selection
DECLARE_SOA_COLUMN(MlScoreBkgD0bar, mlScoreBkgD0bar, float); //! ML background score for D0 selection
DECLARE_SOA_COLUMN(MlScoreNonPromptD0bar, mlScoreNonPromptD0bar, float); //! ML prompt score for D0 selection
DECLARE_SOA_COLUMN(MlScorePromptD0bar, mlScorePromptD0bar, float); //! ML prompt score for D0 selection
DECLARE_SOA_COLUMN(SignalStatus, signalStatus, int); //! Tag for D0,D0bar
DECLARE_SOA_COLUMN(PoolBin, poolBin, int); //! Pool Bin for the MixedEvent
DECLARE_SOA_COLUMN(IsAutoCorrelated, isAutoCorrelated, bool); //! Correlation Status
Expand All @@ -81,19 +87,36 @@ enum ParticleTypeMcRec {
};
} // namespace hf_correlation_d0_hadron

DECLARE_SOA_TABLE(DHadronPair, "AOD", "DHADRONPAIR", //! D0-Hadrons pairs Informations
DECLARE_SOA_TABLE(D0HadronPair, "AOD", "D0HPAIR", //! D0-Hadrons pairs Informations
aod::hf_correlation_d0_hadron::DeltaPhi,
aod::hf_correlation_d0_hadron::DeltaEta,
aod::hf_correlation_d0_hadron::PtD,
aod::hf_correlation_d0_hadron::PtHadron,
aod::hf_correlation_d0_hadron::PoolBin,
aod::hf_correlation_d0_hadron::IsAutoCorrelated);

DECLARE_SOA_TABLE(DHadronRecoInfo, "AOD", "DHADRONRECOINFO", //! D0-Hadrons pairs Reconstructed Informations
DECLARE_SOA_TABLE(D0HadronRecoInfo, "AOD", "D0HRECOINFO", //! D0-Hadrons pairs Reconstructed Informations
aod::hf_correlation_d0_hadron::MD,
aod::hf_correlation_d0_hadron::MDbar,
aod::hf_correlation_d0_hadron::SignalStatus);

DECLARE_SOA_TABLE(D0HadronMlInfo, "AOD", "D0HMLINFO", //! D0-Hadrons pairs Machine Learning Information
aod::hf_correlation_d0_hadron::MlScoreBkgD0,
aod::hf_correlation_d0_hadron::MlScoreNonPromptD0,
aod::hf_correlation_d0_hadron::MlScorePromptD0,
aod::hf_correlation_d0_hadron::MlScoreBkgD0bar,
aod::hf_correlation_d0_hadron::MlScoreNonPromptD0bar,
aod::hf_correlation_d0_hadron::MlScorePromptD0bar);

DECLARE_SOA_TABLE(D0CandRecoInfo, "AOD", "D0CANDRECOINFO", //! Ds candidates Reconstructed Information
aod::hf_correlation_d0_hadron::MD,
aod::hf_correlation_d0_hadron::MDbar,
aod::hf_correlation_d0_hadron::PtD,
aod::hf_correlation_d0_hadron::MlScoreBkgD0,
aod::hf_correlation_d0_hadron::MlScorePromptD0,
aod::hf_correlation_d0_hadron::MlScoreBkgD0bar,
aod::hf_correlation_d0_hadron::MlScorePromptD0bar);

// Note: definition of columns and tables for Lc-Hadron correlation pairs
namespace hf_correlation_lc_hadron
{
Expand Down
Loading
Loading