My code does not have any error but does not work

Dear friends,
This is a basic question. I have downloaded the file from CMS open source website(HEPTutorial file) and I want to select at least two muon from the file.

I have written the code. Although when I run the file it does not have any error, but it does not work.would you please tell me what I should do?


ROOT Version: 6.22/06
Platform: Ubuntu 20.04.2
Compiler: Terminal of the linux


Can you give more details ? what is this code ? you can post it here in order to try it ?

Thank you, I solved it.