Draft: Refactor JVT selection interface

Currently there is a duplication of functionality between the NNJVT tool, which both computes the NNJVT discriminant and applies cuts on it, and and the JVT selection tools, which apply cuts to select jets. This is suboptimal because it is often desirable to do this things in two different places (e.g. computing the variable when making a derivation, then applying the desired cuts at the analysis stage). This MR:

  • Removes the application of any cuts and validity ranges from the tool which computes NNJVT, along with associated config variables
  • Updates the JVT selection tools to also implement the IJetDecorator interface, making it easier to compute selection decision flags on the jets
  • Adjusts the jet trigger configuration to use this new structure (previously it has been relying on the pass decision made at variable computation time).

Tagging @khoo, @cmorenom, @gotero, @pakontax, @jlsmith.

Merge request reports

Loading