Created attachment 819 [details] a example for generate minus num of photons detail please see https://geant4-forum.web.cern.ch/t/generate-minus-num-of-photons-g4cerenkov/10846/2
This report is assigned to Daren.
Thanks for reporting this. It is now fixed.