How to kill the particles in a volume except "mu-" and "mu+"

Hi experts

I am trying to kill particles except mu- and mu+ in a volume. So I reference the B3a
and imitated the codes as follows:

However, When I did "./AnaEx02 cmd2.txt ", the terminal appeared the following information:

I just know a little about C++ and Geant4. Would you please help me? Any suggestions would be great appreciated! :laughing: