TABLE OF CONTENTS
- 1. /offShellPotential
- 1.1. offShellPotential/OffShell_debug
- 1.2. offShellPotential/useOffShellPotentialBaryons
- 1.3. offShellPotential/useOffShellPotentialMesons
- 1.4. offShellPotential/offshell_cutoff
- 1.5. offShellPotential/max_offshellparameter
- 1.6. offShellPotential/extrapolateBaryonWidth
- 1.7. offShellPotential/relativistic
- 1.8. offShellPotential/setOffShellParameter
- 1.9. offShellPotential/readInput
- 1.10. offShellPotential/OffShellPotential
- 1.11. offShellPotential/get_useOffShellPotentialBaryons()
- 1.12. offShellPotential/get_useOffShellPotentialMesons()
- 1.13. offShellPotential/get_OffShell_debug()
- 1.14. offShellPotential/treatParticleOffShell(partID, partOffShellParameter)
- 1.15. offShellPotential/HamiltonFunc_offshell
- 1.16. offShellPotential/setOffShellParameter_single
- 1.17. offShellPotential/setOffShellParameter_1dim
- 1.18. offShellPotential/getOffShellParameter
- 1.19. offShellPotential/getOffShellMass
- 1.20. offShellPotential/getBaryonWidth
- 1.21. offShellPotential/offShellErrorMessage(partID, bareMass, momentum, position)
/offShellPotential [ Modules ]
NAME
module offShellPotential
PURPOSE
This module calculates the offshell potential.
offShellPotential/OffShell_debug [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
Switch on or off whether the debug information shall be given.
SOURCE
logical, parameter :: OffShell_debug=.false.
offShellPotential/useOffShellPotentialBaryons [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
Switch on or off whether the offshellness should be used for baryons.
SOURCE
logical, save :: useOffShellPotentialBaryons=.false.
NOTES
- must be set to "TRUE" if mediumSwitch_coll (see module BaryonWidthMedium) is .true.
- if .true. then delta_T (see module inputGeneral) must be <=0.05 AND delta_P (see module propagation) must be <=0.002; AND delta_E (see module propagation) must be <=0.002; slows down propagation by a factor of 10
offShellPotential/useOffShellPotentialMesons [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
Switch on or off whether the offshellness should be used for mesons.
SOURCE
logical, save :: useOffShellPotentialMesons=.false.
offShellPotential/offshell_cutoff [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
If offshellParameter is less than this value, then we treat it as zero -> getoffshellMass returns the pole mass!
SOURCE
real , parameter :: offshell_cutoff = 1E-5
offShellPotential/max_offshellparameter [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
The maximal value for the offshell parameter. Note: empirical value! This only applies to baryons. For mesons we have no restrictions on the offshell parameter.
SOURCE
real, save :: max_offshellparameter=5.
offShellPotential/extrapolateBaryonWidth [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
Whether to extrapolate the baryon width below minimal mass or not.
SOURCE
logical, save :: extrapolateBaryonWidth=.true.
offShellPotential/relativistic [ Global module-variables ]
[ Top ] [ offShellPotential ] [ Global module-variables ]
PURPOSE
- false: Use non-rel. off-shell parameter x=Delta m/Gamma, which obeys Stefan Leupold's non-rel. EOM.
- true: Use rel. off-shell parameter x=Delta m^2/Gamma, which obeys Cassing's rel. EOM.
SOURCE
logical, save :: relativistic = .false.
offShellPotential/setOffShellParameter [ Subroutines ]
[ Top ] [ offShellPotential ] [ Subroutines ]
NAME
Interface setOffShellParameter
PURPOSE
This is an interface which can be called like a subroutine using "call setOffShellParameter(p,success)".
It calculates the offshell parameter for a single particle or a set of particles If it fails for one of them, then it returns .false., otherwise .true. . The particles should be properly initialized, only the offshellparameter should be left-over to initialize.
INPUTS
- type(particle) , intent(inout), dimension (:) :: p
or:
- type(particle) , intent(inout) :: p
OUTPUT
- logical, intent(out):: success -- .true. if the offshell parameter could be evaluated for all particles
offShellPotential/readInput [ Subroutines ]
[ Top ] [ offShellPotential ] [ Subroutines ]
NAME
subroutine readInput
PURPOSE
Reads input in jobcard out of namelist "OffShellPotential".
offShellPotential/OffShellPotential [ Namelists ]
[ Top ] [ offShellPotential ] [ Namelists ]
NAME
NAMELIST /OffShellPotential/
PURPOSE
Includes the switches:
- useOffShellPotentialBaryons
- useOffShellPotentialMesons
- extrapolateBaryonWidth
- max_offshellparameter
- relativistic
offShellPotential/get_useOffShellPotentialBaryons() [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
logical function get_useOffShellPotentialBaryons()
PURPOSE
returns the value of useOffShellPotentialBaryons
offShellPotential/get_useOffShellPotentialMesons() [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
logical function get_useOffShellPotentialMesons()
PURPOSE
returns the value of useOffShellPotentialMesons
offShellPotential/get_OffShell_debug() [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
logical function get_OffShell_debug()
PURPOSE
returns the value of OffShell_debug
offShellPotential/treatParticleOffShell(partID, partOffShellParameter) [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
logical function treatParticleOffShell(partID,partOffShellParameter)
PURPOSE
returns for a given particle, whether it is treated as offShell particle (e.g. in propagation).
offShellPotential/HamiltonFunc_offshell [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
real function HamiltonFunc_offshell(part)
PURPOSE
determines Hamilton function for the offshell potential prescription
offShellPotential/setOffShellParameter_single [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
subroutine setOffShellParameter_single(p,success)
PURPOSE
This subroutine calculates the offshell parameter for one given particle. If it fails, then it returns .false. otherwise .true.
INPUTS
- type(particle),intent(inout) :: p
OUTPUT
- logical, intent(out):: success -- .true. if the offshell parameter could be evaluated.
offShellPotential/setOffShellParameter_1dim [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
subroutine setOffShellParameter_1dim(p,success)
PURPOSE
This subroutine calculates the offshell parameter for a given set of particles. If it fails for one of them, then it returns .false. otherwise .true.
INPUTS
- type(particle) , intent(inout), dimension (:) :: p
OUTPUT
- logical, intent(out):: success -- .true. if the offshell parameter could be evaluated.
offShellPotential/getOffShellParameter [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
real function getOffShellParameter
PURPOSE
This function calculates the offshell parameter to be set into particle%offshellparameter. When calling this routine, make sure, that momentum(0) is set correctly!!!!!!!!
INPUTS
- integer, intent(in) :: partID -- ID of particle
- real, intent(in) :: bareMass -- bare mass= %mass
- real, dimension(0:3), intent(in) :: momentum -- 4-momentum at production point
- real, dimension(1:3), intent(in) :: position -- production point
OUTPUT
- logical, intent(out):: success -- .true. if the offshell parameter could be evaluated.
- real :: getOffShellParameter
offShellPotential/getOffShellMass [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
INPUTS
- integer, intent(in) :: partID -- ID of particle
- real, intent(in) :: offshellparameter
- real, intent(in) :: bareMass -- bare mass= %mass
- real, dimension(0:3), intent(in) :: momentum -- 4-momentum
- type(medium),intent(in) :: mediumAtPosition -- medium information
OUTPUT
- real :: getOffShellMass
- real, optional :: getOffShellness
offShellPotential/getBaryonWidth [ Functions ]
[ Top ] [ offShellPotential ] [ Functions ]
NAME
real function getBaryonWidth
PURPOSE
returns the baryonWidth. In case, extrapolateBaryonWidth is set to .true. the baryon width is extrapolated to masses below minimalmass. IMPORTANT: *** Baryon Width is calculated in the Lab Frame! ***
INPUTS
- integer, intent(in) :: partID -- ID of particle
- real, intent(in) :: bareMass -- bare mass= %mass
- real, dimension(0:3), intent(in) :: momentum -- 4-momentum
- type(medium),intent(in) :: mediumAtPosition -- medium information
OUTPUT
- real :: getBaryonWidth
offShellPotential/offShellErrorMessage(partID, bareMass,
momentum, position) [ Subroutines ]
[ Top ] [ offShellPotential ] [ Subroutines ]
NAME
subroutine offShellErrorMessage(partID,bareMass,momentum,position)
PURPOSE
Routine returns particle information.
INPUTS
- type(particle), intent(in) :: part