Message: optical photon weight Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None optical photon weight 

Forum: Processes Involving Optical Photons
Date: 08 Dec, 2012
From: Adam Glaser <Adam Glaser>

Hi everyone,

I am attempting to customize the inherent GEANT4 optical absorption process by altering the photon's weight after each step rather than killing the entire track all at once. I am familiar with how to get the photon's current weight using the GetWeight() call, but not sure how to set a new photon weight in the PostStepDoIt class of G4OpAbsorption.

Could anyone suggest how I might do this?

Thanks! Adam

 Add Message Add Message
to: "optical photon weight"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews