First attempt at adding jet z-origin info
Description
I'm trying to include the jet z-origin vertex info, but running that gives this error:
TruthJetPrimaryVertexDecorator ERROR no pv found
This seems to be coming from L31 in TruthJetPrimaryVertexDecoratorAlg.cxx
const xAOD::TruthVertex* pv = events->at(0)->signalProcessVertex();
signalProcessVertexLink exists in the standard p5627 test files (MC23?):
5.004 kb 0.601 kb 0.060 kb 0.000 10 (B) TruthEventsAuxDyn.signalProcessVertexLink
but does not exist in the TruthEventsAuxDyn container in the upgrade samples:
98.849 kb 23.265 kb 0.005 kb 0.000 5000 (B) TruthEventsAuxDyn.PDFID1
98.849 kb 23.265 kb 0.005 kb 0.000 5000 (B) TruthEventsAuxDyn.PDFID2
98.849 kb 25.721 kb 0.005 kb 0.000 5000 (B) TruthEventsAuxDyn.PDGID1
98.849 kb 25.750 kb 0.005 kb 0.000 5000 (B) TruthEventsAuxDyn.PDGID2
99.364 kb 35.180 kb 0.007 kb 0.000 5000 (B) TruthEventsAuxDyn.crossSection
98.419 kb 41.533 kb 0.008 kb 0.000 5000 (B) TruthEventsAuxDyn.Q
98.505 kb 45.177 kb 0.009 kb 0.000 5000 (B) TruthEventsAuxDyn.X2
98.505 kb 45.216 kb 0.009 kb 0.000 5000 (B) TruthEventsAuxDyn.X1
98.591 kb 45.339 kb 0.009 kb 0.000 5000 (B) TruthEventsAuxDyn.XF1
98.591 kb 45.388 kb 0.009 kb 0.000 5000 (B) TruthEventsAuxDyn.XF2
Are there any ideas for a workaround for this?
Review checklist:
-
CI Passing -
Comments addressed -
Source branch is up to date with target
Edited by Katharine Leney