30-Jun-98 JEC
The FD calibrations should be calculated using the initial Z-peak calibration data taken at the beginning of each year. The Gamma catcher pedestals and the dead tube map should be checked, and updated if necessary. The Forward calorimeter ( FK ) calibration is currently calculated online. Offline calibration code is available, but should only be used if the online system fails ( This may happen if a complete quadrant of tubes fails for an extended period )
There are two stages to the operation -
The shift job is a standard FD script stored in ~jec/rope416/fd429/rfdm429.It requires FD dense data as input ( ie DDST ) It uses a private version of the FD library compiled using the *MONI switch, which includes the FxMONI routines.
Events are selected by FFEAD cards
The calibration histogram file is transferred to ~jec/hist when the job finishes.
The following files are required by rfdm429.cra :-
Here is an example of how to submit the calibration script.
The data quality job produces two files -
where XX is the period number, Y the pass number.
First examine the listing file fdm429_XX_Y.lis. Check that enough events have been accepted. Look at summary of REPORT messages.
Transfer the HBOOK file from ~jec/hist/fdm429_XX_Y.hrz to the opal work area /local4/opal_data/fd/odNN where NN=97,98.. the appropriate year. ( Use FTP from shift6.cern.ch )
8 ftp shift6.cern.ch Connected to shift6.cern.ch. 220 shift6.cern.ch FTP server ready. Name (shift6.cern.ch:jec): 331 Password required for jec. Password: 230 User jec logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp ls hist 200 PORT command successful. 150 Opening ASCII mode data connection for 'file list'. hist/odfd83_4.hrz 226 Transfer complete. ftp get hist/odfd83_4.hrz od97/odfd83_4.hrz 200 PORT command successful. 150 Opening BINARY mode data connection for 'hist/odfd83_4.hrz' (339968 bytes). 226 Transfer complete. 339968 bytes received in 0.7 seconds (4.8e+02 Kbytes/s) ftp bye 221 Goodbye.
NB od97 is a link from ~jec/paw/fd/od to opal_data/fd/od97
The calibration data is analysed using PAW; the analysis macros are stored on ax8, in ~opal/offline_paw/fd/calibration. To perform the analysis, log in as opal, then
op> cd offline_paw op> paw ****************************************************** * * * W E L C O M E to P A W * * * * Version 2.09/18 19 March 1998 * * * ****************************************************** Workstation type (?=HELP) <CR>=1 : 5 Version 1.23/09 of HIGZ started pawlogon.kumac 27-Feb-98, U**x 1. 15: return PAW > exec goto_cal 1. 1: Macro goto_cal 1. 2: *= Set directory & command path for od analysis 1. 3: * 1. 4: lcdir fd/cal Local directory is /local1/users/opal/offline_paw/fd/cal 1. 5: def .,../.. Macro search order is Command 1. 6: * 1. 7: trace off
This sets the correct directory, and starts a Panel mode ( Style GP ) dialog in the graphics window. This is designed to be self explanitory , but anyway…
Click on one of the left hand boxes labelled File1, File2, File3… to select the file listed in the ajacent box in the right hand column. Do not click in the column headre boxes, silly..
If the file name is standard ( xxxx_yy_z ), then the period number yy and pass number z will be automatically set, and displayed as the panel heading. If the heading is wrong, or you perversely want to change them anyway, click the boxes 'Period' or 'Pass' to be prompted for a new value. Click OK to continue
Do just that. The calorimeter analysis has not been used for some time, but might be useful in emergency
The TZ ( title ) package is part of Zebra. It reads cards and places the data in Zebra banks of the specified length, which can then be copied to the calibration data structure.
The comment cards at the beginning of the deck should be updated when it is changed; the first bank 'FDUP' passes the name of the updater and a brief ( 20-character ) comment to the OPCAL database, and must be present.
There are 3 types of tube chamber bank :-
*DO FBCS 1 -iI -n6 10 9000 1 10 9999 99999999
Note that the bank ordering is significant; the quadrant and side number of a plane bank are determined by the preceeding FBCQ, FBCS banks.
To update the tube map, change the appropriate 1.0 to 0.0. In general, tubes deemed to be dead should not be resurrected, since they tend to fail again later.
If an entire plane or quadrant is dead, the map shold NOT be updated. No purpose is served, since no clusters can be reconstructed, and the problem ( gas or HT ) will hopefully be fixed.
There are 3 types of Gamma catcher title bank :-
There is a shift job ~/rope416/opcal_updt which converts the title ( cards ) file into an RZ file, which can be submittted to the automatic update proceedure.