Open drbenmorgan opened 1 month ago
I decided to set the LPM flags explicitly only for verbosity reasons. We can simply drop setting them as we follow the default LPM settings: ON in the high energy model while OFF in the Seltzer-Berger model as the LPM suppression is not available there). Therefore, not setting the LPM flags won't have any effects to the model settings.
We had a complex and unnecessary inheritance of the bremsstrahlung models in Geant4 that has been simplified recently (including the LPM option setters/getters).
I will take care of this soon.
Just found this in testing with AdePT and the newer Geant4 versions. Compiling G4HepEm with Geant4 11.2.X leads to a compiler warning:
As these are being explicitly applied at the model level, and with different
true/false
values, I wasn't sure of the appropriate fix, and whether this is simple or not!