Update truth decorations
Closes #72 (closed)
Add a JetTruthSummaryDecorator
class which takes the functionality to count the number of truth particles and calculate the closest truth particle to the jet from LeptonTruthDecorator
and makes this calculable to any truth collection.
The old LeptonTruthDecorator
still exists to add the softmuon MC truth classification. This decoration is controlled by the existing soft_muon
decoration key.
I tested the old and new counts for truth prompt leptons and truth muons over 1000 Z' events and got identical results.
Todo:
-
Update documentation
Edited by Samuel Van Stroud