-
Notifications
You must be signed in to change notification settings - Fork 3
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
Inconsistent convolution information: convolution_particle
vs. initial_state
#316
Comments
@Radonirinaunimi can we have cases where the two are mixed? (probably a bug in pineappl? I know it happened at some point for tevatron grids due to a bug in the charge conjugation, but maybe there's another one lurking?) |
The grid is ATLAS 7 TeV TTbar total cross section if that helps |
Hi @LucianHL, thanks a lot for making us aware of this! Would it possible for you to share with us the
In principle these two should never be mixed as it might lead to other more subtle issues. I believe that given that the |
Thanks - this seems to be happening irrespective of the input applgrid actually (well, I have tried two so far). But here is the TTbar one, along with the converted pineappl grid. This has been done using the pineappl cargo installation:
and then the pineappl import command. Let me know if you need any more information |
Perfect, thanks! I will have a look and will get back to you soon. |
Let me move this to the pineappl repo for organizational purposes @Radonirinaunimi whether to add the code in the OP to |
Just to say that I also favor the option of not allowing these mix in |
Thanks, just to confirm that checking some other grids these all have the issue so it is not specific to the input applgrid but rather the conversion itself by the look of it. |
Hi @LucianHL , this ofc needs to be fixed from our end, but I have a quick solution for you in case it helps. This information is located in the metadata which can be read using
Now, using
This should now work 🤞 |
Thank you @t7phy - yes that works as you suggested and no problem to work that into the conversion script for now. I will let you know if I have any issues running with these |
This problem has been reported before, but unfortunately I didn't find an Issue, which probably means it doesn't exist. So thank you for your report, @LucianHL! The bug has been fixed in commit 741dcb9, but there isn't a release with the fix yet. You probably don't want to use |
convolution_particle
vs. initial_state
Here's a new release: https://github.com/NNPDF/pineappl/releases/tag/v0.8.4. @LucianHL, if you have the time please test whether this release has indeed fixed the observed behaviour. If that's the case, feel free to close the Issue. |
Thank you I will do - will that work with the cargo install above or do I need to do something different? |
It should work with EDIT: I forgot that you're mainly interested in the conversion of |
Thank you - yes that installs fine and produces grids with the right convolution_particle labelling |
Great! |
Hi, this is quite possibly only ever going to be an issue for me, as I have been converting some potentially reasonably old applgrids to pineappl grids. But in the first example I have tried with the NNPDF code for some reason in the configs data of the converted file
convolution_particle
is used for beam 1 andinitial_state
for beam 2, i.e. there isconvolution_particle_1
andinitial_state_2
. This is causingpineparser.py
to crash when these are read in. Possibly this is better fixed at the conversion stage but in any case changing the relevant try statements to:fixes it, so might be worth updating.
The text was updated successfully, but these errors were encountered: