QUTRWT




Introduction

All ALEPH events are triggered by one or more trigger. The names and definitions of these trigger bits changes with time. Certain triggers are downscaled by the level 2 hardware. Certain other triggers are downscaled by the level 3 software. In order to analyse ALEPH data it is therefore necessary to reweight these downscaled events appropriately.This is what QUTRWT allows you to do.

Calling QUTRWT

The routine QUTRWT is called with 5 arguments:

CALL QUTRWT(IDEB2,AL2WT,IDEB3,AL3WT,TINT)

IDEB2INPUTDebug flag for level 2 routine QUL2WT
AL2WTOUTPUTWeight for event to allow for LEVEL 2
IDEB3INPUTDebug flag for level 3 routine QUL2WT
AL3WTOUTPUTWeight for event to allow for LEVEL 2
TINTOUTPUTArray of set bits in order of names - see below

The debug levels controlled by IDEB2 and IDEB3 are:

0 NONE
1 WARNINGS
2 INFORMATION
3 VERBOSE

The order of the named bits returned in TINT is:

SNG_N_EL 1 SNG_C_E2 2 TRK_CNT2 3 SNG_N_EC 4 DBL_C_E2 5 SNG_MUON 6
SNG_C_EM 7 LW_ET_HI 8 LW_A+BVH 9 ETT_EWEA 10 ETT_EWEB 11 ETT_EWE* 12
ETT_EWBA 13 RNDM_TST 14 SiCAL_ME 15 TAG_SNGC 16 RNDM_TRG 17 LW_LO_HI 18
LW_A+BLO 19 LCW_A_LO 20 LCW_B_LO 21 BCAL_TRG 22

Control CARDS

In addition the control cards NL3W, and NL2W disable level 3 and level 2 weight calculation. If they exist in the cards file read by the program then the corresponding weighting is not calculated, but TINT is always filled.

Source, and Example

The source of QUTRWT can be found here. The following is an example of calling QUTRWT.



      INTEGER TINT(32),IDEB2,IDEB3
      REAL AL2WT,AL3WT

       DATA IDEB2/3/,IDEB3/3/



       CALL  QUTRWT(IDEB2,AL2WT,IDEB3,AL3WT,TINT)


      CALL HFILL(1,X,Y,AL2WT*AL3WT)

Any problems should be addressed to the author Alex Finch .