Problem 2544

Summary: Possible issue in 'Optical Photon Processes' section of BookForApplicationDevelopers
Product: Geant4 Reporter: S.Y. Chen <573165693>
Component: processes/opticalAssignee: Daren Sawkey <daren.sawkey>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 11.1   
Hardware: PC   
OS: Linux   

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 ***