<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Gate community,</p>
<p>I found that you seem to have two collimator types already
implemented, but neither of them works for me at the moment.<br>
<b>1. The parallel hole collimator</b> (parallelbeam) complains
about a material not being defined:</p>
<pre>[Physic-0] The following Geant4's physic-list is enabled :emstandard_opt3</pre>
<pre>[Core-0] Initialization of geometry</pre>
<pre>GateVVolume.cc (l.189): The material of the volume side hole 1 is not defined.</pre>
<pre> Nb of children: 0</pre>
<pre>tems/SPECThead/pixel'</pre>
<pre> Attached to volume: pixel</pre>
<p>I don't think this is due to me using it incorrectly, because the
same commands (except focus related stuff) work for the other kind
of collimator.<br>
</p>
<p><b>2. The "parametrized" collimator</b> <br>
</p>
<p>This seems to work, but the version on the git didn't allow the
material to be set. I asked the developer who did the
corresponding change, and it seems to work now. Would you like a
pull request?<br>
</p>
<p>Finally, I realized that both these collimator types are not
built like other geometric structures, meaning they are not
derived from GateVVolume. Is this intentional, or is it because it
is older code? I would like to know before I start hacking things.</p>
<p>Best regards and thanks for your help!</p>
<p>Andreas Menzel<br>
</p>
<pre class="moz-signature" cols="72">--
Dr. Andreas Menzel
Crystal Photonics GmbH
Albert Einstein Straße 16
D - 12489 Berlin
Germany
FAX.: +49 (0) 30 34669299
<a class="moz-txt-link-abbreviated" href="mailto:am@crystal-photonics.com">am@crystal-photonics.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.crystal-photonics.com">www.crystal-photonics.com</a>
-------------------------
Geschäftsführer: Klaus Schwenkenbecher
Amtsgericht Berlin-Charlottenburg HRB 99822B
Steuer-Nr.: 37/109/21041
VAT-No.: DE 814612031
</pre>
</body>
</html>