iris-hep / idap-200gbps-atlas

benchmarking throughput with PHYSLITE
6 stars 1 forks source link

`EventInfo` should have a default argument #126

Open gordonwatts opened 3 months ago

gordonwatts commented 3 months ago

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"),
        }
    )