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!
*** Problem 2544 has been marked as a duplicate of this problem. ***
Hi, thank you for reporting this. Indeed, parameters that were removed from the code were left in the documentation: /process/optical/scintillation/setEnhancedTimeConstants, setYieldFactor, and setExcitationRatio. These have now been removed from the documentation source, but won't appear on the documentation website until the next version is released in December.