# weaver-core data config for the collide2v fatjet tagger (SPATOP.md section 14, plan phase C2). # Input: parquet files from src/data/collide2v/extract_fatjet_constituents.py (one row per SPANet fatjet). # Classes t / W / bq (dR content of tt fatjets) and QCD (QCD_HT250toInf fatjets); tt "other" fatjets are not trained on. # Track errors (ErrorD0/ErrorDZ) are zero in collide2v, so they are not inputs. # The classes are reweighted to a flat (pT, soft-drop mass) shape so the tagger does not learn the class spectra. selection: (label > 0) & (jet_nparticles > 0) new_variables: part_mask: ak.ones_like(part_deta) jet_energy: np.sqrt((jet_pt * np.cosh(jet_eta)) ** 2 + jet_mass ** 2) part_logpt: np.log(part_pt) part_loge: np.log(part_energy) part_logptrel: np.log(part_pt / jet_pt) part_logerel: np.log(part_energy / jet_energy) part_deltaR: np.hypot(part_deta, part_dphi) part_isElectron: part_pid == 11 part_isMuon: part_pid == 13 part_isPhoton: part_pid == 22 part_isChargedHadron: (part_charge != 0) & (part_pid != 11) & (part_pid != 13) part_isNeutralHadron: (part_charge == 0) & (part_pid != 22) part_d0t: np.tanh(part_d0) part_dzt: np.tanh(part_dz) preprocess: method: auto data_fraction: 0.2 inputs: pf_points: length: 128 pad_mode: wrap vars: - [part_deta, null] - [part_dphi, null] pf_features: length: 128 pad_mode: wrap vars: - [part_logpt, null] - [part_loge, null] - [part_logptrel, null] - [part_logerel, null] - [part_deltaR, null] - [part_charge, null] - [part_isElectron, null] - [part_isMuon, null] - [part_isPhoton, null] - [part_isChargedHadron, null] - [part_isNeutralHadron, null] - [part_d0t, null] - [part_dzt, null] - [part_deta, null] - [part_dphi, null] pf_vectors: length: 128 pad_mode: wrap vars: - [part_px, null] - [part_py, null] - [part_pz, null] - [part_energy, null] pf_mask: length: 128 pad_mode: constant vars: - [part_mask, null] labels: type: simple value: [label_t, label_W, label_bq, label_QCD] observers: - sample_id - source_file - source_row - slot - label - weight - jet_pt - jet_eta - jet_mass - jet_sdmass - jet_tau21 - jet_tau32 weights: use_precomputed_weights: false reweight_method: flat reweight_vars: jet_pt: [150, 200, 250, 300, 350, 400, 500, 600, 800, 1000, 1500] jet_sdmass: [0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 250, 300, 400] reweight_classes: [label_t, label_W, label_bq, label_QCD] class_weights: [1, 1, 1, 1] reweight_threshold: 15 reweight_hists: