Skip to content

Add a primary vertex z position decorator to jets

Dan Guest requested to merge dguest/training-dataset-dumper:add-det-z into r22

This adds a decorator1 for the primary vertex Z position. We're interested in this for trigger studies where we may try to predict the primary vertex position.

It also added a bit of regex magic to the BTagJetWriter class: I'm assuming that any variable that starts with n[A-Z] is an integer, and anything else is a float. This is arguably a slightly hacky solution so I'm opening #14 (closed) to discuss how we should clean it up.

  1. for now only used in SingleBTagAlg

Merge request reports