Problem 2544 - Possible issue in 'Optical Photon Processes' section of BookForApplicationDevelopers
Summary: Possible issue in 'Optical Photon Processes' section of BookForApplicationDev...
Status: RESOLVED DUPLICATE of problem 2540
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/optical (show other problems)
Version: 11.1
Hardware: PC Linux
: P4 normal
Assignee: Daren Sawkey
URL:
Depends on:
Blocks:
 
Reported: 2023-05-16 07:50 CEST by S.Y. Chen
Modified: 2023-05-17 09:01 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description S.Y. Chen 2023-05-16 07:50:53 CEST
Hello,

When I was doing simulation of a scintillator in Geant4V11.1.1, I found some contradiction bewteen the BOOK and the CODE.

In Scintillation/configuration section (https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/TrackingAndPhysics/physicsProcess.html#id1), the BOOK says that:
"These parameters are available to configure the scintillation process. 
...
Multiply the yield by a constant factor. Used when more than one scintillation process is defined in the user’s physics list.
C++ statement: G4OpticalParameters::Instance()->SetScintYieldFactor(G4double val)
...
Set the ratio of emitted photons of the fast and slow decay components. Used when more than one scintillation process is defined in the user’s physics list.
C++ statement: G4OpticalParameters::Instance()->SetScintExcitationRatio(G4double val)".

But after adding these two parameters into my main.cc, there is an error says:"class G4OpticalParameters has no member named 'SetScintYieldFactor' and 'SetScintExcitationRatio'". I also checked 'G4OpticalParameters.hh' and the newest Geant4 class reference, and didn't find the two members above.

That's all. Besh wishes!
Comment 1 Gabriele Cosmo 2023-05-17 09:01:53 CEST

*** This problem has been marked as a duplicate of problem 2540 ***