|
|
Strip calibration
- Introduction
- IFR stand alone strip calibration is one of the instruments used to evaluate which FECs are either hot or dead
- This kind of calibration is reliable only if there are no beams in the pipe
- During the calibration 120 test pulses are sent to all the FECs
- Pulses sent are of two different kinds
- Positive FECs should reply to 40 pulses
- Negative FECs should reply to 80 pulses
- When a FEC doesn't reply to any of these pulses, we say the FEC is dead
- When a FEC replies to almost all these pulses, we say the FEC is hot
- However there are some Negative FECs that are not hot during normal datataking but reply to the Positive pulses
- From Orc:
- Check that ORC is in INITIAL_STATE
- Inform the pilot you will need to use IFR partitions
- Put the IFR in LOCAL mode
- Log on bbr-farm04 as babarifr
- Make a temporary directory
- Go inside the temporary directory
- Call the perl script $BFROOT/detector/ifr/bin/ifrCalib
- Open the xyplex windows: click on the Open Xyplexes button
- Wait till you see 5 xyplex windows open
- If one of the windows closes, click the Close Xyplexes button, wait untill all the windows are closed and then click Open Xyplexes again
- Dissolve the partition: click on the Dissolve Partition button
- A small window will appear asking for confirmation
- Click the Ok button
- Reboot the partition: click on the Reboot Partition button
- A small window will appear asking for confirmation
- Click the Ok button
- Wait untill the string "Done executing startup script /dataflow/..." appear on all the last four xyplexes window
- Select the Analysis type: strips
- Click on the Run Custom IFR Calibration button
- A window will be opened and some messages will apear
- When the window will be closed, the main Epics pannel will not respond anymore
- You have to wait ~5 minutes and a postscript file will be opened with the calibration results
- Check that the results are the expected ones and then exit form ghostview
- Close the xyplexes: click on the Close Xyplexes button
- Choose the Exit item from the File menu of the main Epics pannel
- Inform the pilot you don't need anymore the IFR partition
- You will have three files in the temporary directory: ifrcalib.xtc, ifrcalib.hbook, ifrcalib.ps
- Use the tcsh script $BFROOT/detector/ifr/bin/moveIfrCalibFiles to automatically rename and move the three files
- They will be zipped and moved in /nfs/bbr-nfs03/detector/ifr/calib/central/xtc, /nfs/bbr-nfs03/detector/ifr/calib/central/hbook, /nfs/bbr-nfs03/detector/ifr/calib/central/ps
respectively
- The name will be something like ifrcalib-custom-yyyy:mm:dd-hh:mm.format.gz
- Remove the temporary directory
- ... If after having started the custom IFR calibration, it does not end
- Use the Emergency Stop button
- The button shoul have appeared
- If it has not appeared call the perl scriot $BFROOT/detector/ifr/bin/emergencyStop
- Click the Cleanup IPC button to kill pending jobs
- Dissolve and reboot the partition
- How to compare two different IFR stand alone strip calibration
- Log on bbr-farm04 as babarifr
- Call $BFROOT/detector/ifr/bin/ifrCalibDiff
- The syntax is ifrCalibDiff [firstFileName] [secondFileName]
- If you omit the second file name the comparison will be done with the most recent strip calibration
- If you omit both file names the comparison will be done between the last two most recent strip calibrations
- Note
- The kumac producing the .ps file is not updated and the labels on the histograms are not correct
- Each page of the .ps file corresponds to a IFB
- Each histogram corresponds to a minicrate connected to the IFB, the order is: the 1st histogram is the minicrate conncted up right, the 2nd one up left, 3rd one down right and 4th one down left
- For any problems on the calibration setup contact the IFR DAQ experts
- For any problems on $BFROOT/detector/ifr/bin/ifrCalibDiff script contact Riccardo Capra
- Documentation
Last modified:
07 March 2007, 09:11:06
For any question, please contact:
| |