Problem 2085 - optical messenger commands not working
Summary: optical messenger commands not working
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/optical (show other problems)
Version: 10.4
Hardware: All All
: P4 minor
Assignee: Daren Sawkey
URL:
Depends on:
Blocks:
 
Reported: 2018-09-01 01:16 CEST by Daren Sawkey
Modified: 2019-03-21 17:28 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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'.