You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have reconstructed some events using the Cambridge/Aachen algorithm and would like to find the two parents of these jets. I'm looking for a way of accessing the entire merging tree from a final jet—i.e. a function or API call that, for each PseudoJet, gives you the two sub-jets that were merged to form it. Specifically, I was looking for the ability to make a function along the lines of:
function get_jet_parents(jet::PseudoJet, cluster_seq::ClusterSequence)::Union{Tuple{PseudoJet, PseudoJet}, Nothing} if JetReconstruction.has_parents(jet, cluster_seq) parent1, parent2 = JetReconstruction.parents(jet, cluster_seq) return (parent1, parent2) end return nothing end
As far as I know, this package doesn't have these capabilities yet.
The text was updated successfully, but these errors were encountered:
I guess this has some rather large performance implications. But maybe if the api of finding the jets to be clustered is user-friendly enough, one can easily implement this outside
I am leaving this as a record for anyone else trying to do the same thing. While there is probably a more efficient approach, this was the most reliable I could find for now.
I have reconstructed some events using the Cambridge/Aachen algorithm and would like to find the two parents of these jets. I'm looking for a way of accessing the entire merging tree from a final jet—i.e. a function or API call that, for each PseudoJet, gives you the two sub-jets that were merged to form it. Specifically, I was looking for the ability to make a function along the lines of:
function get_jet_parents(jet::PseudoJet, cluster_seq::ClusterSequence)::Union{Tuple{PseudoJet, PseudoJet}, Nothing} if JetReconstruction.has_parents(jet, cluster_seq) parent1, parent2 = JetReconstruction.parents(jet, cluster_seq) return (parent1, parent2) end return nothing end
As far as I know, this package doesn't have these capabilities yet.
The text was updated successfully, but these errors were encountered: