The University of Liverpool

VELO Module Laser Test Software


Contents

top home

Quick Start

This is how you run the laser test analysis after finishing the the laser scan for a sensor. As an example let's assume you just tested the R sensor of hybrid 59:

That's all. The analysis should take 20-30 seconds. If it is much faster something is wrong and you might consider running with a high verbosity setting and reporting the problem to me.

top home

For the more patient

What it does

The software described here is for the laser test analysis and only for the laser test analysis. If you need to produce noise and pedestal data the noise analysis page is what you want.

The laser test analysis does the following:

Setting it up

The software is installed on lhcbfe in /hcb2/user/labdata/laser_test. The installation will be kept up to date by me. All you have to do to setup the environment for the laser test analysis is this:

You only have to this once per login to lhcbfe.

Command line interface

The interface you use when running the analysis is the wrapper script 'ltana'. It provides several options to set output directories, switching on/off certain functionality and so on. After setting up the environment properly (see above), the script (as well as all executables it uses) will be in your path. Just type 'ltana' to run it. If you run it without arguments or with the '-help' switch it will print a list of the available options. The order of the command line options does not matter. Two of them are mandatory, '-hybrid' and '-sensor'. So the most simple command line for analysing laser test data is

In normal operation this is all you need. The script will determine input and output locations from the hybrid number and sensor. You do not have to worry about moving the result in the proper location. After 20-30 seconds the analysis should finish and the data base will find the results where expexted.

In case things go wrong, e.g. the analysis is suspicously fast, you might want to try some of the available options in order to identify the source of problem:

top home

File Check Utility

There is a small utility program available that allows to check a file produced by the laser test for validity. A file is considered ok if

Here is how you run it:

And some example output:

[rinnert@LHCbFE Sensor]$ ltfilecheck laser_test_adc0_pos0_strip_27.bin R

Output from binary decoder:
===========================

LAST EVENT

Summary:
========

Events in file: 97 --> Ok.
Nominal signal position:   1690.5
Estimated signal position: 1691.05 --> Ok.
    
top home