]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/PHOTOS/phoini.F
AliDecayer realisation for the EvtGen code and EvtGen itself.
[u/mrichter/AliRoot.git] / TEvtGen / PHOTOS / phoini.F
CommitLineData
da0e9ce3 1*/////////////////////////////////////////////////////////////////////////////////////
2*// //
3*// !!!!!!! WARNING!!!!! This source may be agressive !!!! //
4*// //
5*// Due to short common block names it may owerwrite variables in other parts //
6*// of the code. //
7*// //
8*// One should add suffix c_Photos_ to names of all commons as soon as possible!! //
9*// //
10*/////////////////////////////////////////////////////////////////////////////////////
11
12C.----------------------------------------------------------------------
13C.
14C. PHOTOS: PHOtos CDE's
15C.
16C. Purpose: Keep definitions for PHOTOS QED correction Monte Carlo.
17C.
18C. Input Parameters: None
19C.
20C. Output Parameters: None
21C.
22C. Author(s): Z. Was, B. van Eijk Created at: 29/11/89
23C. Last Update: 10/08/93
24C.
25C. =========================================================
26C. General Structure Information: =
27C. =========================================================
28C: ROUTINES:
29C. 1) INITIALIZATION:
30C. PHOCDE
31C. PHOINI
32C. PHOCIN
33C. PHOINF
34C. 2) GENERAL INTERFACE:
35C. PHOTOS
36C. PHOTOS_GET
37C. PHOTOS_SET
38C. PHOTOS_MAKE
39C. PHOBOS
40C. PHOIN
41C. PHOTWO (specific interface
42C. PHOOUT
43C. PHOCHK
44C. PHTYPE (specific interface
45C. PHOMAK (specific interface
46C. 3) QED PHOTON GENERATION:
47C. PHINT
48C. PHOPRE
49C. PHOOMA
50C. PHOENE
51C. PHOCOR
52C. PHOFAC
53C. PHODO
54C. 4) UTILITIES:
55C. PHOTRI
56C. PHOAN1
57C. PHOAN2
58C. PHOBO3
59C. PHORO2
60C. PHORO3
61C. PHORIN
62C. PHORAN
63C. PHOCHA
64C. PHOSPI
65C. PHOERR
66C. PHOREP
67C. PHLUPA
68C. PHCORK
69C. COMMONS:
70C. NAME USED IN SECT. # OF OCC. Comment
71C. PHOQED 1) 2) 3 Flags whether emisson to be gen.
72C. PHOLUN 1) 4) 6 Output device number
73C. PHOCOP 1) 3) 4 photon coupling & min energy
74C. PHPICO 1) 3) 4) 5 PI & 2*PI
75C. PHSEED 1) 4) 3 RN seed
76C. PHOSTA 1) 4) 3 Status information
77C. PHOKEY 1) 2) 3) 7 Keys for nonstandard application
78C. PHOVER 1) 1 Version info for outside
79C. HEPEVT 2) 2 PDG common
80C. PH_HEPEVT2) 8 PDG common internal
81C. PHOEVT 2) 3) 10 PDG branch
82C. PHOIF 2) 3) 2 emission flags for PDG branch
83C. PHOMOM 3) 5 param of char-neutr system
84C. PHOPHS 3) 5 photon momentum parameters
85C. PHOPRO 3) 4 var. for photon rep. (in branch)
86C. PHOCMS 2) 3 parameters of boost to branch CMS
87C. PHNUM 4) 1 event number from outside
88C.----------------------------------------------------------------------
89 SUBROUTINE PHOINI
90C.----------------------------------------------------------------------
91C.
92C. PHOTOS: PHOton radiation in decays INItialisation
93C.
94C. Purpose: Initialisation routine for the PHOTOS QED radiation
95C. package. Should be called at least once before a call
96C. to the steering program 'PHOTOS' is made.
97C.
98C. Input Parameters: None
99C.
100C. Output Parameters: None
101C.
102C. Author(s): Z. Was, B. van Eijk Created at: 26/11/89
103C. Last Update: 12/04/90
104C.
105C.----------------------------------------------------------------------
106 IMPLICIT NONE
107 INTEGER INIT
108 SAVE INIT
109 DATA INIT/ 0/
110C--
111C-- Return if already initialized...
112 IF (INIT.NE.0) RETURN
113 INIT=1
114C--
115C-- Preset parameters in PHOTOS commons
116 CALL PHOCIN
117C--
118C-- Print info
119 CALL PHOINF
120C--
121C-- Initialization of kinematic correction against rounding errors.
122C-- Default parameter is 1 (no correction) optionally 2, 3, 4
123 CALL PHCORK(1)
124C--
125C-- Initialize Marsaglia and Zaman random number generator
126 CALL PHORIN
127 RETURN
128 END