2 *###################################################################
3 *# EPOS 1.67 K. WERNER, T. PIEROG, S. PORTEBOEUF. #
4 *# Contact: werner@subatech.in2p3.fr #
5 *###################################################################
9 * Definitions of common blocks
11 * Author: Piotr Ostrowski, postrow@if.pw.edu.pl
17 #ifndef __CFORTRAN_LOADED
28 //--------------------------------------------------------------------------
29 // epos event common block
30 //---------------------------------------------------------------------------
32 // common/cevt/phievt,nevt,bimevt,kolevt,koievt,pmxevt,egyevt,npjevt
33 // *,ntgevt,npnevt,nppevt,ntnevt,ntpevt,jpnevt,jppevt,jtnevt,jtpevt
34 // *,xbjevt,qsqevt,nglevt,zppevt,zptevt,minfra,maxfra
36 // nevt .......... error code. 1=valid event, 0=invalid event
37 // bimevt ........ absolute value of impact parameter
38 // phievt ........ angle of impact parameter
39 // kolevt ........ number of collisions
40 // koievt ........ number of inelastic collisions
41 // pmxevt ........ reference momentum
42 // egyevt ........ pp cm energy (hadron) or string energy (lepton)
43 // npjevt ........ number of primary projectile participants
44 // ntgevt ........ number of primary target participants
45 // npnevt ........ number of primary projectile neutron spectators
46 // nppevt ........ number of primary projectile proton spectators
47 // ntnevt ........ number of primary target neutron spectators
48 // ntpevt ........ number of primary target proton spectators
49 // jpnevt ........ number of absolute projectile neutron spectators
50 // jppevt ........ number of absolute projectile proton spectators
51 // jtnevt ........ number of absolute target neutron spectators
52 // jtpevt ........ number of absolute target proton spectators
53 // xbjevt ........ bjorken x for dis
54 // qsqevt ........ q**2 for dis
55 // sigtot ........ total cross section
56 // nglevt ........ number of collisions acc to Glauber
57 // zppevt ........ average Z-parton-proj
58 // zptevt ........ average Z-parton-targ
65 Float_t pmxevt,egyevt;
66 Int_t npjevt,ntgevt,npnevt,nppevt,ntnevt,ntpevt,jpnevt,jppevt,jtnevt,jtpevt;
67 Float_t xbjevt,qsqevt;
69 Float_t zppevt,zptevt;
73 #define cevt COMMON_BLOCK(cevt,cevt)
74 COMMON_BLOCK_DEF(CevtCommon,cevt);
76 //---------------------------------------------------------------------------
77 // epos particle list common block
78 //---------------------------------------------------------------------------
80 // common/cptl/nptl,pptl(5,mxptl),iorptl(mxptl),idptl(mxptl)
81 // *,istptl(mxptl),tivptl(2,mxptl),ifrptl(2,mxptl),jorptl(mxptl)
82 // *,xorptl(4,mxptl),ibptl(4,mxptl),ityptl(mxptl)
83 // common/c1ptl/itsptl(mxptl)
85 // nptl .......... current particle index (=number of ptls stored)
86 // idptl(i) ...... particle id
87 // pptl(1,i) ..... x-component of particle momentum
88 // pptl(2,i) ..... y-component of particle momentum
89 // pptl(3,i) ..... z-component of particle momentum
90 // pptl(4,i) ..... particle energy
91 // pptl(5,i) ..... particle mass
92 // iorptl(i) ..... particle number of father (if .le. 0 : no father)
93 // jorptl(i) ..... particle number of mother (if .le. 0 : no mother)
94 // istptl(i) ..... status: 40 and 41 : Remnant
95 // 30 and 31 : Pomeron
97 // 10 and 11 : Droplet
98 // 00 and 01 : Particle
99 // last digit = 0 : last generation
100 // last digit = 1 : not last generation
101 // xorptl(1,i) ... x-component of formation point
102 // xorptl(2,i) ... y-component of formation point
103 // xorptl(3,i) ... z-component of formation point
104 // xorptl(4,i) ... formation time
105 // tivptl(1,i) ... formation time (always in the pp-cms!)
106 // tivptl(2,i) ... destruction time (always in the pp-cms!)
107 // ityptl(i) .... type of particles origin:
112 // 50: string, droplet
113 // itsptl(i) ..... string type of particles origin (if string)
114 // common/cptl/nptl,pptl(5,mxptl),iorptl(mxptl),idptl(mxptl)
115 // *,istptl(mxptl),tivptl(2,mxptl),ifrptl(2,mxptl),jorptl(mxptl)
116 // *,xorptl(4,mxptl),ibptl(4,mxptl),ityptl(mxptl)
120 Float_t pptl[MXPTL][5];
124 Float_t tivptl[MXPTL][2];
125 Int_t ifrptl[MXPTL][2];
127 Float_t xorptl[MXPTL][4];
128 Int_t ibptl[MXPTL][4];
132 #define cptl COMMON_BLOCK(cptl,cptl)
133 COMMON_BLOCK_DEF(CptlCommon,cptl);
139 #define clpt COMMON_BLOCK(clpt,clpt)
140 COMMON_BLOCK_DEF(ClptCommon,clpt);
142 /*=========================*/
143 /*common/copen/nopen,nopenr*/
144 /*-------------------------*/
150 #define copen COMMON_BLOCK(copen,copen)
151 COMMON_BLOCK_DEF(CopenCommon,copen);
153 /*================================================================*/
154 /*common/prnt1/iprmpt,ish,ishsub,irandm,irewch,iecho,modsho,idensi*/
155 /*----------------------------------------------------------------*/
157 Int_t iprmpt, ish, ishsub, irandm, irewch, iecho, modsho, idensi;
160 #define prnt1 COMMON_BLOCK(prnt1,prnt1)
161 COMMON_BLOCK_DEF(Prnt1Common,prnt1);
163 /*========================*/
164 /*common/appli/iappl,model*/
165 /*------------------------*/
170 #define appli COMMON_BLOCK(appli,appli)
171 COMMON_BLOCK_DEF(AppliCommon,appli);
173 /*=========================================*/
174 /*common/enrgy/egymin,egymax,elab,ecms,ekin*/
175 /*-----------------------------------------*/
177 Float_t egymin, egymax, elab, ecms, ekin;
180 #define enrgy COMMON_BLOCK(enrgy,enrgy)
181 COMMON_BLOCK_DEF(EnrgyCommon,enrgy);
183 /*=============================================*/
184 /*common/lept1/engy,elepti,elepto,angmue,icinpu*/
185 /*---------------------------------------------*/
187 Float_t engy,elepti,elepto,angmue;
191 #define lept1 COMMON_BLOCK(lept1,lept1)
192 COMMON_BLOCK_DEF(Lept1Common,lept1);
194 /*=====================================================*/
195 /*common/ebin/noebin,engmin,engmax,nrebin,iologe,iologl*/
196 /*-----------------------------------------------------*/
199 Float_t engmin,engmax;
200 Int_t nrebin,iologe,iologl;
203 #define ebin COMMON_BLOCK(ebin,ebin)
204 COMMON_BLOCK_DEF(EbinCommon,ebin);
206 /*==========================================*/
207 /*common/events/nevent,nfull,nfreeze,ninicon*/
208 /*------------------------------------------*/
210 Int_t nevent,nfull,nfreeze,ninicon;
213 #define events COMMON_BLOCK(events,events)
214 COMMON_BLOCK_DEF(EventsCommon,events);
216 /*=============================================*/
217 /*common/sprio/ispherio,icotabm,icotabr,icocore*/
218 /*---------------------------------------------*/
220 Int_t ispherio,icotabm,icotabr,icocore;
223 #define sprio COMMON_BLOCK(sprio,sprio)
224 COMMON_BLOCK_DEF(SprioCommon,sprio);
226 /*============================================================*/
227 /*common/accum/imsg,jerr(mxjerr),ntevt,nrevt,naevt,nrstr,nrptl*/
228 /*------------------------------------------------------------*/
230 Int_t imsg,jerr[MXJERR],ntevt,nrevt,naevt,nrstr,nrptl;
233 #define accum COMMON_BLOCK(accum,accum)
234 COMMON_BLOCK_DEF(AccumCommon,accum);
236 /*==================================================================*/
237 /*common/othe1/istore,istmax,gaumx,irescl,ntrymx,nclean,iopdg,ioidch*/
238 /*------------------------------------------------------------------*/
242 Int_t irescl,ntrymx,nclean,iopdg,ioidch;
245 #define othe1 COMMON_BLOCK(othe1,othe1)
246 COMMON_BLOCK_DEF(Othe1Common,othe1);
248 /*========================================*/
249 /*common/othe2/ifrade,iframe,idecay,jdecay*/
250 /*----------------------------------------*/
252 Int_t ifrade,iframe,idecay,jdecay;
255 #define othe2 COMMON_BLOCK(othe2,othe2)
256 COMMON_BLOCK_DEF(Othe2Common,othe2);
262 /*====================================================*/
263 /*common/nucl1/laproj,maproj,latarg,matarg,core,fctrmx*/
264 /*----------------------------------------------------*/
266 Int_t laproj,maproj,latarg,matarg;
270 #define nucl1 COMMON_BLOCK(nucl1,nucl1)
271 COMMON_BLOCK_DEF(Nucl1Common,nucl1);
273 /*========================================*/
274 /*common/nucl2/bmaxim,bminim,phimax,phimin*/
275 /*----------------------------------------*/
277 Float_t bmaxim,bminim,phimax,phimin;
280 #define nucl2 COMMON_BLOCK(nucl2,nucl2)
281 COMMON_BLOCK_DEF(Nucl2Common,nucl2);
283 /*==============================================================*/
284 /* character*80 fnch,fnhi,fndt,fnii,fnid,fnie,fnrj,fnmt
285 * ,fngrv,fncp,fnnx,fncs,fndr,fnhy
286 common/fname/ fnch, fnhi, fndt, fnii, fnid, fnie, fnrj, fnmt*/
287 /*--------------------------------------------------------------*/
289 char fnch[80], fnhi[80], fndt[80], fnii[80], fnid[80], fnie[80], fnrj[80];
290 char fnmt[80], fngrv[80], fncp[80], fnnx[80], fncs[80], fndr[80], fnhy[80];
293 #define fname COMMON_BLOCK(fname,fname)
294 COMMON_BLOCK_DEF(FnameCommon,fname);
296 /*=============================================================*/
297 /*common/nfname/nfnch,nfnhi,nfndt,nfnii,nfnid,nfnie,nfnrj,nfnmt*/
298 /**,nfngrv,nfncp,nfnnx,nfncs,nfndr,nfnhy */
299 /*-------------------------------------------------------------*/
301 Int_t nfnch,nfnhi,nfndt,nfnii,nfnid,nfnie,nfnrj,nfnmt;
302 Int_t nfngrv,nfncp,nfnnx,nfncs,nfndr,nfnhy;
305 #define nfname COMMON_BLOCK(nfname,nfname)
306 COMMON_BLOCK_DEF(NfnameCommon,nfname);
308 /*character*80 fndat,fnncs,fnIIdat,fnIIncs*/
309 /*============================================*/
310 /*common/qgsfname/ fndat, fnncs, ifdat, ifncs*/
311 /*--------------------------------------------*/
313 char fndat[80], fnncs[80];
317 #define qgsfname COMMON_BLOCK(qgsfname,qgsfname)
318 COMMON_BLOCK_DEF(QgsfnameCommon,qgsfname);
320 /*====================================================*/
321 /*common/qgsIIfname/fnIIdat, fnIIncs, ifIIdat, ifIIncs*/
322 /*----------------------------------------------------*/
324 char fnIIdat[80], fnIIncs[80];
325 Int_t ifIIdat, ifIIncs;
328 #define qgsiifname COMMON_BLOCK(qgsiifname,qgsiifname)
329 COMMON_BLOCK_DEF(QgsIIfnameCommon,qgsiifname);
331 /*================================*/
332 /*common/qgsnfname/ nfndat, nfnncs*/
333 /*--------------------------------*/
335 Int_t nfndat, nfnncs;
338 #define qgsnfname COMMON_BLOCK(qgsnfname,qgsnfname)
339 COMMON_BLOCK_DEF(QgsnfnameCommon,qgsnfname);
341 /*======================================*/
342 /*common/qgsIInfname/ nfnIIdat, nfnIIncs*/
343 /*--------------------------------------*/
345 Int_t nfnIIdat, nfnIIncs;
348 #define qgsiinfname COMMON_BLOCK(qgsiinfname,qgsiinfname)
349 COMMON_BLOCK_DEF(QgsIInfnameCommon,qgsiinfname);
351 /*================================*/
352 /*parameter(mxnody=200) */
353 /*common/nodcy/nrnody,nody(mxnody)*/
354 /*--------------------------------*/
357 Int_t nrnody, nody[MXNODY];
360 #define nodcy COMMON_BLOCK(nodcy,nodcy)
361 COMMON_BLOCK_DEF(NodcyCommon,nodcy);
363 /*===============================================================*/
364 /*common/hadr3/iregge,isopom,ishpom,iscreen,nprmax,inueff,irmdrop*/
365 /*---------------------------------------------------------------*/
367 Int_t iregge,isopom,ishpom,iscreen,nprmax,inueff,irmdrop;
370 #define hadr3 COMMON_BLOCK(hadr3,hadr3)
371 COMMON_BLOCK_DEF(Hadr3Common,hadr3);
373 /*===============================================================*/
374 /*common/hadr4/alppom,slopom,gamhad(4),r2had(4),chad(4),wdiff(4) */
375 /*& ,gamtil,facdif,r2hads(4),gamhads(4),slopoms,isplit*/
376 /*---------------------------------------------------------------*/
378 Float_t alppom,slopom,gamhad[4],r2had[4],chad[4],wdiff[4];
379 Float_t gamtil,facdif,r2hads[4],gamhads[4],slopoms;
383 #define hadr4 COMMON_BLOCK(hadr4,hadr4)
384 COMMON_BLOCK_DEF(Hadr4Common,hadr4);
386 /*================================================*/
387 /*common /psar5/ qcdlam,q2min,q2ini,q2fin,pt2cut,*/
388 /**betpom,glusea,naflav,alfe */
389 /*------------------------------------------------*/
391 Float_t qcdlam,q2min,q2ini,q2fin,pt2cut,betpom,glusea;
396 #define psar5 COMMON_BLOCK(psar5,psar5)
397 COMMON_BLOCK_DEF(Psar5Common,psar5);
399 /*===========================*/
400 /*common/hadr17/edmaxi,epmaxi*/
401 /*---------------------------*/
403 Float_t edmaxi,epmaxi;
406 #define hadr17 COMMON_BLOCK(hadr17,hadr17)
407 COMMON_BLOCK_DEF(Hadr17Common,hadr17);
409 /*======================================================*/
410 /*common/frag1/ndecay,maxres,pud,pudk,pudr,strcut,diqcut*/
411 /*------------------------------------------------------*/
413 Int_t ndecay, maxres;
414 Float_t pud,pudk,pudr,strcut,diqcut;
417 #define frag1 COMMON_BLOCK(frag1,frag1)
418 COMMON_BLOCK_DEF(Frag1Common,frag1);
420 /*==================================*/
421 /*double precision seedi,seedj,seedc*/
422 /*common/cseed/seedi,seedj,seedc */
423 /*----------------------------------*/
425 Double_t seedi,seedj,seedc;
428 #define cseed COMMON_BLOCK(cseed,cseed)
429 COMMON_BLOCK_DEF(CseedCommon,cseed);
432 #endif /* EPOSCOMMON_H_ */