Difference between revisions of "HOWTO force hdgeant4 to decay particles in certain channels"

From GlueXWiki
Jump to: navigation, search
Line 1: Line 1:
1/ Prior to hdgeant4 step by running evtgen after generation as a postprocessor.
+
Geant4 defines all of the common particles that one would want to propagate through an experimental setup as instances of the G4ParticleDefinition class. Common particle types that are derived from G4ParticleDefinition include singleton classes G4Electron, G4Positron, G4PionPlus, G4Eta, and G4JPsi. Nested under subclass G4Ions are additional singleton classes such as G4Proton, G4Neutron, G4Deuteron, G4Alpha, and G4GenericIon for any non-lived isotope with Z>4. In addition to anti-particles like G4AntiProton, there are also so-called "adjoint" particles like G4AdjointElectron and G4AdjointGamma. These adjoint particles are not anti-particles, they are introduced into the G4 framework as particles that are simulated backwards in time. These are not currently used in the GlueX simulation, but I include them in this overview for completeness.
 
+
https://halldweb.jlab.org/wiki/index.php/HOWTO_Use_EvtGen_to_simulate_particle_decays_in_GlueX
+
 
+
2/ At hdgeant4 step by adding these lines to control.ini
+
 
+
Please look here: https://groups.google.com/g/gluex-software/c/n0NQMOX7bC4/m/IKUwwKDQAwAJ
+
 
+
TO-DO: summarize thread and show an example
+

Revision as of 13:23, 30 November 2021

Geant4 defines all of the common particles that one would want to propagate through an experimental setup as instances of the G4ParticleDefinition class. Common particle types that are derived from G4ParticleDefinition include singleton classes G4Electron, G4Positron, G4PionPlus, G4Eta, and G4JPsi. Nested under subclass G4Ions are additional singleton classes such as G4Proton, G4Neutron, G4Deuteron, G4Alpha, and G4GenericIon for any non-lived isotope with Z>4. In addition to anti-particles like G4AntiProton, there are also so-called "adjoint" particles like G4AdjointElectron and G4AdjointGamma. These adjoint particles are not anti-particles, they are introduced into the G4 framework as particles that are simulated backwards in time. These are not currently used in the GlueX simulation, but I include them in this overview for completeness.