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?