]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ISAJET/code/rejjet.F
Coding rule violations fixed.
[u/mrichter/AliRoot.git] / ISAJET / code / rejjet.F
CommitLineData
0795afa3 1#include "isajet/pilot.h"
2 LOGICAL FUNCTION REJJET()
3C-----------------------------------------------------------------------
4C-
5C- This is called after EVOLVE for TWOJET and DRELLYAN events
6C- to test the partons (jets). REJJET=.FALSE. keeps the event.
7C-
8C-----------------------------------------------------------------------
9#if defined(CERNLIB_IMPNONE)
10 IMPLICIT NONE
11#endif
12#include "isajet/jetset.inc"
13 INTEGER I,IFLAV
14 REJJET=.FALSE.
15C***************************************
16C Sample REJJET function which keeps the event if one of the
17C outgoing partons is a heavy quark.
18C REJJET=.TRUE.
19C DO 1 I=1,NJSET
20C IF(JDCAY(I).NE.0) GO TO 1
21C IFLAV=IABS(JTYPE(I))
22C IF(IFLAV.GE.4.AND.IFLAV.LT.9) THEN
23C REJJET=.FALSE.
24C RETURN
25C ENDIF
26C 1 CONTINUE
27C***************************************
28 RETURN
29 END