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/D2H] Adding ML application in MC processes for analysis on Multiplicity Dependent D* Production Cross Section #9119

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

deependra170598
Copy link
Contributor

Hi @fgrosa @fcatalan92,
In this PR I tried to add MC processes with ml application to calculate prompt and non-prompt efficiencies. Also a check if right combination of process functions are true.

@github-actions github-actions bot added the pwghf PWG-HF label Dec 23, 2024
@github-actions github-actions bot changed the title [PWGHF/D2H ] Adding ML application in MC processes [PWGHF/D2H] Adding ML application in MC processes Dec 23, 2024
@@ -82,6 +87,9 @@ struct HfTaskDstarToD0Pi {

void init(InitContext&)
{
if ((doprocessDataWoML & doprocessDataWML) | (doprocessMcWoMl & doprocessMcWML)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a wrong syntax and is the reason for the compilation failure. These are bitwise operators. You have to use bool operators.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Plus, you are allowing combinations doprocessDataWoML and doprocessMcWML and the other way around now, which are also wrong.

@vkucera
Copy link
Collaborator

vkucera commented Dec 24, 2024

@deependra170598 Your PR title does not mention which analyses is concerned. Please add it.

@deependra170598 deependra170598 changed the title [PWGHF/D2H] Adding ML application in MC processes [PWGHF/D2H] Adding ML application in MC processes for analysis on Multiplicity Dependent D* Production Cross Section Dec 24, 2024
Copy link
Contributor Author

@deependra170598 deependra170598 left a comment

Choose a reason for hiding this comment

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

@deependra170598 Your PR title does not mention which analyses is concerned. Please add it.

Thanks Vit for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pwghf PWG-HF
Development

Successfully merging this pull request may close these issues.

2 participants