| Message: Re: optical photons question | Not Logged In (login) |
|
Sorry for the confusion. The code (G4OpBoundaryProcess) is not written in a way that it'll check first if a property named REFLECTIVITY is defined with AddConstProperty before it looks for it as a wavelength dependent property. The concept of constant properties was a later development. Optical properties were all originally assumed to be wavelength dependent. It is easy enough to define a property constant over the wavelength range of interest. I shall have a look how this confusion can be avoided without a great penalty in performance. For now, and for the record, the following named properties are expected to be in the G4MaterialPropertiesTable as wavelength dependent (to be defined with AddProperty): RINDEX ABSLENGTH REFLECTIVITY EFFICIENCY FASTCOMPONENT SLOWCOMPONENT WLSCOMPONENT WLSABSLENGTH and these are constant properties (to be defined with AddConstProperty): SCINTILLATIONYIELD RESOLUTIONSCALE FASTTIMECONSTANT SLOWTIMECONSTANT YIELDRATIO WLSTIMECONSTANT (All of the properties needed to transport optical photons are expected to be wavelength dependent) One of the central ideas behind the G4 project has been the ease with which the package can be extended to include new functionality. The hope was that at some point users will drive the development in communication with a core group of developers (Technical Forum). I'd be very happy to discuss how functionality available in LITRANI, for example, can be ported to G4 if there is a limitation. |
| Inline Depth: | Outline Depth: | Add message: |
|
to: |