1 #include "isajet/pilot.h"
2 LOGICAL FUNCTION REJJET()
3 C-----------------------------------------------------------------------
5 C- This is called after EVOLVE for TWOJET and DRELLYAN events
6 C- to test the partons (jets). REJJET=.FALSE. keeps the event.
8 C-----------------------------------------------------------------------
9 #if defined(CERNLIB_IMPNONE)
12 #include "isajet/jetset.inc"
15 C***************************************
16 C Sample REJJET function which keeps the event if one of the
17 C outgoing partons is a heavy quark.
20 C IF(JDCAY(I).NE.0) GO TO 1
21 C IFLAV=IABS(JTYPE(I))
22 C IF(IFLAV.GE.4.AND.IFLAV.LT.9) THEN
27 C***************************************