Add trigger b-jet preselection dumping script, lots of cleanup
The main addition here was adding a script that dumps the information we use for preselection EMTopo jets. Along the way I cleaned up a lot of stuff:
- added some consistency checks to the json configuration: specifically if any of the decorators that require a b-tagging object are set, make sure we're actually accessing the b-tagging object.
- make the b-tagging object name optional for the trigger jet getter. If it's not set, don't retrieve a b-tagging object.
- moved most of
ca-dump-trigger-btag
into thetrigger
module - misc cleanup for outdated modules / functions
- consolidate the json configuration to dump tracks in the trigger: most of it was repeated
- add a unit test for the preselection emtopo jet dumper
Maybe @sfranche wants to take a look at the track dumping configuration in trigger.json
and in trigger_emtopo.json
(can do it after this is merged) to see if it makes sense. It's easy to add more track variations.
Edited by Dan Guest