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

Separate photon's elastic, inelastic and msbar components #1764

Closed
wants to merge 3 commits into from

Conversation

niclaurenti
Copy link
Contributor

This PR aim is the following: we want to provide PDF sets in which, instead of the total photon, there is only its elastic or inelastic component.
However, in the sum rules and in the FKtables contraction we still want to have the total component. So, the elastic/inelastic part must be called only at the very last moment, when we register the photon in the lhapdf grid.

At the moment I still don't know how we should treat the additional errors, since they are supposed to be the errors of the total pdf and not of a component of it.

@scarlehoff
Copy link
Member

I would change the strategy a bit. I would make it so the output of the photon is always three components and the flag you give decides whether to sum them together or return only one of them.

So basically in here:

def call(self, pdfs, ph_replica):

You would have separate components _ph_elastic, _ph_inelastic and then either in register_photon or in call you can do ph = _ph_elastic + _ph_inelastic or ph = _ph_elastic or whatever you need.

That way you avoid having to pass the flag one level down.

In addition, I would do total = True or separate_components = False or something like that (so, have a default where the default is "the entire photon") and don't pass anything for the fktables / msbar, only when you actually needed it behaving differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants