Warning, file /LQGENEP/LQguser.f was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005 Program LQGUSER
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 ! Implicit None
0016
0017
0018 IMPLICIT DOUBLE PRECISION(A-H, O-Z)
0019 IMPLICIT INTEGER(I-N)
0020 INTEGER PYK,PYCHGE,PYCOMP
0021
0022
0023 double precision mass,cross_max,
0024 > ptnt,phnt,ptt,pht,pth,phh,
0025 > ppnt,ppt,pph,
0026 > ptx,pty,ptz,phx,phy,phz,
0027 > ptid,phid,ppid,pxid,pyid,pzid,lam,
0028 > q2min
0029
0030 integer lqtype,Nevt,qi,qj,iproc,id,
0031 > Nevtdown,Nevtup
0032 logical first
0033 data first /.true./
0034 save first
0035
0036
0037
0038 COMMON/PYDATR/MRPY(6),RRPY(100)
0039 COMMON/PYPARS/MSTP(200),PARP(200),MSTI(200),PARI(200)
0040
0041
0042 double precision BEAMPAR,LQGPAR3
0043 integer LQGPAR1,LQGPAR2
0044 CHARACTER*256 out_file
0045 character*4 j_string
0046 COMMON/LQGDATA/BEAMPAR(3),LQGPAR1(10),LQGPAR2(10),LQGPAR3(20),
0047 > out_file
0048
0049
0050 double precision LQGKPAR,LQGDDX
0051 integer LQGPID
0052 COMMON/LQGEVT/LQGKPAR(3),LQGDDX(3),LQGPID(3)
0053
0054 integer NeV,i,j,N_tot,N_div
0055
0056
0057
0058 OPEN(UNIT=22,FILE='inputfile',STATUS='OLD')
0059
0060 Read(22,*)Nevt,Mass,lqtype,beampar(2),beampar(3),
0061 > q2min,xmin,xmax,ymin,ymax,qi,qj
0062 Read(22,*)out_file
0063 close(22)
0064
0065
0066
0067
0068
0069 MRPY(1) = 1*10000
0070
0071
0072
0073 iproc=0
0074
0075 cross_max=7.d-15
0076
0077
0078
0079 beampar(1)=-1. ! electron
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090 lqgpar1(1)=Nevt
0091
0092 lqgpar1(2)=0
0093
0094 lqgpar1(3)=1
0095
0096 lqgpar1(4)=0
0097
0098
0099 lqgpar1(5)=iproc
0100
0101 lqgpar2(1)=lqtype
0102
0103 lqgpar2(2)=qi
0104
0105 lqgpar2(3)=qj
0106
0107 lqgpar2(4)=3
0108
0109 lqgpar3(1)=Mass
0110
0111 lqgpar3(2)=0.3
0112
0113
0114 lqgpar3(3)=0.3
0115
0116 lqgpar3(4)=xmin
0117
0118 lqgpar3(5)=xmax
0119
0120 lqgpar3(6)=ymin
0121
0122 lqgpar3(7)=ymax
0123
0124 lqgpar3(8)=q2min
0125
0126 lqgpar3(9)=1.
0127
0128 lqgpar3(10)=4.
0129
0130 lqgpar3(11)=32.
0131
0132 lqgpar3(12)=cross_max
0133
0134
0135
0136
0137
0138
0139
0140
0141
0142
0143 call LQGENEP(Nevt,0)
0144
0145 Nev=lqgpar1(1)
0146
0147
0148
0149 do i=1,Nevt
0150
0151
0152
0153
0154
0155 call LQGENEP(Nevt,1)
0156
0157
0158 enddo
0159
0160
0161
0162 call LQGENEP(Nevt,2)
0163
0164 stop
0165 end
0166
0167
0168