Problem 2085

Summary: optical messenger commands not working
Product: Geant4 Reporter: Daren Sawkey <daren.sawkey>
Component: processes/opticalAssignee: Daren Sawkey <daren.sawkey>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: 10.4   
Hardware: All   
OS: All   

Description Daren Sawkey 2018-09-01 01:16:07 CEST
For the optical physics messenger, there are apparently duplicate commands. Some don't work. For example,

/process/optical/defaults/scintillation/setByParticleType true  # works
/process/optical/scintillation/setByParticleType true           # doesn't work (as far as I can tell)

As noted in bug 2020, documentation is incomplete.
Comment 1 Daren Sawkey 2019-03-21 17:28:39 CET
Fixed. Note that commands with 'defaults' in the command string are deprecated and will be removed in the next Geant4 major release. Instead, use the same command without the 'defaults'.