Skip to content

Introduce new enum for unknown constituent signal state

William Keaton Balunas requested to merge wbalunas/athena:atljetmet-769 into master

xAODJet::getConstituentsSignalState() is supposed to return a value based on the jet attribute "ConstituentScale". If the jet doesn't have this property, it currently silently returns a default value. This is dangerous, so this MR replaces that behavior with an error message and allows the attribute access to fail a new dedicated enum which indicates that no ConstituentScale exists. See ALTJETMET-769, which is quite old but still relevant.

Edited by William Keaton Balunas

Merge request reports