Cleanup selection configuration
This cleans up a number of things mentioned in #51 (closed). Specifically:
- Move jet and event selection into a common block. Make every selection optional: an empty block should dump everything.
- Decouple JVT from calibrating jets: you can use it with or without the jet calibration.
- Move
do_heavyions
into thedecorate
block.
Also some bonus things:
- Move
decorate
block to using nlohmann, move bools to json bool rather than strings. - Remove
n_jets_per_event
: it was only used in one experimental place, and didn't work with many other options. - Where options were moved, opted for more verbose naming.
- Added a test that checks each of the single b-tagging json files to ensure that it parses.
Sorry for the big MR right before the tutorial @svanstro, I: thought it was better to document cleaned up configuration.
Edited by Dan Guest