Physics list Shielding not 'valid'

Hello,
I am trying to run an allpix squared simulation version 3.1.0 with the Shielding physics list. I get an error telling me that ‘Shielding’ does not exist and it gives me a list of available physics lists that includes Shielding. I tried other Shielding lists (like ShieldingLEND) and they also do not work. Other physics lists do not cause any issue (I didn’t try all) and run through without any error. I am using Geant4 version 11.2.2. A simple Geant4 simulation was running with ‘Shielding’ without problem. I double and triple checked the installation configuration of Geant4 and Allpix and I cannot see any missing or false settings. A colleague ran my configuration file on his system and he had no issue running with the ‘Shielding’ list (Allpix version 3.0.2., Geant4 version 11.1.2) So it is also not an error in the config file.

Does anyone have a hunch of what could be wrong? If needed, I can maybe give more information, but right now, I am not sure what to provide. Thanks in advance.

Regards
Stefan

Hi @StefanGohl

thanks for reporting this - we thought we were clever and upper-cased the physics list name before checking for the exist of the list. This clearly broke down once Geant4 started adding mixed-case list names :slight_smile:

I prepared a merge request which fixes this issue (checks both regular and upper-case versions) here:

Could you check if this works for you?

Best,
Simon

Hi Simon,
that fixed it. Thank you very much for the fast fix!
Regards
Stefan

1 Like