1 */////////////////////////////////////////////////////////////////////////////////////
3 *// !!!!!!! WARNING!!!!! This source may be agressive !!!! //
5 *// Due to short common block names it may owerwrite variables in other parts //
8 *// One should add suffix c_Photos_ to names of all commons as soon as possible!! //
10 */////////////////////////////////////////////////////////////////////////////////////
12 C.----------------------------------------------------------------------
14 C. PHOTOS: PHOtos CDE's
16 C. Purpose: Keep definitions for PHOTOS QED correction Monte Carlo.
18 C. Input Parameters: None
20 C. Output Parameters: None
22 C. Author(s): Z. Was, B. van Eijk Created at: 29/11/89
23 C. Last Update: 10/08/93
25 C. =========================================================
26 C. General Structure Information: =
27 C. =========================================================
34 C. 2) GENERAL INTERFACE:
41 C. PHOTWO (specific interface
44 C. PHTYPE (specific interface
45 C. PHOMAK (specific interface
46 C. 3) QED PHOTON GENERATION:
70 C. NAME USED IN SECT. # OF OCC. Comment
71 C. PHOQED 1) 2) 3 Flags whether emisson to be gen.
72 C. PHOLUN 1) 4) 6 Output device number
73 C. PHOCOP 1) 3) 4 photon coupling & min energy
74 C. PHPICO 1) 3) 4) 5 PI & 2*PI
75 C. PHSEED 1) 4) 3 RN seed
76 C. PHOSTA 1) 4) 3 Status information
77 C. PHOKEY 1) 2) 3) 7 Keys for nonstandard application
78 C. PHOVER 1) 1 Version info for outside
79 C. HEPEVT 2) 2 PDG common
80 C. PH_HEPEVT2) 8 PDG common internal
81 C. PHOEVT 2) 3) 10 PDG branch
82 C. PHOIF 2) 3) 2 emission flags for PDG branch
83 C. PHOMOM 3) 5 param of char-neutr system
84 C. PHOPHS 3) 5 photon momentum parameters
85 C. PHOPRO 3) 4 var. for photon rep. (in branch)
86 C. PHOCMS 2) 3 parameters of boost to branch CMS
87 C. PHNUM 4) 1 event number from outside
88 C.----------------------------------------------------------------------
90 C.----------------------------------------------------------------------
92 C. PHOTOS: PHOton radiation in decays INItialisation
94 C. Purpose: Initialisation routine for the PHOTOS QED radiation
95 C. package. Should be called at least once before a call
96 C. to the steering program 'PHOTOS' is made.
98 C. Input Parameters: None
100 C. Output Parameters: None
102 C. Author(s): Z. Was, B. van Eijk Created at: 26/11/89
103 C. Last Update: 12/04/90
105 C.----------------------------------------------------------------------
111 C-- Return if already initialized...
112 IF (INIT.NE.0) RETURN
115 C-- Preset parameters in PHOTOS commons
121 C-- Initialization of kinematic correction against rounding errors.
122 C-- Default parameter is 1 (no correction) optionally 2, 3, 4
125 C-- Initialize Marsaglia and Zaman random number generator