Finding number of Muons

How can I find the number of Muons in my event. I see that in some ROOT tutorials, there is a branch called nMuons in the tree. However, when I look at my TTree I don’t see that I have the nMuon branch that tells me how many muons. What is the simplest way to find the number of muons generated?
Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


You should go back to the TTree creation program and add this variable.
If you are not the author of the TTree creation program check with the author.

The TTree I believe is created with my MadGraph simulation. I don’t see how to add it in my delphes card.

So you should go back to this simulation and ask the authors of this program.

Ok, I will check there. Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.