22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Geant 3.16 GEANT User’s Guide PHYS400<br />

Origin : G.N.Patrick Submitted: 30.03.82<br />

Revision : Revised: 16.12.93<br />

Documentation :<br />

Simulation of particle decays in flight<br />

1 Subroutines<br />

CALL GDECAY<br />

GDECAY is the control routine for the simulation of particle decays in flight. For a given parent particle it<br />

selects from a list a two- or three-body decay mode using the known branching ratios and calls the routines<br />

needed to generate the vertex and secondary tracks. It used the following input and output:<br />

input:<br />

output:<br />

via common blocks /GCTRAK/ and /GCKINE/<br />

via common block /GCKING/<br />

GDECAY is called by the tracking routines. It calls the subroutines GDECA2 for two-body decay, GDECA3 for<br />

three-body decay, GLOREN for Lorentz transformation and GDROT for rotation. For the documentation of<br />

GLOREN and GDROT, see [PHYS410].<br />

CALL GDECA2<br />

(XM0,XM1,XM2,PCM)<br />

XM0<br />

XM1<br />

XM2<br />

PCM(3,4)<br />

(REAL) mass of the parent particle<br />

(REAL) mass of the first decay product<br />

(REAL) mass of the second decay product<br />

(REAL) array containing the four-vectors of the decay products<br />

GDECA2 simulates the two-body decay with isotropic angular distribution in the center-of-mass system. It is<br />

called from GDECAY.<br />

CALL GDECA3<br />

(XM0,XM1,XM2,XM3,PCM)<br />

XM0<br />

XM1<br />

XM2<br />

XM3<br />

PCM(3,4)<br />

(REAL) mass of the parent particle<br />

(REAL) mass of the first decay product<br />

(REAL) mass of the second decay product<br />

(REAL) mass of the third decay product<br />

(REAL) array containing the four-vectors of the decay products<br />

GDECA3 simulates the three-body decay with isotropic angular distribution in the center-of-mass system. It<br />

is called from GDECAY.<br />

293 PHYS400 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!