Hi. I’m using an old version Geant file with geant4-v11.1.0.
There is a function “SetScintillationYieldFactor(1. )” in the file. But since the new library does not have it, I’m not able to use this function.
I checked the OpNovice2 example in the stint_by_particle.mac. Is the “/opnovice2/boxConstProperty ALPHASCINTILLATIONYIELD1” and “/opnovice2/boxConstProperty ALPHASCINTILLATIONYIELD2” correspond to the previous SetScintillationYieldFactor?
Should I change the SetScintillationYieldFactor(1.) to AddConstProperty(“ALPHASCINTILLATIONYIELD1”, 1.)? Will that do the same job for me?
Specifically, Section 5.2 (Physics Processes) Scintillation dependent on particle type page 244 and Methods available prior to 10.7 : Particle-dependent yields (page 246) explain how to transition implementing a particle-dependent yield from the old way (prior to 10.7) to the new way (11.1).