massive bosons R distance and pseudorapidity cuts
Hi, im applyng cuts on the process pp>zzz, in particular on the max pseudorapidity of any pair of massive gauge bosons Z and on the minimum distance R between two of them. I wrote the following code to insert in cuts.f
C Cut on Z boson pseudo-rapidity
do i=1,nexternal ! loop over all external particles
if (istatus(i).eq.1 .and. abs(ipdg(i)).eq.23) then
if ( abs(eta(p(0:3,i))) .gt. 2.5 ) then
endif
enddo
C Condition on R2 distance between two Z bosons
do i=1,nexternal ! loop over all external particles
do j=1,nexternal
if (istatus(i).eq.1 .and. istatus(j).eq.1 .and. abs(ipdg(i)).eq.23 .and. abs(ipdg(j)).eq.23) then
enddo
enddo
with only the firt cut it returns me this error:
WARNING: program path/SubProcess
with also the second a very long error with these parts:
gfortran -O -fno-automatic -ffixed-
cuts.f:873:132:
873 | 1 INDEX(I)=I
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
cuts.f:876:132:
876 | IF (MODE) 10,20,30
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:891:132:
891 | 41 INDEX(K) = ISWAP
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1)
cuts.f:905:132:
905 | IF (I2) 3,3,2
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:911:132:
911 | 3 INDEX (I3) = I33
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 3 at (1)
cuts.f:916:132:
916 | IF (N-1) 12,12,5
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:920:132:
920 | IF (I2-N) 7,9,11
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:922:132:
922 | IF (A(I22)-A(I222)) 8,9,9
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:925:132:
925 | 9 IF (AI-A(I22)) 10,11,11
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:946:132:
.......
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
cuts.f:139:25:
139 | if (R2(p(0:
| 1
Error: Function ‘r2’ at (1) has no IMPLICIT type
make: *** [makefile:82: cuts.o] Errore 1
.......
why says that the r2 function has no implicit type?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: