TABLE OF CONTENTS
/AssignMassMC [ Modules ]
NAME
module AssignMassMC
PURPOSE
Assign masses for 1-,2- or 3-body final state according spectral functions
AssignMassMC/AssignMass_1 [ Subroutines ]
[ Top ] [ AssignMassMC ] [ Subroutines ]
NAME
subroutine AssignMass_1(ID, srts,momLRF,mediumAtPos, mass, nReject)
PURPOSE
return a mass for a particle, which is distributed according the actual parametrizations of the spectral function, i.e. according
A(m)
For stable particles, it returns the pole mass, while for particles with non-vanishing width the returned value is distributed according a relativistiv Breit-Wigner distribution with a mass dependend width.
INPUTS
- integer :: ID -- ID of the particle
- real :: srts -- maximal energy available
- real, dimension(0:3) :: momLRF -- momentum of resonance in LRF
- type(medium) :: mediumAtPos -- medium at position
OUTPUT
- real :: mass -- the selected mass value
- integer, OPTIONAL:: nReject -- number of steps in rejection method
NOTES
AssignMassMC/AssignMass_2 [ Subroutines ]
[ Top ] [ AssignMassMC ] [ Subroutines ]
NAME
subroutine AssignMass_2(ID, srts,momLRF,mediumAtPos, mass, nReject)
PURPOSE
return masses for the two outgoing particles, which are selected according
A(m1)*A(m2)*p_{cm}
INPUTS
- integer, dimension(2) :: ID -- ID of the particles
- real :: srts -- maximal energy available
- real, dimension(0:3) :: momLRF -- momentum of resonance in LRF
- type(medium) :: mediumAtPos -- medium at position
OUTPUT
- real, dimension(2) :: mass -- the selected mass values
- integer, OPTIONAL :: nReject -- number of steps in rejection method
NOTES