[Halld-physics] new Bethe Heitler event generator
Mark Ito
marki at jlab.org
Mon Mar 19 16:52:13 EDT 2018
Sean,
I did a build of this recently, it was a pain-free exercise.
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.
-- Mark
On 03/16/2018 06:09 PM, Richard Jones wrote:
> Sean,
>
> 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.
>
> 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?
>
> -Richard Jones
>
> On Fri, Mar 16, 2018 at 1:05 PM, Sean Dobbs <sdobbs at fsu.edu
> <mailto:sdobbs at fsu.edu>> wrote:
>
> Richard,
>
> Thanks a lot for doing this. Can you remind us, is Dirac++ a new
> library which is needed for building this new program?
>
> ---Sean
>
> On Fri, Mar 16, 2018 at 11:09 AM Richard Jones
> <richard.t.jones at uconn.edu <mailto:richard.t.jones at uconn.edu>> wrote:
>
> Hello Lubomir and all,
>
> 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.
>
> 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.
>
> Invoking it without arguments generates the following usage
> message.
>
> Usage: genBH -n <#> [options] <output_file.hddm>
> where options may include any of the following
> -t <#> : number of threads to run, default 1
> -E <val> : energy of incident photon (GeV), default 9.0
> -e <val> : use bremsstrahlung spectrum with endpoint e (GeV)
>
> The output is in hddm format, suitable for reading into a
> simulation, either hdgeant or hdgeant4.
>
> -Richard Jones
>
> _______________________________________________
> Halld-physics mailing list
> Halld-physics at jlab.org <mailto:Halld-physics at jlab.org>
> 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=
> <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=>
>
>
>
>
> _______________________________________________
> Halld-physics mailing list
> Halld-physics at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-physics
--
Mark Ito, marki at jlab.org, (757)269-5295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-physics/attachments/20180319/4f01368c/attachment-0001.html>
More information about the Halld-physics
mailing list