New Muon Origin Class and some fixes
This MR adds a class to ftagTruthMuonOriginLabel
called NotInnerDetectorMuons
and corrects an inconsistency by including the InDet::TrkOrigin::OtherSecondary
class in the InDet::ExclusiveOrigin::OtherSecondary
label.
Specifically:
- The new class for the origin of muons is useful because many muons in jets are reconstructed with ID tracks that correspond to the parent particle that generated them. This process occurs even for tight WP in muon selection. Until now, these muons were erroneously labeled as
primary
because, at the truth level, the particle associated with the ID track was often a hadron from the Parton Shower, and thus the origin was consideredprimary
. - Regarding the
InDet::TrkOrigin::OtherSecondary
class, it included all decays of long-living particles excluding (pions, kaons and Λ). The number of such decays is small, and these were previously labeled asprimary
. Now, they are correctly added to theInDet::ExclusiveOrigin::OtherSecondary
label.