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

Load positivity datasets with cuts #2058

Open
scarlehoff opened this issue Apr 19, 2024 · 6 comments
Open

Load positivity datasets with cuts #2058

scarlehoff opened this issue Apr 19, 2024 · 6 comments
Assignees

Comments

@scarlehoff
Copy link
Member

We always skip the cuts when loading positivity datasets. I'm not entirely sure why (it has always been done like that, maybe some parts of the code needs the positivity not to be cut)

def load_commondata(self):

However, now the positivity sets and fktables should be in the same footing as the others, so in principle we could also cut (in x for instance). Maybe removing this method (so that it goes to the parent, which applies the cut) is enough, but it should be tested.

@RoyStegeman
Copy link
Member

However, now the positivity sets and fktables should be in the same footing as the others

Why? Positivity is quite special. I don't think we should e.g. not include positivity if we change the Q2 cut to above 5Gev2 if we want to test the stability for example

@scarlehoff
Copy link
Member Author

I don't think cuts would apply for positivity by default (and if they do, they should be process type POS and not DIS) but we should be able to add them if needed.

@RoyStegeman
Copy link
Member

Okay, as long as it's not by default I don't see any problem

@comane
Copy link
Member

comane commented Apr 19, 2024

Hi @scarlehoff, just to make sure I understand this correctly.
Would you like to have some rules in cuts/filter.yml that impose cuts in x for the positivity datasets?

Another options would be that of creating a new kinematics file eg for XGL -> NNPDF_POS_2P24GEV_XGL_highX where we simply remove the kinematic points that are below a certain treshold

@scarlehoff
Copy link
Member Author

scarlehoff commented Apr 19, 2024

Would you like to have some rules in cuts/filter.yml that impose cuts in x for the positivity datasets?

No. There should be no changes to cuts/filter.yml but you can add filter rules in the runcard:

added_filter_rules:
    - dataset: NNPDF_POS_2P24GEV_XGL
       rule: "x > 0.1"

And then positivity will be cut below x = 0.1. However cuts are not applied to positivity sets.
That way running with different values of this cuts is as simple as changing that in the runcard (as opposed to having to create an fktable specifically for the requested range of x)

Another options would be that of creating a new kinematics file eg for XGL -> NNPDF_POS_2P24GEV_XGL_highX where we simply remove the kinematic points that are below a certain treshold

This is what has been done for the FLL 19PTS and what I would like to avoid (with the associated fktable)

@comane
Copy link
Member

comane commented Apr 19, 2024

Ok, I see.

Then I think that it's probably not enough to just remove the load_commondata from LagrangeSetSpec, it seems that positivity datasets are assigned a Cuts class whereas DataSetSpecs are assigned an InternalCutsWrapper which is the one aware of the rules.

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

No branches or pull requests

4 participants