TABLE OF CONTENTS
- 1. /PIL_rho0Dec
/PIL_rho0Dec [ Modules ]
NAME
module PIL_rho0Dec
PURPOSE
cf. module PIL_nLead
Provide some storage method for a integer valued information connected to a particle characterized by its unique particleNumber.
This is used in order to store for every charged pion the unique number of the opposite charged pion in a rho0 decay.
This is closely connected to the module PILIndex
NOTES
- "PIL" stands for "PartInfoList"
PIL_rho0Dec/decayInfo [ Types ]
[ Top ] [ PIL_rho0Dec ] [ Types ]
NAME
type decayInfo
PURPOSE
a container of the information to be stored
SOURCE
type decayInfo integer :: val real :: tC, tP, tF end type decayInfo
PIL_rho0Dec/IndexList [ Global module-variables ]
[ Top ] [ PIL_rho0Dec ] [ Global module-variables ]
SOURCE
type(tIndexList),save :: IndexList
PURPOSE
The list, were the particle numbers are connected with the (physical) storage position
PIL_rho0Dec/ValueList [ Global module-variables ]
[ Top ] [ PIL_rho0Dec ] [ Global module-variables ]
SOURCE
type(decayInfo),save, allocatable :: ValueList(:)
PURPOSE
The list, were the information is stored
PIL_rho0Dec/PIL_rho0Dec_DeAlloc [ Subroutines ]
[ Top ] [ PIL_rho0Dec ] [ Subroutines ]
NAME
subroutine PIL_rho0Dec_DeAlloc
PURPOSE
Deallocate the memory for this list and the corresponding index list.
PIL_rho0Dec/PIL_rho0Dec_ZERO [ Subroutines ]
[ Top ] [ PIL_rho0Dec ] [ Subroutines ]
NAME
subroutine PIL_rho0Dec_ZERO()
PURPOSE
Reset the list by setting the counter of stored information to 0. No allocation or deallocation of memory happens.
PIL_rho0Dec/PIL_rho0Dec_PUT [ Subroutines ]
[ Top ] [ PIL_rho0Dec ] [ Subroutines ]
NAME
subroutine PIL_rho0Dec_PUT(number,r,tC,tP,tF)
PURPOSE
Store the information connected with particle "number" in the list.
INPUTS
- integer :: number -- the (unique) particle number
- integer :: r -- the information to store
- real :: tC,tP,tF -- collision, production and formation time
OUTPUT
none
PIL_rho0Dec/PIL_rho0Dec_GET [ Functions ]
[ Top ] [ PIL_rho0Dec ] [ Functions ]
NAME
logical function PIL_rho0Dec_GET(number,r,tC,tP,tF)
PURPOSE
Get the stored information of particle "number"
INPUTS
- integer :: number -- the (unique) particle number
OUTPUT
- integer :: r -- the stored information (or 0)
- real, OPTIONAL :: tC,tP,tF -- the stored collsion,production and formation times
- the (logical) return value signals, whether inforation about this particle was found in the list or not.
PIL_rho0Dec/PIL_rho0Dec_Allocate [ Subroutines ]
[ Top ] [ PIL_rho0Dec ] [ Subroutines ]
NAME
subroutine PIL_rho0Dec_Allocate
PURPOSE
Do the allocation and reallocation of the value vector. The new size is taken from the size of the IndexList vectors.
NOTES
For security one should insert here checks, whether the memory allocations failed and stop execution in these cases.
PIL_rho0Dec/PIL_rho0Dec_Print [ Subroutines ]
[ Top ] [ PIL_rho0Dec ] [ Subroutines ]
NAME
subroutine PIL_rho0Dec_Print(file)
PURPOSE
Print the list to file