<div dir="ltr">Hello, <div><br></div><div>I agree: </div><div>- for a new type of source: add in Gate as described by Jared. </div><div>- for a new process, it is better to add it via Geant way. Be careful that GatePhysicProcess is outdated, since the new G4 "physic list" mechanism. </div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 2:54 PM, STRYDHORST Jared <span dir="ltr"><<a href="mailto:Jared.STRYDHORST@cea.fr" target="_blank">Jared.STRYDHORST@cea.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you trying to model a process or a source? If you're trying to create a custom source you probably want to create it in GATE rather than Geant4. One way is to create a subclass of GateVSource and override at least GeneratePrimaries(). If you have any user settable parameters, you'll need to create an associated Messenger class as well. An additional case also has to be added to GateSourceMgr::AddSource() to allow the new source type to be created.<br>
GEANT shouldn't need to be touched.<br>
<br>
Jared STRYDHORST<br>
<br>
Laboratoire Imagerie Moléculaire In Vivo (IMIV)<br>
UMR 1023 Inserm/CEA/Université Paris Sud - ERL 9218 CNRS<br>
CEA/I2BM/Service Hospitalier Frédéric Joliot<br>
4, place du Général Leclerc<br>
91401 ORSAY Cedex<br>
<br>
<a href="http://i2bm.cea.fr/dsv/i2bm/shfj/imiv" rel="noreferrer" target="_blank">http://i2bm.cea.fr/dsv/i2bm/shfj/imiv</a><br>
<br>
________________________________________<br>
De : <a href="mailto:gate-users-bounces@lists.opengatecollaboration.org">gate-users-bounces@lists.opengatecollaboration.org</a> [<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org">gate-users-bounces@lists.opengatecollaboration.org</a>] de la part de Wojciech Krzemien [<a href="mailto:wojciech.krzemien@ncbj.gov.pl">wojciech.krzemien@ncbj.gov.pl</a>]<br>
Envoyé : vendredi 29 avril 2016 14:05<br>
À : <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
Objet : [Gate-users] adding not-standard physic process to GATE<br>
<div class="HOEnZb"><div class="h5"><br>
Dear GATE Developers,<br>
I am a member of the J-Pet collaboration in Poland and we are<br>
constructing a prototype TOF-PET scanner. The GATE package has been very<br>
useful for us in several stages of the project.<br>
<br>
We would like to make some studies of some non-standard physics reaction<br>
e.g. 3-gamma decay.<br>
Since as far as I know such a model is not available so far one would<br>
need to implement it.<br>
I read the topic in howto<br>
(<a href="http://wiki.opengatecollaboration.org/index.php/GatePhysicsProcess" rel="noreferrer" target="_blank">http://wiki.opengatecollaboration.org/index.php/GatePhysicsProcess</a>), so<br>
if I understand correctly the correct approach would be to first<br>
implement the module into GEANT, and then add it to GATE.<br>
Am I right? I would be grateful for any suggestions.<br>
Thank you in advance.<br>
<br>
--<br>
Best regards,<br>
Wojtek Krzemien<br>
<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U1206<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div></div></div></div></div>
</div>