simulation for wls and scintillation