[Halld-offline] [EXTERNAL] new HOWTO on changing the standard particle decay branching ratios in hdgeant4

Mariana Khachatryan marianak at jlab.org
Wed Dec 1 11:15:47 EST 2021

That answers my question, thank you!

On Dec 1, 2021, at 11:10 AM, Richard Jones <richard.t.jones at uconn.edu<mailto:richard.t.jones at uconn.edu>> wrote:

Hello Mariana,

Yes, you are right.  Changing the decay tables in hdgeant4 should not be considered if you can already achieve what you need by simply restricting the allowed decay modes when you generate the final-state particles at the primary vertex.  However that approach is not adequate in circumstances like the one I showed in the HOWTO example. In that case, one of the products from the primary vertex is a neutral kaon, and we were looking to reconstruct it in the final state where the k0 decays to two pi0. In that case you cannot attach the two pi0 from the k0 decay to the primary vertex at the event generator stage because the k0 will travel a measurable distance in the detector away from the Sigma+ decay vertex before it decays. Along the way there are material effects that might scatter the k0 or interfere with its decay distribution through regeneration. I am not sure how well the currently selected G4 physics lists simulate the effects of regeneration on a k0 in flight, but here I just argue from a general principle. If the decay happens in 10 microns or less from the primary vertex then you might as well do the decay in the event generator and spare yourself the trouble.  But if the decay happens a detectable distance from the primary vertex or if there are material effects between the primary and secondary decay vertices that might change the momentum or the internal state of the particle, you will want to let G4 do the decay.

-richard jones

On Wed, Dec 1, 2021 at 10:37 AM Mariana Khachatryan <marianak at jlab.org<mailto:marianak at jlab.org>> wrote:

*Message sent from a system outside of UConn.*

Hi Richard,

as I understand this is an alternative to using decay_evtgen.
What are the advantages of using one or the other?

Thank you,

On Nov 30, 2021, at 3:18 PM, Richard Jones <richard.t.jones at uconn.edu<mailto:richard.t.jones at uconn.edu>> wrote:

Hello all,

Alexander pointed out that my wiki page "HOWTO  force hdgeant4 to decay particles in certain channels" was somewhat cryptic and hard to follow.

I have done a rewrite of the page, with an example session you can try to test it out.


-Richard Jones
Halld-offline mailing list
Halld-offline at jlab.org<mailto:Halld-offline at jlab.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20211201/8c823480/attachment.html>

More information about the Halld-offline mailing list