<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Sean,<br>
    </p>
    <p>I did a build of this recently, it was a pain-free exercise.</p>
    <p>We could fork it or we could use it out of Richard's repository.
      Since Richard is willing to have us do the former, I guess we will
      do that. I would then propose that we add it to the standard set
      of things we build.</p>
    <p>  -- Mark<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03/16/2018 06:09 PM, Richard Jones
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABfxa3SZ1BPyiBQrHD08vxp3AfK-SRUPKp5pcjHz0n+qXc4eeg@mail.gmail.com">
      <div dir="ltr">Sean,
        <div><br>
        </div>
        <div>I developed Dirac++ in the context of the second GlueX
          Conceptual Design Report back in 2002. Its purpose was to
          demonstrate progress towards readiness to analyze data from
          GlueX, from processes like this, thinking that we might see 12
          GeV photons by 2008 or 2009. Great Expectations. That was 2002
          or so, if I recall correctly, so the package is anything but
          new! However c++ is still around, and QED has not changed all
          that much, and I continue to develop it so it remains useful.
          Some of the internal beam generators (eg. simulations to give
          the TPOL asymmetry as a function of energy) in HDGeant4 depend
          on it, although that functionality can be disabled using a CPP
          macro. I believe that Mark has so far avoided dependency in
          the build of HDGeant4 on Dirac++ by setting this #define to
          false.</div>
        <div><br>
        </div>
        <div>My own development repo is maintained under
          /rjones30/Diracxx. Why don't you or Mark make a fork of it
          under JeffersonLab/Diracxx and that way you can coordinate the
          tagged releases together with the other packages that depend
          on it, eg. HDGeant4. Will that work?</div>
        <div><br>
        </div>
        <div>-Richard Jones</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Mar 16, 2018 at 1:05 PM, Sean
          Dobbs <span dir="ltr"><<a href="mailto:sdobbs@fsu.edu"
              target="_blank" moz-do-not-send="true">sdobbs@fsu.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Richard,
              <div><br>
              </div>
              <div>Thanks a lot for doing this.  Can you remind us, is
                Dirac++ a new library which is needed for building this
                new program?</div>
              <div><br>
              </div>
              <div>---Sean</div>
            </div>
            <br>
            <div class="gmail_quote">
              <div>
                <div class="h5">
                  <div dir="ltr">On Fri, Mar 16, 2018 at 11:09 AM
                    Richard Jones <<a
                      href="mailto:richard.t.jones@uconn.edu"
                      target="_blank" moz-do-not-send="true">richard.t.jones@uconn.edu</a>>
                    wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hello Lubomir and all,
                      <div><br>
                      </div>
                      <div>I have written a new Bethe Heitler generator
                        for GlueX. It is presently housed under the
                        HDGeant4 repo since it depends on several other
                        generator classes that are distributed with
                        HDGeant4. The update is found in a recent pull
                        request that I posted to HDGeant4 on github. If
                        someone outside GlueX wants to use it, I can
                        extract it from this environment, but for the
                        moment it is right at home where it is.</div>
                      <div><br>
                      </div>
                      <div>The new program is found in
                        HDGeant4/src/utils and is called genBH. To build
                        it, you need to do "make utils" at the top level
                        in the HDGeant directory. It is not built by
                        default using "make". This prevents automatic
                        build scripts from crashing if they do not have
                        Dirac++ set up in their environment.</div>
                      <div><br>
                      </div>
                      <div>Invoking it without arguments generates the
                        following usage message.</div>
                      <div><br>
                      </div>
                      <div>
                        <div>Usage: genBH -n <#> [options]
                          <output_file.hddm></div>
                        <div>  where options may include any of the
                          following</div>
                        <div>     -t <#> : number of threads to
                          run, default 1</div>
                        <div>     -E <val> : energy of incident
                          photon (GeV), default 9.0</div>
                        <div>     -e <val> : use bremsstrahlung
                          spectrum with endpoint e (GeV)</div>
                        <div><br>
                        </div>
                      </div>
                      <div>The output is in hddm format, suitable for
                        reading into a simulation, either hdgeant or
                        hdgeant4.</div>
                      <div><br>
                      </div>
                      <div>-Richard Jones</div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                </div>
                ______________________________<wbr>_________________<br>
                Halld-physics mailing list<br>
                <a href="mailto:Halld-physics@jlab.org" target="_blank"
                  moz-do-not-send="true">Halld-physics@jlab.org</a><br>
                <a
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__mailman.jlab.org_mailman_listinfo_halld-2Dphysics&d=DwICAg&c=HPMtquzZjKY31rtkyGRFnQ&r=bxTPW7N21WY8eJ2MkW85CQ&m=ihMBUZ9X9irTOEKa2JDvi07SCKi9KvYzAt8tXH9HfZI&s=ixnmUrMUaSoneYTgbihLQ9snR8XQ6douHXDr2Bx1bMU&e="
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__<wbr>mailman.jlab.org_mailman_<wbr>listinfo_halld-2Dphysics&d=<wbr>DwICAg&c=<wbr>HPMtquzZjKY31rtkyGRFnQ&r=<wbr>bxTPW7N21WY8eJ2MkW85CQ&m=<wbr>ihMBUZ9X9irTOEKa2JDvi07SCKi9Kv<wbr>YzAt8tXH9HfZI&s=<wbr>ixnmUrMUaSoneYTgbihLQ9snR8XQ6d<wbr>ouHXDr2Bx1bMU&e=</a></blockquote>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Halld-physics mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Halld-physics@jlab.org">Halld-physics@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/halld-physics">https://mailman.jlab.org/mailman/listinfo/halld-physics</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Mark Ito, <a class="moz-txt-link-abbreviated" href="mailto:marki@jlab.org">marki@jlab.org</a>, (757)269-5295
</pre>
  </body>
</html>