Message: Creating Secondaries at the StackingAction Stage Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Creating Secondaries at the StackingAction Stage 

Forum: Event and Track Management
Date: 08 Aug, 2018
From: <cgerrity>

Hello,

I am trying to implement a simple custom data-driven model of pion secondaries in antiparticle annihilations on targets. The basic model I had in mind was to simply replace existing tracks that have pion secondaries in them with various channels of different pion multiplicity, weighted by some probability distribution I will sample, conserving energy and momentum, and leaving the rest of the physics from FTFP_BERT as untouched as possible.

I have gathered from this link and the examples, http://hypernews.slac.stanford.edu/HyperNews/geant4/get/eventtrackmanage/1164.html?inline=-1, that the proper place to modify secondary information is in the StackingAction and not the SteppingAction as might be naively assumed.

I have found numerous examples, including the Geant4 tutorials, that show how to kill tracks, and modify existing tracks, but I have not found an example or method that shows directly how to create new particles at the StackingAction stage (or, if I have, I did not recognize it as such - I am still fairly new with Geant).

Is there a simple way to do this?

Thank you so much for your help.

 Add Message Add Message
to: "Creating Secondaries at the StackingAction Stage"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]