Muon tracks have undefined LHCbIDs
This is a follow up to #793 (comment 8131211)
Tracks like
*** Track ***
key : 128
type : Unknown
history : Unknown
fitstatus : Unknown
# ids : 4 [ { LHCbID : } { LHCbID : } { LHCbID : } { LHCbID : } ]
# VP clus : 0
# UT clus : 0
# FT clus : 0
chi2PerDoF : 0
nDoF : 0
GhostProb : 999
Likelihood : 999
extraInfo : []
# states : 0
where reported there.
I have checked to see why the LHCbIDs are not showing anything useful. The issue is not a printing issue, but these LHCbIDs are indeed undefined. I extended the LHCbID printout to check for this and now I see
*** Track ***
key : 59
type : Unknown
history : Unknown
fitstatus : Unknown
LHCbIDs : 4 [ { LHCbID : UNDEFINED } { LHCbID : UNDEFINED } { LHCbID : UNDEFINED } { LHCbID : UNDEFINED } ]
VP clusters : 0
# UT clus : 0
# FT clus : 0
chi2PerDoF : 0
nDoF : 0
GhostProb : 999
Likelihood : 999
extraInfo : []
# states : 0
The UNDEFINED
means the LHCbID do not have any sub-system type set. I now explicitly check for this and print UNDEFINED when this is the cause.
@mveghel Please take a look. Either the issue is happening when you clone the IDs into these 'tracks' or the original IDs from the Muon reco does not have them correctly set.
Edited by Christopher Rob Jones