Project

General

Profile

Bug #24890

Full optical GEANT4 simulation not available in v09_00_00

Added by Gianluca Petrillo about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Simulation
Target version:
-
Start date:
08/31/2020
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Experiment:
-
Co-Assignees:
Duration:

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 about 2 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 about 2 months ago

Bug reproduced; now attempting to make minimal reproducer.

#3 Updated by Kyle Knoepfel about 2 months ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved

#4 Updated by Lynn Garren about 2 months ago

This PR is now merged with develop.

#5 Updated by Kyle Knoepfel about 1 month ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF