Skip to content

Is there a way to get the constituent indices of subjets with array-based interface? #100

Answered by aryan26roy
jmduarte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jmduarte, sorry for the late reply. You are right, cluster.constituent_index() returns the constituents of the inclusive jets. As for your problem, in the C++ version, I presume that once you get the vector of PseudoJet objects from the cluster.exclusive_subjets() function call, you would go through each of them doing the PseudoJet.constituents() function call on each object to get what you want?

If so, there is no way of doing that with this interface right now. However, it can be easily implemented the same way cluster.constituent_index() was implemented for inclusive jets.

As @jpivarski mentioned, we were not too familiar with jet-finding, hence we only implemented the already avai…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@jpivarski
Comment options

@jmduarte
Comment options

jmduarte Sep 15, 2022
Maintainer Author

@jpivarski
Comment options

@jmduarte
Comment options

jmduarte Sep 19, 2022
Maintainer Author

@jpivarski
Comment options

Comment options

You must be logged in to vote
1 reply
@jmduarte
Comment options

jmduarte Sep 19, 2022
Maintainer Author

Answer selected by jmduarte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants