[Halld-offline] control of decay modes in hdgeant
Richard Jones
richard.t.jones at uconn.edu
Mon Mar 18 14:32:36 EDT 2013
Kei,
Sure, you can do this, just don't modify the trunk in svn with any such customizations, please. What to do:
1. Write your own fortran function custom_decays() and stick it at the bottom of the file uginit.F -- yes, in fortran ! In this function you should call gsdk once for each decaying particle you want to modify." See the link below to the docs for gsdk.
2. Insert a line "call custom_decays" right after "call gpart" in the body of uginit in uginit.F
_http://wwwasdoc.web.cern.ch/wwwasdoc/geant_html3/node73.html#SECTION025000000000000000000000
-Richard Jones
_
On 3/18/2013 11:49 AM, Kei Moriya wrote:
> Hi,
>
> I had a question regarding the decay modes in hdgeant.
> I would like to have control over how my particles decay,
> so that I don't waste 1/3 of my CPU on events that do not
> have the topology I want.
>
> Is there a way to edit some file and specify what the decay
> modes for a given particle should be? I looked around and it
> seems like I need to edit something to do with the function
> gsdk, but can't find any non-executables with it in the repository.
>
> Does anybody have any ideas?
> Thanks,
> Kei
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20130318/fcf93919/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3232 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20130318/fcf93919/attachment.p7s>
More information about the Halld-offline
mailing list