Follow-up from "Centralize the definition of make_jets to standard_jets.py"
The following discussion from !3242 (merged) should be addressed:
-
@lugrazet started a discussion: (+12 comments) I see there's lots of calls of
SV = make_topo_2body_with_svtag()
andTOPO = make_topo_2body()
I would prefer having a _make_jet_tags() defined somewhere (standard_jets?) which can then be imported and we can replace these with a
tag = _jet_tag_maker(tag_key='SV')
or similar. This would then prevent things somehow getting slightly out of sync and is a bit neater.def _jet_tag_maker(tag_key): return { "TOPO": make_topo_2body, "SV": make_topo_2body_with_svtag, }[tag_key]
Edited by Dillon Scott Fitzgerald