TABLE OF CONTENTS
/collisionTools [ Modules ]
NAME
module collisionTools
PURPOSE
Some helper routines for collisions
collisionTools/setEnergyCheck [ Subroutines ]
[ Top ] [ collisionTools ] [ Subroutines ]
NAME
subroutine setEnergyCheck(va)
PURPOSE
set the internal variable energyCheck
collisionTools/finalCheck [ Functions ]
[ Top ] [ collisionTools ] [ Functions ]
NAME
function finalCheck(partIn, partOut, HiEnergyFlagge, woher) result(flag)
PURPOSE
Checks the final state of a collision for the conservation of all quantum numbers, also including momentum and energy conservation.
For HiEnergy events we do not check charge and momentum conservation, this MUST be done separately. The reason for this is, that some particles which are produced by Pythia/Fritiof can not be propagated by BUU and therefore do not show up in the final state vector "partOut" ("unknown particles wont be propagated").
INPUTS
- type(particle),dimension(:) :: partIn -- Incoming particles
- type(particle),dimension(:) :: partOut -- Outgoing particles
- logical, optional :: HiEnergyFlag -- .true. if it was a HiEnergy event. if .true. then energy conservation is not checked and code does not stop if charge conservation is violated
- character(*), optional :: woher -- name of calling routine
OUTPUT
- logical :: flag -- .true. if quantum numbers are conserved
NOTES
you may change the behaviour of this routine by changing the internal parameter 'errcode' at compile time: