Toggles for running specific object types
Allows independently toggling the CP algs for the following object types:
- small-R jets
- large-R topo jets
- large-R UFO jets (default off)
- VR jets
- muons
- electrons (default off)
- photons (default off) These are on by default except as specified above.
In PHYSLITE jobs, it is enforced that VR jets and large-R topo jets are off, because these collections are not in the DAOD format.
It is further enforced that only one large-R type is permitted, as overlap removal can only handle one. If it is useful, this check could be made conditional on OR.
Activating write_X
flags with do_X=False
is an error condition. I kept this as an assert and not an auto-disable, because all this is configured from the yaml, and therefore people should keep it consistent.
Overlap removal configuration will be adapted automatically to the active collections.
TODO:
-
Add asserts
for the other operations (resolved analysis, boosted analysis, truth matching) that depend on certain object types being present. -
Consider if we should require certain types e.g. small-R jets given how the framework is jet-centric -
Consider if we need a toggle for b-tagging
Edited by Teng Jian Khoo