-
Notifications
You must be signed in to change notification settings - Fork 3
Implement a fix_convolution method
#368
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Felix Hekhorn <felixhekhorn@users.noreply.github.com>
| self.channels = new_channels; | ||
| } | ||
|
|
||
| /// Fix one of the convolutions in the Grid and return a new Grid with lower convolution dimension. |
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.
We should document that any scale part of the fixed convolution will not be varied anymore, only if it's part of any scale-logs; this might make scale-variations useless if one doesn't completely fix all convolutions dependent on that scale.
pineappl/src/grid.rs
Outdated
|
|
||
| let mut new_grid = Self::new( | ||
| self.bwfl.clone(), | ||
| self.orders.clone(), |
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.
If we fix a FF and have logs dependent on a fragmentation scale, we should probably throw the corresponding orders (see the comment above).
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.
That's right! The orders should be re-arranged and/or merged if this is the case. I implemented to logic to do so in a69c3c0 and added a detailed documentation.
(Also addresses the point above)
The following PR allows fixing one of the convolutions and return a new Grid with lower dimension. For eg. it can be used to convert a SIDIS grid into DIS. The method is tested (in pineappl/tests/drell_yan_lo.rs) and works.
TODO:
cc @vbertone