|Message: Re: Single solid with different optical boundary properties||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Thu, 04 Sep 2014 17:05:54 GMT, Bertrand Echenard wrote:
> I am trying to simulate the propagation of optical photons in a crystal > where one of the faces is ground, and the others are polished (this can > improve the longitudinal response uniformity). The crystal is surrounded > by a reflector, and has a readout at one of its end. > > As far as I understood, the UNIFIED model can't simulate this case, > since the crystal faces must either be all polished or ground. What > would be the best way to do so?
I don't think it's the UNIFIED model per se which has that restriction. The problem is that you can only assign one optical surface to a logical volume (G4LogicalSkinSurface), and that surface applies _everywhere_ (including at boundaries with internally placed daughter volumes).
You want to make use of G4LogicalBorderSurface, which is instantiated between two adjacent (or nested) physical volumes, i.e., G4PVPlacement. In your case, you'd make some very thin flats of some material, and create the border surface between the crystal (as the first PV) and the flat (the second PV). For each surface, you can assign polished or ground independently.
If you have a complex, well-written geometry model, doing this might be really awkward. You may not have access to the crystal's PV at the time you need it. Or you may have many crystals, and you only want to implement the optical surfaces once, then do multiple placements.
The way I solved a similar problem was to create an "envelope volume" the size of my scintillator, place a daughter volume of the actual scintillator inside that envelope to get a PV, then place the wrapper material around the surface of the scintillator (as daughters) to get the second PV. With that structure, I can place the logical "enelope" multiple times into my geometry, and the daughter PVs would remain the same, along with their associated surfaces.
-- Michael Kelsey