Bug #24890
Full optical GEANT4 simulation not available in v09_00_00
Description
It appears that the changes in v09_00_00 involving larsim/LegacyLArG4/CustomPhysicsLArSoft.h
conflict with the way GEANT4 finds its physics processes.
The net result is that if you pick a GEANT4 configuration and ask for the "Optical"
process (as opposed to "FastOptical"
) you get rich
Setting up Configurable Physics List. Custom physics list enabled, contents: Em SynchrotronAndGN Ion Hadron Decay HadronElastic Stopping Optical ERROR: physics not available: Optical -- Available physics: ChargeExchange Decay Em FastOptical Hadron HadronElastic HadronElasticHP HadronElasticPHP HadronHP Ion LowEnergyEm NeutronHP NeutronTrackingCut Stopping SynchrotronAndGN -- ERROR: Throwing exception!
You can reproduce it by running for example standard_g4_icarus.fcl
from icaruscode
v09_00_01
with the override line: services.LArG4Parameters.EnabledPhysics: [ "Em", "SynchrotronAndGN", "Ion", "Hadron", "Decay", "HadronElastic", "Stopping", "Optical" ]
.
A suitable input file is attached to this ticket.
Needless to say, the bugs in LightSource
before v09_00_01
and the ones in LArG4
_after v09_00_00
leave us with no option for some essential light propagation speed simulation, hence the raised priority.
History
#1 Updated by Kyle Knoepfel 8 months ago
- Assignee set to Kyle Knoepfel
- Status changed from New to Assigned
Thanks for the report, Gianluca. This issue is receiving top priority from me today.
#2 Updated by Kyle Knoepfel 8 months ago
Bug reproduced; now attempting to make minimal reproducer.
#3 Updated by Kyle Knoepfel 8 months ago
- % Done changed from 0 to 100
- Status changed from Assigned to Resolved
Resolved with PR https://github.com/LArSoft/larsim/pull/37
#4 Updated by Lynn Garren 8 months ago
This PR is now merged with develop.
#5 Updated by Kyle Knoepfel 7 months ago
- Status changed from Resolved to Closed