<html>
  <head>
    
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Kei,<br>
      <br>
      Sure, you can do this, just don't modify the trunk in svn with any
      such customizations, please.  What to do:<br>
      <ol>
        <li>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.<br>
        </li>
        <li>Insert a line "call custom_decays" right after "call gpart"
          in the body of uginit in uginit.F<br>
        </li>
      </ol>
      <u><a href="http://wwwasdoc.web.cern.ch/wwwasdoc/geant_html3/node73.html#SECTION025000000000000000000000">http://wwwasdoc.web.cern.ch/wwwasdoc/geant_html3/node73.html#SECTION025000000000000000000000</a><br>
        <br>
        -Richard Jones<br>
      </u><br>
      On 3/18/2013 11:49 AM, Kei Moriya wrote:<br>
    </div>
    <blockquote cite="mid:5147376D.3090203@indiana.edu" type="cite">
      <pre wrap="">
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
<a href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline">https://mailman.jlab.org/mailman/listinfo/halld-offline</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>