TABLE OF CONTENTS
- 1. /PIL_nLead
- 1.1. PIL_nLead/tValueEntry
- 1.2. PIL_nLead/IndexList
- 1.3. PIL_nLead/ValueList
- 1.4. PIL_nLead/PIL_nLead_DeAlloc
- 1.5. PIL_nLead/PIL_nLead_ZERO
- 1.6. PIL_nLead/PIL_nLead_PUT
- 1.7. PIL_nLead/PIL_nLead_GET
- 1.8. PIL_nLead/PIL_nLead_Allocate
- 1.9. PIL_nLead/PIL_nLead_Print
/PIL_nLead [ Modules ]
NAME
module PIL_nLead
PURPOSE
Provide some storage method for a real valued information connected to a particle characterized by its unique particleNumber.
This is closely connected to the module PILIndex
The actual stored value is the scaled cross section divided by the hard scale Q2.
INPUTS
(none)
NOTES
- "PIL" stands for "PartInfoList"
- unfortunately this module does NOT store the number of leading quarks, as the name could suggest; for this purpose see PIL_FormInfo. The neame of this module should better be "..._Pedest..."
PIL_nLead/tValueEntry [ Types ]
[ Top ] [ PIL_nLead ] [ Types ]
NAME
type tValueEntry
PURPOSE
a container of the information to be stored
SOURCE
type tValueEntry real :: val end type
PIL_nLead/IndexList [ Global module-variables ]
[ Top ] [ PIL_nLead ] [ Global module-variables ]
PURPOSE
The list, were the particle numbers are connected with the (physical) storage position
SOURCE
type(tIndexList), save :: IndexList
PIL_nLead/ValueList [ Global module-variables ]
[ Top ] [ PIL_nLead ] [ Global module-variables ]
PURPOSE
The list, were the information is stored
SOURCE
type(tValueEntry), allocatable, save :: ValueList(:)
PIL_nLead/PIL_nLead_DeAlloc [ Subroutines ]
[ Top ] [ PIL_nLead ] [ Subroutines ]
NAME
subroutine PIL_nLead_DeAlloc
PURPOSE
Deallocate the memory for this list and the corresponding index list.
PIL_nLead/PIL_nLead_ZERO [ Subroutines ]
[ Top ] [ PIL_nLead ] [ Subroutines ]
NAME
subroutine PIL_nLead_ZERO()
PURPOSE
Reset the list by setting the counter of stored information to 0. No allocation or deallocation of memory happens.
PIL_nLead/PIL_nLead_PUT [ Subroutines ]
[ Top ] [ PIL_nLead ] [ Subroutines ]
NAME
subroutine PIL_nLead_PUT(number,r)
PURPOSE
Store the information "r" connected with particle "number" in the list.
INPUTS
- integer :: number -- the (unique) particle number
- real :: r -- the information to store
OUTPUT
none
PIL_nLead/PIL_nLead_GET [ Functions ]
[ Top ] [ PIL_nLead ] [ Functions ]
NAME
logical function PIL_nLead_GET(number,r)
PURPOSE
Get the stored information of particle "number"
INPUTS
- integer, intent(IN) :: number -- the (unique) particle number
OUTPUT
- real, intent(OUT) :: r -- the stored information (or 0.)
- the (logical) return value signals, whether inforation about this particle was found in the list or not.
PIL_nLead/PIL_nLead_Allocate [ Subroutines ]
[ Top ] [ PIL_nLead ] [ Subroutines ]
NAME
subroutine PIL_nLead_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_nLead/PIL_nLead_Print [ Subroutines ]
[ Top ] [ PIL_nLead ] [ Subroutines ]
NAME
subroutine PIL_nLead_Print(file)
PURPOSE
Print the list to file