How to use SetScintillationByParticleType function in Geant4.11.1

Hello everyone
I would like to ask who has used the SetScintByParticleType function in version geant4.11.1, can you share an example? I mainly want to see how to set the fast and slow components of different types of charged particles in the material properties.
The program I wrote gets a warning message every time
-------- WWWW ------- G4Exception-START -------- WWWW ------- *** G4Exception: Scint02 issued by : G4Scintillation::SetScintillationByParticleType Redefinition: Birks Saturation is replaced by ScintillationByParticleType! *** This is just a warning message. *** -------- WWWW -------- G4Exception-END --------- WWWW -------

Yes, if you use scintillation by particle type, it is not possible to specify Birks saturation. This has always been the case, as far as I know.

If you do scintillation by Type, you define the photons at each energy, I.e.
energy = {1 ev, 1 keV, 1 MeV}
photons = {1, 1000, 1,00,000}
In this case, the number of photons per energy is constant.

It is my understanding that the birks coefficient defines how the number of photons changes at different energies. So you instead of having a single photons/MeV and letting the birks coefficient define that dependance, you do it yourself when you set the photon yields

OK.Will do,Thank you very much for your reply

OK,Understood,Thank you very much for your reply