source: trunk/Documentation/geant4/collaboration/working_groups/geometry/biasing/BiasScoreUseCases.html @ 901

Last change on this file since 901 was 901, checked in by garnier, 16 years ago

Add Geant4 Documentation at 8.12.2008

File size: 29.9 KB
Line 
1<html><head>
2      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3   <title>Usecases of importance sampling and scoring in Geant4</title><meta name="generator" content="DocBook XSL Stylesheets V1.51.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book"><div class="titlepage"><div><h1 class="title"><a name="BiasScoreIssues"></a>Usecases of importance sampling and scoring in Geant4</h1></div><div><div class="author"><h3 class="author">Michael Dressel</h3></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt>1. <a href="#introduction">Introduction</a></dt><dt>2. <a href="#mass">Mass-geometry</a></dt><dd><dl><dt>2.1. <a href="#mass-parent-ms">Particle suffers multiple scattering</a></dt><dt>2.2. <a href="#mass-parent-zero">Parent particle suffers process on mass-boundary</a></dt><dt>2.3. <a href="#mass-phys-daughter">Daughter created by a physics process on boundary</a></dt><dt>2.4. <a href="#mass-bias-daughter">Daughter created by biasing</a></dt></dl></dd><dt>3. <a href="#parallel">Parallel-geometry</a></dt><dd><dl><dt>3.1. <a href="#parallel-parent">Particle suffers multiple scattering.</a></dt><dt>3.2. <a href="#parallel-parent-zero">Particle suffers physics process on boundary</a></dt><dt>3.3. <a href="#parallel-phys-daughter">Daughter created by a physics process on a boundary</a></dt><dt>3.4. <a href="#parallel-bias-daughter">Daughter created by biasing</a></dt></dl></dd><dt>4. <a href="#problems">To the problematic usecases</a></dt><dt>5. <a href="#summary">Summary</a></dt></dl></div><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="introduction"></a>Chapter 1. Introduction</h2></div></div><p>This document should provide a list of
4usecases to check the behaviour of importance sampling and scoring
5against. A distinction is made between sampling in a mass and
6parallel geometry.</p><p><a href="#mass" title="Chapter 2. Mass-geometry">Chapter 2</a> and <a href="#parallel" title="Chapter 3. Parallel-geometry">Chapter 3</a>
7give detailed usecase descriptions.</p><p><a href="#problems" title="Chapter 4. To the problematic usecases">Chapter 4</a> sum's up  the problematic usecases
8and their possible solutions.</p><p><a href="#summary" title="Chapter 5. Summary">Chapter 5</a> contains the summary.</p></div><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="mass"></a>Chapter 2. Mass-geometry</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt>2.1. <a href="#mass-parent-ms">Particle suffers multiple scattering</a></dt><dt>2.2. <a href="#mass-parent-zero">Parent particle suffers process on mass-boundary</a></dt><dt>2.3. <a href="#mass-phys-daughter">Daughter created by a physics process on boundary</a></dt><dt>2.4. <a href="#mass-bias-daughter">Daughter created by biasing</a></dt></dl></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="mass-parent-ms"></a>2.1. Particle suffers multiple scattering</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>A particle step reaches a boundary between volume <span class="emphasis"><em>
9A</em></span> and <span class="emphasis"><em>B</em></span> 
10of the mass geometry and it's momentum is changed by a multiple
11scattering process.</p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>Multiple scatteing applies for charged particles.
12The current version is not intended to be used for charged particles but
13future versions will.</p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/mass-parent.gif" alt="Parent particle"></td></tr></table><div class="caption"><p>A particle crosses the boundary in the mass
14geometry. The momentum is changed by multiple scattering.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>Three steps <span class="emphasis"><em>1</em></span>, <span class="emphasis"><em>2</em></span>,
15<span class="emphasis"><em>3</em></span> occur:</p><div class="orderedlist"><ol type="1"><li><p><a name="parent-step-1"></a>'st step:</p><div class="orderedlist"><ol type="a"><li><p>Step one is limited by the transportation. The
16transportation moves the particle on the boundary and locates it
17in volume <span class="emphasis"><em>B</em></span>.</p></li><li><p>Biasing split's or deletes the particle
18and changes weight correctly.
19See also: <a href="#mass-bias-daughter" title="2.4. Daughter created by biasing">Section 2.4</a></p></li><li><p>Scoring counts the track as entering volume
20<span class="emphasis"><em>B</em></span></p></li><li><p>Multiple scattering changes
21the momentum to point back in volume <span class="emphasis"><em>A</em></span> again.</p></li></ol></div></li><li><p>'nd step:</p><div class="orderedlist"><ol type="a"><li><p>Transportation limits step. Transportation
22locates particle in volume <span class="emphasis"><em>A</em></span>.</p></li><li><p>Biasing split's or deletes the particle and changes
23weight correctly.
24See also: <a href="#mass-bias-daughter" title="2.4. Daughter created by biasing">Section 2.4</a></p></li><li><p>Scoring counts the track as entering volume
25<span class="emphasis"><em>A</em></span></p></li></ol></div></li><li><p>'rd step:</p><p>Step may be limited by any process.</p><p>Transportation locates particle at the new
26position </p></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>
27Multiple scattering is related to volume <span class="emphasis"><em>A</em></span> therefore
28the following should be considered:</p><div class="itemizedlist"><ul type="disc"><li><p>
29Importance sampling should neither run in the first nor in the second
30step.
31          </p></li><li><p>
32The particle should not be scored as entering volume
33<span class="emphasis"><em>B</em></span> in the first step and it should not be scored as
34entering <span class="emphasis"><em>A</em></span> in the second step.
35          </p></li></ul></div></dd></dl></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="mass-parent-zero"></a>2.2. Parent particle suffers process on mass-boundary</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>A particle step reaches a boundary between volume <span class="emphasis"><em>
36A</em></span> and <span class="emphasis"><em>B</em></span> 
37of the mass geometry. It is located in volume
38<span class="emphasis"><em>B</em></span>. Then a process returns a zero step length,
39get's called and changes the momentum back to <span class="emphasis"><em>
40A</em></span>.</p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
41A process should never return step length = 0.
42But the situation applies also if a process proposes a step length so
43small that the track is located within a distance of kCarTolerance to the
44boundary.
45      </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/mass-parent-zero.gif" alt="Parent particle suffers a process on mass-boundary"></td></tr></table><div class="caption"><p>A particle crosses the boundary in the mass
46geometry. The momentum is changed by a process that returned sl=0.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>Three steps <span class="emphasis"><em>1</em></span>, <span class="emphasis"><em>2</em></span>,
47<span class="emphasis"><em>3</em></span> occur:</p><div class="orderedlist"><ol type="1"><li><p><a name="parent-step-zero-1"></a>step</p><div class="orderedlist"><ol type="a"><li><p>Step one is limited by the transportation. The
48transportation moves the particle on the boundary and locates it
49in volume <span class="emphasis"><em>B</em></span>.</p></li><li><p>Biasing split's or deletes the particle
50and changes weight correctly.
51See also: <a href="#mass-bias-daughter" title="2.4. Daughter created by biasing">Section 2.4</a></p></li><li><p>Scoring counts the track as entering volume
52<span class="emphasis"><em>B</em></span></p></li></ol></div></li><li><p>step</p><div class="orderedlist"><ol type="a"><li><p>A process returns step length = 0.</p></li><li><p>Scoring may count a collision with the
53correct weight according to volume <span class="emphasis"><em>B</em></span>.</p></li><li><p>The process changes the particles momentum,
54and may create daughter particles. (See
55<a href="#mass-phys-daughter" title="2.3. Daughter created by a physics process on boundary">Section 2.3</a>) </p></li></ol></div></li><li><p>step</p><div class="orderedlist"><ol type="a"><li><p>The step is limited by transportation.
56Transportation locates the particle in volume<span class="emphasis"><em>A</em></span>.
57</p></li><li><p>Biasing  may delete the particle and change weight.
58</p></li><li><p>Scoring counts the track as entering volume
59<span class="emphasis"><em>A</em></span></p></li></ol></div></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>This way the particle is treated correctly.
60        </p></dd></dl></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="mass-phys-daughter"></a>2.3. Daughter created by a physics process on boundary</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>A particle step reaches a boundary in the mass geometry
61between volume
62<span class="emphasis"><em>A</em></span> and volume <span class="emphasis"><em>B</em></span>. A physical
63process returns steplength =0 and creates a daughter.</p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
64A process should never return step length = 0.
65But the situation applies also if a process proposes a step length so
66small that the track is located within a distance of kCarTolerance to the
67boundary.
68      </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/mass-phys-daughter-zero.gif" alt="A process creates a daughter on the boundary."></td></tr></table><div class="caption"><p>A process creates a daughter on the boundary.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>The description of
69two steps of the particle and the first step of
70the daughter created by a physical process on the boundary:</p><div class="orderedlist"><ol type="1"><li><p><span class="emphasis"><em>Cross boundary.</em></span></p><p>This is equivalent to step one in
71<a href="#mass-parent-zero" title="2.2. Parent particle suffers process on mass-boundary">Section 2.2</a></p></li><li><p><span class="emphasis"><em>Physics process.</em></span></p><div class="orderedlist"><ol type="a"><li><p>A physics process returns step length = 0.</p></li><li><p>Scoring may count collsision with the original
72track momentum and the correct weight.</p></li><li><p>The physics process changes the momentum of the
73particle and creates a daughter with momentum pointing to
74volume <span class="emphasis"><em>A</em></span>.</p></li></ol></div></li><li><p>
75First step <span class="emphasis"><em>1.d</em></span> of daughter</p><p><span class="strong"><em>The daughter should be
76located in volume</em></span> <span class="emphasis"><em>B</em></span> 
77<span class="strong"><em> inspide of having it's momentum pointing
78to volume </em></span><span class="emphasis"><em>A</em></span> !</p><p> In this mass geometry case it should be done correct by
79the transportation since the Touchable of the doughter
80can be taken into account for location.
81</p></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>
82If the daughter particle is located in volume <span class="emphasis"><em>B</em></span>
83the situation should be treated correctly.
84        </p></dd></dl></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="mass-bias-daughter"></a>2.4. Daughter created by biasing</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>A parent particle crosses the boundary in the mass
85geometry. Biasing creates copies of the particle.
86        </p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
87The most likely situation if a particle corsses a boundary and the
88importance of the enterung volume is higher then the importance
89of the exitiong volume.
90      </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/mass-bias-daughter.gif" alt="A daughter created by biasing"></td></tr></table><div class="caption"><p>A particle crosses the boundary in the mass
91geometry. Biasing creates a daughter.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>A step <span class="emphasis"><em>1</em></span> of the parent and the
92first step <span class="emphasis"><em>1.d</em></span> are shown:</p><div class="orderedlist"><ol type="1"><li><p><span class="emphasis"><em>parent step</em></span></p><div class="orderedlist"><ol type="a"><li><p>Step one is limited by the transportation. The
93transportation moves the particle on the boundary and locates it
94in volume <span class="emphasis"><em>B</em></span>.</p></li><li><p>Biasing split's or deletes the particle
95and changes weight correctly.</p></li><li><p>Scoring counts the track as entering volume
96<span class="emphasis"><em>B</em></span></p></li></ol></div></li><li><p><span class="emphasis"><em>1.d: first step of daughter</em></span></p><div class="orderedlist"><ol type="a"><li><p>G4 locates the daughter
97in <span class="emphasis"><em>B</em></span>.</p></li><li><p>Any process may limit the step.</p></li></ol></div></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>
98This should be the coorect treatment of the daughter particle created by
99importance sampling.
100        </p></dd></dl></div></div></div><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="parallel"></a>Chapter 3. Parallel-geometry</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt>3.1. <a href="#parallel-parent">Particle suffers multiple scattering.</a></dt><dt>3.2. <a href="#parallel-parent-zero">Particle suffers physics process on boundary</a></dt><dt>3.3. <a href="#parallel-phys-daughter">Daughter created by a physics process on a boundary</a></dt><dt>3.4. <a href="#parallel-bias-daughter">Daughter created by biasing</a></dt></dl></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="parallel-parent"></a>3.1. Particle suffers multiple scattering.</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>A particle step is limited by a boundary in the parallel
101geometry between volumes <span class="emphasis"><em>A</em></span> and
102<span class="emphasis"><em>B</em></span>.
103Multiple scattering occures.</p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
104Multiple scatteing applies for charged particles.
105The current version is not intended to be used for charged particles but
106future versions will.
107      </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/parallel-parent.gif" alt="Parent particle"></td></tr></table><div class="caption"><p>A particle crosses the boundary in the parallel
108geometry. The momentum is changed by multiple scattering.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>Three steps <span class="emphasis"><em>1</em></span>, <span class="emphasis"><em>2</em></span>,
109<span class="emphasis"><em>3</em></span> occur:</p><div class="orderedlist"><ol type="1"><li><p><a name="parallel-parent-step-1"></a>Step:</p><div class="orderedlist"><ol type="a"><li><p>The step is limited by a boundary in the parallel
110geometry found by the ParallelImportanceProcess.</p></li><li><p>Transportation moves the particle in the mass
111geometry.</p></li><li><p>The ParallelImportanceProcess
112moves the particle on the boundary and locates it
113in volume <span class="emphasis"><em>B</em></span> of the parallel geometry.
114Biasing splits or plays Russian Roulette and changes the weight.</p><p>The ParallelImportanceProcess may create daughters
115see <a href="#parallel-bias-daughter" title="3.4. Daughter created by biasing">Section 3.4</a></p></li><li><p>Scoring counts a track entering.</p></li><li><p>Multiple scattering changes the momentum of the
116particle.</p></li></ol></div></li><li><p>Step:</p><div class="orderedlist"><ol type="a"><li><p>The step is limited by the boundary in the
117parallel geometry found by the ParallelImportanceProcess.</p></li><li><p>Biasing split's or deletes the particle and
118changes weight correctly.</p></li><li><p>Scoring counts the track as entering volume
119<span class="emphasis"><em>A</em></span></p></li></ol></div></li><li><p>Step:</p><p>The step may be limited by any process.</p><p>Transportation locates particle at the new
120position </p></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>See the comment in <a href="#mass-parent-ms" title="2.1. Particle suffers multiple scattering">Section 2.1</a>.</p></dd></dl></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="parallel-parent-zero"></a>3.2. Particle suffers physics process on boundary</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>A particle step is limited by a boundary in the parallel
121geometry between volumes <span class="emphasis"><em>A</em></span> and
122<span class="emphasis"><em>B</em></span>. A physics process returns
123step length = 0.</p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
124See <a href="#mass-parent-zero" title="2.2. Parent particle suffers process on mass-boundary">Section 2.2</a>.
125      </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/parallel-parent-zero.gif" alt="Particle suffers process on boundary."></td></tr></table><div class="caption"><p>A parent particle crosses the boundary in the parallel
126geometry. A physics process happens on the boundary.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>Three steps <span class="emphasis"><em>1</em></span>, <span class="emphasis"><em>2</em></span>,
127<span class="emphasis"><em>3</em></span> occur:</p><div class="orderedlist"><ol type="1"><li><p><a name="parallel-parent-zero-step-1"></a>Step:</p><div class="orderedlist"><ol type="a"><li><p>The step is limited by a boundary in the parallel
128geometry found by the ParallelImportanceProcess.</p></li><li><p>Transportation moves the particle in the mass
129geometry.</p></li><li><p>The ParallelImportanceProcess
130moves the particle on the boundary and locates it
131in volume <span class="emphasis"><em>B</em></span> of the parallel geometry.
132Biasing splits or plays Russian Roulette and changes the weight.</p><p>The ParallelImportanceProcess may create daughters
133see <a href="#parallel-bias-daughter" title="3.4. Daughter created by biasing">Section 3.4</a></p></li><li><p>Scoring counts a track entering.</p></li></ol></div></li><li><p>Step:</p><div class="orderedlist"><ol type="a"><li><p>A physics process retruns step length = 0.</p></li><li><p>Scoring counts a collision in volume
134<span class="emphasis"><em>B</em></span></p></li><li><p>The physics process changes the momentum
135of the particle and creates a daughter
136(See <a href="#parallel-phys-daughter" title="3.3. Daughter created by a physics process on a boundary">Section 3.3</a>). Both momentums point
137towards volume <span class="emphasis"><em>A</em></span>.</p></li></ol></div></li><li><p>Step:</p><div class="orderedlist"><ol type="a"><li><p>The ParallelImportanceProcess limits the
138step.</p></li><li><p>The ParallelImportanceProcess locates it
139in volume <span class="emphasis"><em>A</em></span> of the parallel geometry.
140Biasing splits or plays Russian Roulette and changes the weight.</p><p>The ParallelImportanceProcess may create daughters
141see <a href="#parallel-bias-daughter" title="3.4. Daughter created by biasing">Section 3.4</a></p></li><li><p>Scoring counts a track entering  volume
142<span class="emphasis"><em>A</em></span>.</p></li></ol></div></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>
143This way should be correct.
144        </p></dd></dl></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="parallel-phys-daughter"></a>3.3. Daughter created by a physics process on a boundary</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>
145A particle step reaches a boundary in the parallel geometry between volume
146<span class="emphasis"><em>A</em></span> and volume <span class="emphasis"><em>B</em></span>. A physical
147process returns steplength =0 and creates a daughter.</p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
148See <a href="#mass-phys-daughter" title="2.3. Daughter created by a physics process on boundary">Section 2.3</a>.
149      </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/parallel-phys-daughter-zero.gif" alt="A process creates a daughter on the boundary."></td></tr></table><div class="caption"><p>A process creates a daughter on the boundary.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>The description of
150two steps of the particle and the first step of
151the daughter created by a physical process on the boundary:</p><div class="orderedlist"><ol type="1"><li><p><span class="emphasis"><em>Cross boundary.</em></span></p><p>This is equivalent to step one in
152  <a href="#parallel-parent-zero" title="3.2. Particle suffers physics process on boundary">Section 3.2</a></p></li><li><p><span class="emphasis"><em>Physics process.</em></span></p><div class="orderedlist"><ol type="a"><li><p>A physics process returns step length = 0.</p></li><li><p>Scoring may count collsision with the original
153track momentum and the correct weight.</p></li><li><p>The physics process changes the momentum of the
154particle and creates a daughter with momentum pointing to
155volume <span class="emphasis"><em>A</em></span>.</p></li></ol></div></li><li><p>
156First step <span class="emphasis"><em>1.d</em></span> of daughter</p><p><span class="strong"><em>According to the
157momentum the daughter is located in
158volume</em></span> <span class="emphasis"><em>A</em></span> <span class="strong"><em>.
159</em></span></p><p>The ParallelImportanceProcess <span class="emphasis"><em>does not
160</em></span> occur. Therefore no biasing is applied and the
161weight is not changed!</p></li><li><p>Scoring counts a collision in volume
162<span class="emphasis"><em>A</em></span> <span class="emphasis"><em>with the wrong weight</em></span>.
163          </p></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>
164Locating the daughter particle in volume <span class="emphasis"><em>A</em></span>
165is wrong.
166        </p></dd></dl></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="parallel-bias-daughter"></a>3.4. Daughter created by biasing</h2></div></div><div class="variablelist"><dl><dt><span class="term"><span class="emphasis"><em>Description:</em></span></span></dt><dd><p>
167A parent particle crosses the boundary in the parallel
168geometry. Biasing creates copies of the particle.
169        </p></dd><dt><span class="term"><span class="emphasis"><em>Relevance:</em></span></span></dt><dd><p>
170See <a href="#mass-bias-daughter" title="2.4. Daughter created by biasing">Section 2.4</a>.
171    </p></dd><dt><span class="term"><span class="emphasis"><em>Figure:</em></span></span></dt><dd><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td><img src="figures/parallel-bias-daughter.gif" alt="A daughter created by biasing"></td></tr></table><div class="caption"><p>A particle crosses the boundary in the parallel
172geometry. Biasing creates copies.</p></div></div></dd><dt><span class="term"><span class="emphasis"><em>Detailed description:</em></span></span></dt><dd><p>
173A step <span class="emphasis"><em>1</em></span> of the parent and the
174first step <span class="emphasis"><em>1.d</em></span> are shown:</p><div class="orderedlist"><ol type="1"><li><p><span class="emphasis"><em>Step</em></span></p><div class="orderedlist"><ol type="a"><li><p>Step one is limited by a boundary in
175the parallel geometry found by ParallelImportanceProcess. The
176ParallelImportanceProcess moves the particle on the boundary and
177locates it in volume <span class="emphasis"><em>B</em></span>.</p></li><li><p>Biasing split's or deletes the particle
178and changes weight correctly.</p></li><li><p>Scoring counts the track as entering volume
179<span class="emphasis"><em>B</em></span></p></li></ol></div></li><li><p><span class="emphasis"><em>1.d: first step of daughter</em></span></p><div class="orderedlist"><ol type="a"><li><p>The ParallelImportanceProcess locates the daughter
180in <span class="emphasis"><em>B</em></span>.</p></li><li><p>Any process may limit the step.</p></li></ol></div></li></ol></div></dd><dt><span class="term"><span class="emphasis"><em>Comment:</em></span></span></dt><dd><p>
181This should be the correct way.
182        </p></dd></dl></div></div></div><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="problems"></a>Chapter 4. To the problematic usecases</h2></div></div><p>Of this (probably incomplete) list of usecases the cases
183<a href="#mass-parent-ms" title="2.1. Particle suffers multiple scattering">Section 2.1</a>,
184<a href="#parallel-parent" title="3.1. Particle suffers multiple scattering.">Section 3.1</a> and
185<a href="#parallel-phys-daughter" title="3.3. Daughter created by a physics process on a boundary">Section 3.3</a> are treated wrongly.
186The first two cases apply to charged particles only. The other
187usecase applies for the parallel geometry. Therefore this documents
188does not contain problematic usecases for neutral particles in the mass
189geometry. </p><p>The only wrongly treated usecase in this document
190applying also for neutral particles is
191<a href="#parallel-phys-daughter" title="3.3. Daughter created by a physics process on a boundary">Section 3.3</a>. </p><p>The reason for the problem is: In contrast to the mass
192geometry cases there is no information about the current Touchable in
193the parallel geometry related to a newly starting particle.</p><p>The two types of particles starting on a parallel boundary
194are:</p><div class="orderedlist"><ol type="1"><li><p> <a href="#parallel-phys-daughter" title="3.3. Daughter created by a physics process on a boundary">Section 3.3</a> particles
195created by a physical process on the boundary.</p></li><li><p><a href="#parallel-bias-daughter" title="3.4. Daughter created by biasing">Section 3.4</a> particles created
196by importance sampling. All particles created by importance
197sampling start on a boundary.</p></li></ol></div><p>The particles starting on the boundary may be located
198in either of both volumes depending on the geometry
199e.g. which volume is deepest.</p><p>In order to treat the much more frequent cases of type
200number 2. correct it has been chosen to take the direction of the
201particle momentum into account. But this treats the cases of
202type 1. wrong.</p><p>To solve this problem it has been considered to somehow
203provide the information about the Touchable in the parallel geometry.
204It is not clear "who" should give that information to "whom".
205While the importance sampling process knows about the parallel
206geometry and therefore could assign a touchable to the particle
207in principle, the physics processes can't do that.</p></div><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="summary"></a>Chapter 5. Summary</h2></div></div><p>This document gives a list of usecases which should be
208considered for the implementation of importance sampling and
209scoring. </p><p>When changing the behaviour of importance sampling
210the resulting algorithm should be checked at least against the
211usecases listed here.</p><p>The current problem to be solved is to treat
212the usecase <a href="#parallel-phys-daughter" title="3.3. Daughter created by a physics process on a boundary">Section 3.3</a> right
213without messing up usecase <a href="#parallel-bias-daughter" title="3.4. Daughter created by biasing">Section 3.4</a>
214.</p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.