Clean up "variables" in configuation file
Right now we have a json object called variables
that contains btag
and default_mapping
. Then confusingly there are e.g. ints
and jet_ints
within btag
. It would probably confuse fewer people if we structured this more like
"variables": {
"btagging": {
"floats": ...
...
},
"jet": {
"floats": ...
...
}
}
since that should make it more clear whether we're reading things off the b-tagging object or the jet. It should also make it easier to move stuff around (we can decorate both the jet and the b-tagging object with most taggers, and probably should exercise this more). Could probably be done as part of the nlohmann migration (#52 (closed)).