PHYSLITESchema

class coffea.nanoevents.PHYSLITESchema(base_form)[source]

Bases: BaseSchema

PHYSLITE schema builder - work in progress.

This is a schema for the ATLAS DAOD_PHYSLITE derivation. Closely following schemas.nanoaod.NanoAODSchema, it is mainly build from naming patterns where the “Analysis” prefix has been removed, so the collections will be named Electrons, Muons, instead of AnalysisElectrons, AnalysisMunos, etc. The collection fields correspond to the “Aux” and “AuxDyn” columns.

Collections are assigned mixin types according to the mixins mapping. All collections are then zipped into one base.NanoEvents record and returned.

Cross references are build from ElementLink columns. Global indices are created dynamically, using an _eventindex field that is attached to each collection.

Attributes Summary

behavior

Behaviors necessary to implement this schema

mixins

Default configuration for mixin types, based on the collection name.

truth_collections

TRUTH3 collection names.

Attributes Documentation

behavior

Behaviors necessary to implement this schema

mixins = {'CombinedMuonTrackParticles': 'TrackParticle', 'Electrons': 'Electron', 'ExtrapolatedMuonTrackParticles': 'TrackParticle', 'GSFTrackParticles': 'TrackParticle', 'InDetTrackParticles': 'TrackParticle', 'Jets': 'Particle', 'MuonSpectrometerTrackParticles': 'TrackParticle', 'Muons': 'Muon', 'TauJets': 'Particle', 'TruthBoson': 'TruthParticle', 'TruthBottom': 'TruthParticle', 'TruthElectrons': 'TruthParticle', 'TruthMuons': 'TruthParticle', 'TruthNeutrinos': 'TruthParticle', 'TruthPhotons': 'TruthParticle', 'TruthTaus': 'TruthParticle', 'TruthTop': 'TruthParticle'}

Default configuration for mixin types, based on the collection name.

The types are implemented in the coffea.nanoevents.methods.physlite module.

truth_collections = ['TruthPhotons', 'TruthMuons', 'TruthNeutrinos', 'TruthTaus', 'TruthElectrons', 'TruthBoson', 'TruthBottom', 'TruthTop']

TRUTH3 collection names.

TruthParticle behavior is assigned to all of them and global index forms for parent/children relations are created for all combinations.