-
Notifications
You must be signed in to change notification settings - Fork 151
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
[QC-1227] Get beam type from PDP parameter #2461
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the string values from pdp_beam_type
defined somewhere? I saw them mentioned by Andrea but without any link
short answer: I don't know. |
No idea. @shahor02 maybe? |
|
Ok, thank you for the info. I conclude that the format of these values is defined somewhere in ODC. |
Framework/src/runnerUtils.cxx
Outdated
} else if (pdpBeamType == "pPb") { | ||
return "Pb-PROTON"; | ||
} else { | ||
return ""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add some warning, that we met value that we did not expect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, I let you have a look
Warn if we can't convert
* [QC-1227] Get beam type from PDP parameter * remove useless line * Update runnerUtils.cxx Warn if we can't convert * Update runnerUtils.cxx
No description provided.