+PATCH,$CORR. +DECK,CORR1. Updates version: 2.04/00 to 2.04/01 +REP,*TITLE*,TITLE,1. BCTRAK 2.04/01 14/02/96 18.15.04 +REP,$VERSION,V2_04,1-2. *CMZU: 2.04/01 14/02/96 18.15.04 by Unknown *CMZU: 2.04/00 24/08/95 16.09.24 by Christian Voelcker *-- Author : Christian Voelcker 24/08/95 * *::> VERSION 2.04/01 14/02/96 18.15.04 * BK * Bugfix for jun 94 data that were contaminated with * lightpulser events. * Events with big forward,backward assymmetry in * (number of xtals) are very likely to contain * a lighpulser flash, or an afterglow of a flash. * * routine bcevck added. * works only for run numbers: 21266-24000. * generates messages: " Cannot find LTBEL bank') ENDIF * forward - backward assymetry for lightpulser rejection. IF ((BXTAL+FXTAL).EQ.0) THEN FBXAS = 0. ELSE FBXAS = FLOAT(FXTAL-BXTAL)/FLOAT(FXTAL+BXTAL) ENDIF FBXAS = ABS(FBXAS) * test the forward-backward assymetry to reject lightpluser flashes, * even if the ppbar annihilation comes shortly after the flash, and * only a few crystals * still show a signal (afterglow). This cut rejects about 1E-5 * normal events (at rest, in LH). * symmetric events get a limit at 390 xtals, * completely asymetric ones at 390-350=40 xtals. * Be careful when looking for missing particles!! IF(IQ(LTBEL+1).GT. 390.-350.*FBXAS ) THEN IFLAG=0 QREJECT = .TRUE. CALL ERRLOG(IERASL, & ' Light pulser flashed ?!!! (assymetry in TBEL)') ENDIF **** check assymetry using information in tben bank ******************* FXTAL = 0 BXTAL = 0 * IF (LTBEN.GT.0) THEN DO I= 1, IQ(LTBEN+1) ICOMP = IQ(LTBEN + 2*I ) * upstream or downstream ? IF (ICOMP.GT.780) THEN BXTAL = BXTAL + 1 ELSE FXTAL = FXTAL + 1 ENDIF ENDDO ELSE IERR=-1 CALL ERRLOG(IERBKN, & ' Cannot find LTBEN bank') ENDIF * forward - backward assymetry for lightpulser rejection. IF ((BXTAL+FXTAL).EQ.0) THEN FBXAS = 0. ELSE FBXAS = FLOAT(FXTAL-BXTAL)/FLOAT(FXTAL+BXTAL) ENDIF FBXAS = ABS(FBXAS) * test the forward-backward assymetry to reject lightpluser flashes, * even if the ppbar annihilation comes shortly after the flash, and * only a few crystals * still show a signal (afterglow). This cut rejects about 1E-5 * normal events (at rest, in LH). * symmetric events get a limit at 390 xtals, * completely asymetric ones at 350-300=50 xtals. * Be careful when looking for missing particles!! IF(IQ(LTBEL+1).GT. 350.-300.*FBXAS ) THEN IFLAG=0 QREJECT = .TRUE. CALL ERRLOG(IERASN, & ' Light pulser flashed ?!!! (assymetry in TBEN)') ENDIF IF(QREJECT) THEN ACCECB=.FALSE. CALL ERRLOG(IERASR, & ' event rejected!! (assymetry in TBEN or TBEL)') ENDIF ENDIF ! end run number check ENDIF ! end if icode=1 RETURN END