Modular Physics Lists - More Physics and Stricter Parsing

Issue #121 resolved
Laurie Nevay created an issue

The modular physics lists option will shortly be set to be on by default. We need modular physics lists for biasing.

option, physicsList="em,hadronic"; option, physicsList="em,QGSP_BERT";

In BDSModularPhysicsList.cc, the full string is not tokenised or split, but just searched for to see if the terms are in it at all.

Problems: There is no warning / complaint about unrecognised options. We need more physics lists such as FTFP_BERT etc.

I can work on this as I need it ASAP. For now, I will split by white space but we should consider whether this syntax is consistent with the rest of bdsim. The recent bias def list and physics lists can use any delimeter really, but then don't complain when unrecognised.

Comments (2)

  1. Laurie Nevay reporter

    I have fixed this now in the develop branch and will go out in the next release.

    All examples have been updated as well to reflect these changes.

    Still to do (see separate issue) will be the removal of old synchrotron radiation code, muon biasing code, laserwire compton biasing code and their associated options.

  2. Log in to comment