The arguments is as follows: the name of histogram file of a noise run, the type of hybrid (p/r), the low limit of total noise, and the upper limit of common mode suppressed noise
The script produces a list of bad channels that are beyond the noise limit
The script also produces following plots
Noise vs electronic channel ID
Noise vs software channel ID, where a channel mapping is used
Noise distribution of all channels
Total noise for inner and outer phi strips
User interactive control is provided on whether or not (y/n) to save the plot into a file or skip (q) all the rest plots. For option (y), user needs to provide file name after the prompt
Script headerAna.C can be used to check signal to noise ratio using header signals
The script can be run by following commands in root:
.L headerAna.C
headerAna("M18P_0607_Noise1.root")
Handling of plots is the same of the first script
The script generates following plots
Signal in last bit of all headers
Average signals (High/Low) in last bits vs link
Difference of High and Low in last bits. The difference corresponds to roughly 66,000 electrons (3 MIPs in 300 um Si)
Average common mode suppressed noise per link vs link
Last bit High/Low difference divided by (3 x noise). The ratio represents real signal to noise ratio of 300 um Si
-- Jianchun Wang - 15 Jun 2006
How to transfer data to Castor The raw data files from DAQ are directly stored on machines with local IP address (eg, velotest.daq.lhcb). The files are copied to a machine on both local and public networks (eg, veloassembly4.daq.lhcb or pcveloassembly4.cern.ch) first, and later copied to CASTOR storage. Two csh scripts are written to make file transfer a little easier.
/home/velo/Velo_File_Trans/cp_data_out. This script should be run on local machine (velotest). It can be called either by online process after the data file is generated, or manually. It uses "scp" to transfer data file to veloassembly4 machine. The syntax is
cp_data_out datafile.bin
/home/data/Velo_File_Trans/cp_2_castor. This script runs on pcveloassembly4 as cron job under "lhcbvelo" username. It checks directory /home/data every ten minutes. If a file with name (*.bin) is at least 5 minutes old, it is copied to CASTOR.
On CASTOR the testbeam data are stored in /castor/cern.ch/lhcb/testbeam/lhcbvelo/2006/Jun_testbeam/bin
-- Jianchun Wang - 19 Jun 2006
How to Run the Tell1 console
1 - log in to your favourite tell1.
2 - run the script startConsole (./startConsole) 3 - press m for monitoring and m again to get the raw data
4 - type the number of the selected ppfpga (the input on the tell1 == ARx == counting from 0 from the top of the crate)
5 - Look at the data.