slaclab / slic

Simulation for the Linear Collider (SLIC) Geant4 simulation application
Other
5 stars 7 forks source link

excessive printouts when using SUSY chi1 as stable dark matter particle #101

Closed tomeichlersmith closed 1 year ago

tomeichlersmith commented 1 year ago

I get the following printout on every event when running with iDM events produced with MadGraph5.

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : DECAY101
      issued by : G4Decay::DecayIt 
For susy-chi_1^0 decay probability exist but decay table is not defined - the particle will be killed;
    isExtDecayer: 0; isPreAssigned: 0
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

I believe this is from the following line of the particle table that is loaded. The fifth column signals that the particle has some decay probability but we do not have a process that can execute that decay and so Geant4 warns us.

https://github.com/slaclab/slic/blob/55ff122b59a6b7913334206b185950bb4abebd10/data/particle.tbl#L469

I tried running slic with a different particle table (the same but with the fifth column set to 0 instead of 1) but I get the same error. Is there a way for me to check which particle table slic loads?

tomeichlersmith commented 1 year ago

It seems like just running slic without loading the particle table (i.e. with no -P <tbl> flag) prevents any printouts from being generated and completes like normal. Maybe the solution is to just remove usage of the particle table?

tomeichlersmith commented 1 year ago

Removing the particle table usage is a decent solution, focusing on having my downstream tools capable of disabling the particle table.