Problem 2482 - wrong setter called in G4OpWLS2
Summary: wrong setter called in G4OpWLS2
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/optical (show other problems)
Version: 11.0
Hardware: All All
: P4 major
Assignee: Daren Sawkey
URL:
Depends on:
Blocks:
 
Reported: 2022-04-07 16:21 CEST by Hans Wenzel
Modified: 2022-04-11 12:18 CEST (History)
1 user (show)

See Also:


Attachments
patched version of G4OpWLS2.cc (11.86 KB, text/x-c++src)
2022-04-07 16:21 CEST, Hans Wenzel
Details

Note You need to log in before you can comment on or make changes to this problem.
Description Hans Wenzel 2022-04-07 16:21:56 CEST
Created attachment 762 [details]
patched version of G4OpWLS2.cc

in line 339 of G4OpWLS2   G4OpticalParameters::Instance()->SetWLSTimeProfile(name);

is called when it should be:
G4OpticalParameters::Instance()->SetWLS2TimeProfile(name);


that leads to the the values of the WLS wavelength shifting process to be overwritten.
Comment 1 Daren Sawkey 2022-04-11 12:18:17 CEST
This is now fixed in 11.1 (main) and 11.0.2 (patch) branches.