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

EventInfo should have a default argument #126

Open
gordonwatts opened this issue May 22, 2024 · 0 comments
Open

EventInfo should have a default argument #126

gordonwatts opened this issue May 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request servicex Related to SX tests
Milestone

Comments

@gordonwatts
Copy link
Member

The type library already has defaults for many things - but only if they have calibration (e.g. Jets). We should add for other common
things which are always the same.

And perhaps the same for Verticies...

    event_model = ds.Select(
        lambda e: {
            "evt": e.EventInfo("EventInfo"),
            "jet": e.Jets(),
            "ele": e.Electrons(),
            "muons": e.Muons(),
            "pv": e.Vertices("PrimaryVertices"),
        }
    )
@gordonwatts gordonwatts added enhancement New feature or request servicex Related to SX tests labels May 22, 2024
@gordonwatts gordonwatts added this to the Post Test milestone May 22, 2024
@gordonwatts gordonwatts self-assigned this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request servicex Related to SX tests
Projects
None yet
Development

No branches or pull requests

1 participant