TABLE OF CONTENTS
- 1. /LesHouchesAnalysis
- 1.1. LesHouchesAnalysis/LesHouchesFinalParticles_Pert
- 1.2. LesHouchesAnalysis/LesHouchesFinalParticles_Real
- 1.3. LesHouchesAnalysis/initInput
- 1.4. LesHouchesAnalysis/LesHouches
- 1.5. LesHouchesAnalysis/DoLesHouchesAnalysis
- 1.6. LesHouchesAnalysis/LesHouches.Pert.xml
- 1.7. LesHouchesAnalysis/LesHouches.Real.xml
- 1.8. LesHouchesAnalysis/LesHouchesFileOpen
- 1.9. LesHouchesAnalysis/LesHouchesFileClose
- 1.10. LesHouchesAnalysis/LesHouchesWriteEvents_real
- 1.11. LesHouchesAnalysis/LesHouchesWriteEvents_pert
- 1.12. LesHouchesAnalysis/WriteAdditionalInfo
/LesHouchesAnalysis [ Modules ]
NAME
module LesHouchesAnalysis
PURPOSE
This module provides routines for writing the outgoing particle vector in the standard format according to the "Les Houches Event Files".
See also:
INPUTS
(none)
NOTES
These analysis routines are independent of the specific initialization and should work in principle for all event types.
LesHouchesAnalysis/LesHouchesFinalParticles_Pert [ Global module-variables ]
[ Top ] [ LesHouchesAnalysis ] [ Global module-variables ]
SOURCE
logical, save :: LesHouchesFinalParticles_Pert = .false.
PURPOSE
Flag to print the perturbative particle vector according to the "Les Houches" standard, cf. http://arxiv.org/abs/hep-ph/0609017 . The output will be written to LesHouches.Pert.xml
LesHouchesAnalysis/LesHouchesFinalParticles_Real [ Global module-variables ]
[ Top ] [ LesHouchesAnalysis ] [ Global module-variables ]
SOURCE
logical, save :: LesHouchesFinalParticles_Real = .false.
PURPOSE
Flag to print the real particle vector according to the "Les Houches" standard, cf. http://arxiv.org/abs/hep-ph/0609017 . The output will be written to LesHouches.Real.xml.
LesHouchesAnalysis/initInput [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine initInput
PURPOSE
Read namelist 'LesHouches' from jobcard.
LesHouchesAnalysis/LesHouches [ Namelists ]
[ Top ] [ LesHouchesAnalysis ] [ Namelists ]
NAME
namelist /LesHouches/
PURPOSE
Namelist for LesHouchesAnalysis includes:
LesHouchesAnalysis/DoLesHouchesAnalysis [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine DoLesHouchesAnalysis (realPart, pertPart)
PURPOSE
Do the actual writing out, if desired (as indicated in namelist).
LesHouchesAnalysis/LesHouches.Pert.xml [ Output files ]
[ Top ] [ LesHouchesAnalysis ] [ Output files ]
NAME
file LesHouches.Pert.xml
PURPOSE
Contains all perturbative particles of a given run in Les Hoches format. Can be enabled by the switch LesHouchesFinalParticles_Pert. For documentation of the file format see https://gibuu.hepforge.org/trac/wiki/LesHouches. For each subsequent run a separate file will be produced:
* LesHouches.Pert.00000001.xml * LesHouches.Pert.00000002.xml * etc
LesHouchesAnalysis/LesHouches.Real.xml [ Output files ]
[ Top ] [ LesHouchesAnalysis ] [ Output files ]
NAME
file LesHouches.Real.xml
PURPOSE
Contains all real particles of a given run in Les Hoches format. Can be enabled by the switch LesHouchesFinalParticles_Real. For documentation of the file format see https://gibuu.hepforge.org/trac/wiki/LesHouches. For each subsequent run a separate file will be produced:
* LesHouches.Real.00000001.xml * LesHouches.Real.00000002.xml * etc
LesHouchesAnalysis/LesHouchesFileOpen [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine LesHouchesFileOpen (iFile, fName)
PURPOSE
Open a file for output event information according to the "Les Houches Event Files" standard.
LesHouchesAnalysis/LesHouchesFileClose [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine LesHouchesFileClose (iFile)
PURPOSE
Close a file after outputting Les-Houches event information.
LesHouchesAnalysis/LesHouchesWriteEvents_real [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine LesHouchesWriteEvents_real (iFile, Parts)
PURPOSE
Do the actual printout for real particles.
NOTES
For the case of real particles, one event simply corresponds to one ensemble.
LesHouchesAnalysis/LesHouchesWriteEvents_pert [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine LesHouchesWriteEvents_pert (iFile, Parts)
PURPOSE
Do the actual printout for perturbative particles.
NOTES
We have to sort the particles according their "firstevent" field. Therefore we allocate an array of "tParticleList". Unfortunately we can not use the "firstevent" entry directly as array index, since this is not starting with 1 and continously increasing for all kind of eventtypes. Therefore we (ab)use the module "PILIndex", which implements methods of "indexing". (We do not use the possibility of reallocating as provided by the module "PILIndex".)
LesHouchesWriteEvents_pert/ValueListAllocate [ Subroutines ]
[ Top ] [ LesHouchesWriteEvents_pert ] [ Subroutines ]
NAME
subroutine ValueListAllocate
PURPOSE
Do the allocation stuff for the Particle Info List.
LesHouchesAnalysis/WriteAdditionalInfo [ Subroutines ]
[ Top ] [ LesHouchesAnalysis ] [ Subroutines ]
NAME
subroutine WriteAdditionalInfo (iFile, iFE)
PURPOSE
Write additional info about the event, depending on eventtype.
This routine tries to find additional information about the event. It tries routines for different event types, which only return some information, if it was really stored.
The following cases are handled:
- For eventtype "HiLep", the following line is added: # 14 nu Q2 eps phiLepton Eventtype (14 is the magic number of "HiLepton")
- For eventtype "neutrino", the following line is added: # 5 Eventtype Weight momLepIn(0:3) momLepOut(0:3) nuc_mom(0:3) (5 is the magic number for neutrino events)
- For eventtype "heavyIon", the following line is added: # 1 b (1 is the magic number of "heavyIon", b is the impact parameter in fm)
- For eventtype "hadron", the following line is added: # 300 b (300 is the magic number of "hadron", b is the impact parameter in fm)