Adding variables for track jets
I wanted to follow up on @stipnis's talk in the algorithms meeting, where he mentioned a few things that we might want to add. On slide 15 he listed the following additions:
-
Number of tracks in the track jet -
Tracks used to make the track jet -
pt / eta / phi of the b/c hadron -
Track truth label
I'm suspicious that the first and second might be really easy: the jet already has a std::vector<ElementLink<IParticleContainer>>
called "constituentLinks"
, which means we can dump directly by setting "source": "jet", "input_name": "constituentLinks"
in one of the "track" blocks in the configuration file.
On the later two I should defer to @svanstro and @cschiavi, who did some work to this end. The pt of the hadron is already available on the jet as "HadronConeExclTruthLabelPt"
, added via ParticleJetDeltaRLabelTool
. I thought @cschiavi might have also been interested in adding additional b-hadron label information, so maybe he can comment on how much work has been done there already.
As I've said to some people before, we can prototype new variables in this package, but I think it would be really useful if we could eventually add additional b-hadron properties in the ParticleJetDeltaRLabelTool
: this would ensure that the definitions are centralized for the flavor tagging group, and would avoid some of the issues we always get with broken links in DxAODs.