TABLE OF CONTENTS
- 1. /initExternal
- 1.1. initExternal/inputFile
- 1.2. initExternal/DoPerturbative
- 1.3. initExternal/NumberingScheme
- 1.4. initExternal/posSRC
- 1.5. initExternal/flagPH
- 1.6. initExternal/pt
- 1.7. initExternal/ExternalIsPerturbative
- 1.8. initExternal/initInput
- 1.9. initExternal/externalSystem
- 1.10. initExternal/initializeExternal
/initExternal [ Modules ]
NAME
module initExternal
PURPOSE
Initializes a hadronic system according to an external data file.
initExternal/inputFile [ Global module-variables ]
[ Top ] [ initExternal ] [ Global module-variables ]
SOURCE
character*1000, save :: inputFile='./source.inp'
PURPOSE
the absolute name of the input file with hadrons to be propagated.
possible values:
- if not set, default is './source.inp'
- if given, but does not contain '/': default is './[inputFile]'
- otherwise: filename is absolute, including path
NOTE if you want to use the file 'XXX.inp' in the actual directory, give it as './XXX.inp'
initExternal/DoPerturbative [ Global module-variables ]
[ Top ] [ initExternal ] [ Global module-variables ]
SOURCE
logical, save :: DoPerturbative = .false.
PURPOSE
if true, the particles will be inserted into the perturbative particle vector, the real particles have to be initialized via some nucleus definition
initExternal/NumberingScheme [ Global module-variables ]
[ Top ] [ initExternal ] [ Global module-variables ]
SOURCE
integer, save :: NumberingScheme = 1
PURPOSE
The way, how particles%event will be numbered:
- 1: event = iPart, i.e. the particle number in the ensemble (historical, but does not work for fullensemble)
- 2: event = pert_numbering() or real_numbering() (good both for perturbative and real mode)
initExternal/posSRC [ Global module-variables ]
[ Top ] [ initExternal ] [ Global module-variables ]
SOURCE
logical, save :: posSRC = .false.
PURPOSE
If true, the position vectors of the proton and neutron from SRC will be sampled by Monte-Carlo. Relevant when the target nucleus was initialized before calling initializeExternal and if there are only proton and neutron in the external source.
initExternal/flagPH [ Global module-variables ]
[ Top ] [ initExternal ] [ Global module-variables ]
SOURCE
logical, save :: flagPH = .false.
PURPOSE
If true, a particle-hole excitation will be added to the target nucleus. The momentum of the particle is obtained by adding transverse momentum transfer along x-axis and from "-" momentum conservation.
initExternal/pt [ Global module-variables ]
[ Top ] [ initExternal ] [ Global module-variables ]
SOURCE
real, save :: pt = 0.
PURPOSE
Transverse momentum transfer to the struck nucleon (GeV/c). Relevant when flagPH=.true.
initExternal/ExternalIsPerturbative [ Functions ]
[ Top ] [ initExternal ] [ Functions ]
NAME
logical function ExternalIsPerturbative()
PURPOSE
Returns the value of DoPerturbative
initExternal/initInput [ Subroutines ]
[ Top ] [ initExternal ] [ Subroutines ]
NAME
subroutine initInput
PURPOSE
Reads input out of jobcard. Namelist 'externalSystem'.
initExternal/externalSystem [ Namelists ]
[ Top ] [ initExternal ] [ Namelists ]
NAME
NAMELIST externalSystem
PURPOSE
Includes the switches:
initExternal/initializeExternal [ Subroutines ]
[ Top ] [ initExternal ] [ Subroutines ]
NAME
subroutine initializeExternal(PartsReal,PartsPert)
PURPOSE
Read the particles from the file