Draft: Adding a variable combining PartonExtendedTruthLabelID and HadronGhostInitialTruthLabelPdgId
Description
In the jet charge team, we wanted to have a variable that combines the PartonExtendedTruthLabelID and the HadronGhostInitialTruthLabelPdgId information in order to be able to train on the same variable for b-jets, c-jets and light-jets. This variable is built in the following way:
- Create a map of all the possible hadron PDGIDs associated to b-jets and c-jets.
- If the HadronGhostInitialTruthLabelPdgID associated to the jet is in the map, categorize the jet as a b/anti-b or c/anti-c according to the map.
- If the HadronGhostInitialTruthLabelPdgID is a tau, associate the ID of the tau/anti-tau
- If it is none of the previous cases, then the jet is assumed to be a light-jet and then we save the PartonExtendedTruthLabelID, which contains the information of the flavour of the light-jet.
No dedicated issue created.
Review checklist:
-
CI Passing -
Comments addressed -
Source branch is up to date with target
Edited by Alvaro Lopez Solis