TABLE OF CONTENTS
- 1. /CollTools
- 1.1. CollTools/ConvertToAnti
- 1.2. CollTools/SetSomeDefaults_PY
- 1.3. CollTools/SetSomeDefaults_PY_Hermes
- 1.4. CollTools/SetSomeDefaults_FR
- 1.5. CollTools/SetVectorFromPYJETS
- 1.6. CollTools/ConvertInPartPythia
- 1.7. CollTools/ConvertInPartFritiof
- 1.8. CollTools/ReduceCharge
- 1.9. CollTools/CorrectChargeVector
- 1.10. CollTools/SetSomeDefaults_PY_Job
- 1.10.1. SetSomeDefaults_PY_Job/Init
- 1.10.2. SetSomeDefaults_PY_Job/WriteChanges
- 1.10.3. SetSomeDefaults_PY_Job/PlayChanges
- 1.11. CollTools/MSTU
- 1.12. CollTools/MSTJ
- 1.13. CollTools/MSTP
- 1.14. CollTools/MSTI
- 1.15. CollTools/PARU
- 1.16. CollTools/PARJ
- 1.17. CollTools/PARP
- 1.18. CollTools/PARI
- 1.19. CollTools/MSEL
- 1.20. CollTools/CKIN
- 1.21. CollTools/PMAS
- 1.22. CollTools/MDCY
- 1.23. CollTools/pythia
- 1.24. CollTools/PythiaCKIN
- 1.25. CollTools/PythiaMSTP
- 1.26. CollTools/CheckUndecayedString
- 1.27. CollTools/writePythiaCommons
/CollTools [ Modules ]
PURPOSE
This module contains routines needed by the modules DoColl_...
CollTools/ConvertToAnti [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine ConvertToAnti(part)
subroutine ConvertToAnti(part, partNEW)
subroutine ConvertToAnti(parts)
PURPOSE
Convert particle(s) to anti-particle(s).
INPUTS
OUTPUT
This depends on input/output combinations:
Case 1:
Case 2:
- type(particle) :: partNEW (The input values are not modified; all information is transfered to a new copy and this copy is modified)
Case 3:
NOTES
This function is overloaded.
CollTools/SetSomeDefaults_PY [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine SetSomeDefaults_PY
PURPOSE
Set some default values for (new) PYTHIA/JETSET.
CollTools/SetSomeDefaults_PY_Hermes [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine SetSomeDefaults_PY_Hermes
PURPOSE
Set some default values for (new) PYTHIA/JETSET as tuned by the HERMES collab. Meant to be called after a call to SetSomeDefaults_PY.
NOTES
To use this, this routine has to be called immediately before a call to InitPythia (when used for "Virtual Photons").
Parameters-setting for own calculation are not set here, but in "InitPythia". Some "useless" paramtere changings are excluded or marked with "(???)". No support for MSTP(199)=1 ("use of radgen")!!!
CollTools/SetSomeDefaults_FR [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine SetSomeDefaults_FR
PURPOSE
Set some default values for FRITIOF and (old) PYTHIA/JETSET.
CollTools/SetVectorFromPYJETS [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine SetVectorFromPYJETS(Part, HardScaleQ2)
PURPOSE
Take the information from the PYJETS common block and set the output particle array Part accordingly.
INPUTS
- type(particle),dimension(:) :: Part -- particle vector
- real, :: HardScaleQ2 -- Q2 of the production process
OUTPUT
- integer, OPTIONAL :: iDiffrRho -- if given and a diffractive rho was generated, this returns the index
- "Part" chaged
CollTools/ConvertInPartPythia [ Functions ]
[ Top ] [ CollTools ] [ Functions ]
NAME
function ConvertInPartPythia (ID) result (IDc)
PURPOSE
Reduce variety of incoming hadrons to some simpler manyfold (special for Pythia).
CollTools/ConvertInPartFritiof [ Functions ]
[ Top ] [ CollTools ] [ Functions ]
NAME
function ConvertInPartFritiof (ID) result (IDc)
PURPOSE
Reduce variety of incoming hadrons to some simpler manyfold (special for Fritiof).
CollTools/ReduceCharge [ Functions ]
[ Top ] [ CollTools ] [ Functions ]
NAME
function ReduceCharge(ID,IZ) result (IZc)
PURPOSE
Reduce charge of incoming Delta particles (e.g. Delta++ is mapped onto a Delta+).
CollTools/CorrectChargeVector [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine CorrectChargeVector(Part,DeltaQ)
PURPOSE
Correct the Charge of the outgoing particles of the whole event. If deltaQ>0 one has to add positive charges. This is necessary, if ReduceCharge changed the charge of an incoming particle.
CollTools/SetSomeDefaults_PY_Job [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine SetSomeDefaults_PY_Job
PURPOSE
Read in the namelist "pythia" from the jobcard.
NOTES
- only at the first call, the namelist is actually read in, in further calls the stored modifications are "replayed"
- in order to keep the names in the namelist as usual, the arrays used in the common blocks are renamed.
- not ALL Pythia parameters can be set, please see NAMELIST /pythia/
CollTools/MSTU [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
integer,dimension(200), save :: MSTU
PURPOSE
Pythia array
CollTools/MSTJ [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
integer,dimension(200), save :: MSTJ
PURPOSE
Pythia array
CollTools/MSTP [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
integer,dimension(200), save :: MSTP
PURPOSE
Pythia array
CollTools/MSTI [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
integer,dimension(200), save :: MSTI
PURPOSE
Pythia array
CollTools/PARU [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
real, dimension(200), save :: PARU
PURPOSE
Pythia array
CollTools/PARJ [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
real, dimension(200), save :: PARJ
PURPOSE
Pythia array
CollTools/PARP [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
real, dimension(200), save :: PARP
PURPOSE
Pythia array
CollTools/PARI [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
real, dimension(200), save :: PARI
PURPOSE
Pythia array
CollTools/MSEL [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
integer, save :: MSEL
PURPOSE
Pythia variable
CollTools/CKIN [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
real, dimension(200), save :: CKIN
PURPOSE
Pythia array
CollTools/PMAS [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
real, dimension(500,4),save :: PMAS
PURPOSE
Pythia array
CollTools/MDCY [ Global module-variables ]
[ Top ] [ CollTools ] [ Global module-variables ]
SOURCE
integer,dimension(500,3),save :: MDCY
PURPOSE
Pythia array
SetSomeDefaults_PY_Job/Init [ Subroutines ]
[ Top ] [ SetSomeDefaults_PY_Job ] [ Subroutines ]
NAME
subroutine Init
PURPOSE
Read in the namelist "pythia" from the jobcard and find the differences to the original values.
CollTools/pythia [ Namelists ]
[ Top ] [ CollTools ] [ Namelists ]
NAME
NAMELIST /pythia/
PURPOSE
In addition to the default changes done by GiBUU, you can set additional parameters from the arrays:
cf. PYTHIA documentation for details.
NOTES
Only changes to the default values (i.e. values at the stage, when the namelist is read in) will be stored and replayed every time when necessary.
SetSomeDefaults_PY_Job/WriteChanges [ Subroutines ]
[ Top ] [ SetSomeDefaults_PY_Job ] [ Subroutines ]
NAME
subroutine WriteChanges
PURPOSE
Write the changes to stdout.
SetSomeDefaults_PY_Job/PlayChanges [ Subroutines ]
[ Top ] [ SetSomeDefaults_PY_Job ] [ Subroutines ]
NAME
subroutine WriteChanges
PURPOSE
Play the changes.
CollTools/PythiaCKIN [ Functions ]
[ Top ] [ CollTools ] [ Functions ]
NAME
real function PythiaCKIN(i)
PURPOSE
Return the value from the common block.
CollTools/PythiaMSTP [ Functions ]
[ Top ] [ CollTools ] [ Functions ]
NAME
integer function PythiaMSTP(i)
PURPOSE
Return the value from the common block.
CollTools/CheckUndecayedString [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine CheckUndecayedString()
PURPOSE
Check whether some undecayed quark etc survived in the JETSET output. Should not happen, but occurs sometimes.
OUTPUT
- MINT(51) = 2, if problem occured
CollTools/writePythiaCommons [ Subroutines ]
[ Top ] [ CollTools ] [ Subroutines ]
NAME
subroutine writePythiaCommons(iFile)
PURPOSE
Write all the values of the common blocks to file.