Skip to content

Make v11 compatible and include dZ variable

Jan Lukas Spah requested to merge jspah/HiggsDNA:make_v11_compatible into master

List of important changes to have HiggsDNA compatible with nanoAOD v11:

  • events.fixedGridRhoAll -> events.Rho.fixedGridRhoAll
  • photons.trkSumPtHollowConeDR03 -> photons.pfChargedIsoPFPV` (can be reverted for HiggsDNA that processes nanoAOD v12 if need be)
  • photons.pfRelIso03_chg -> photons.pfRelIso03_chg_quadratic (we can discuss if the cut value needs to be changed but at least this variable works right now)
  • Added photons["charge"] = awkward.zeros_like(photons.pt) because the Photons collection in nanoAOD v11 does not contain charge anymore. We just assume that photons have zero charge now, I guess. Hope that does not cause any problems.
  • diphotons["dZ"] = events.GenVtx.z - events.PV.z for MC, zeros for data

Helpful links:

Solves #23 (closed) and #25 (closed).

Edited by Jan Lukas Spah

Merge request reports