|Message: Re: Adapting geometry to work w/ optical photon||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)|
> but when the photon is not > absorbed, I have line on my terminal telling me > > $ Photon at Boundary! > $ thePrePV : Styrene // (name changed for ease) > $ thePostPV : Aluminum front plate // (name changed for ease) > $ Old Momentum Direction : (values) > $ Old Polarization : (values) > $ ***NoRINDEX*** > > I guess that mean that I didn�t correctly add the �optical properties� > to the correct volumes in my geometry.
You have an interface (surface) between styrene and aluminum. The aluminum is the reflector - and a metal - you must define the surface as 'dielectric_metal' and give the aluminum a reflectivity (there is an example code in the App. Dev. Guide). Since you didn't define the surface (I presume), the program assumes the default which is dielectric_dielectric and thus complains because the aluminum has no index of refraction.
> Concerning my current geometry, as you can see on the attached file, the > styrene scintillator is made of one box, covered with aluminum plates > (one per face, those being the detector reflectors), themselves covered > with a polyethylene layer.
For the simulation of optical photons the polyethylene layer is not needed since no optical photon can penetrate through the aluminum. Thus you don't need to give the polyethylene optical properties.
> I used multiple volumes for the two coatings > to be able to make the hole for the PMT. The quartz (glass) part of the > PMT is in direct contact with the styrene scintillator.
You'll need to give the quartz an index of refraction. If you are content with a perfectly smooth surface between the quarz and the scintillator you don't need to define a G4OpSurface; see above my comment as to what is the default.
> To which material do I need to add �optical properties� ?
styrene and quarz need, at a minimum, index of refraction. The Al/styrene surface must be defined and defined as dielectric_metal and the Al given, at a minimum, a reflectivity.
> Do I have to define surfaces (or skin ?) between volumes ?
Only between styrene and Al (see above) and between the glass and Al.
> Is this the way to make my aluminum plates act as reflectors ?
Yes, your geometry looks ok - except I would construct it differently by putting the styrene inside - as a daughter - of a solid Al box. Thus, you don't need six Al slabs! You can also put a glass disk at the PMT entrance window location as a daughter of the Al box - with an extra cylinder behind to complement the full entrance window cylinder length (again as a Russian doll of quarz inside a solid Al cylinder) with the back face (disk) a separate daughter volume to identify your sensitive PMT photo cathode.
One surface in touch with the glass (I presume the back - behind the glass) - must be specified as your 'photon detector' (PMT - not Al) and defined also as dielectric_metal.
> If I need to define surfaces for my reflectors, is it ok to have two > kind of surfaces sharing a same volume (aluminum / scintillator and > quartz / scintillator on top of my detector) ? If not, how may I correct > it ?
As you know, the boundaries are defined according to volumes' names - not what they are made of. So, yes, you can have a surface between the scintillator and the quartz window (volume) and between the scintillator and its Al housing.
|Inline Depth:||Outline Depth:||Add message:|