Login to db831
do a setup global:
>seup global
run global:
>global
click on monda
click on fc831
if the scheduler is running for fc831, click on stop, and then click on kill. Then click on c1_ped, then click start. Now the scheduler is also running for c1_ped. At this point the monda pedestal data is being written on /monda/cerenkov/c1/data/ directory.
How to analyse the pedestal data:
login to db831
The program to run to analuze the monda pedestal data is:
>>/nfs-home/mount/arahimi/c1_online/ped_las/src/main_ped_las.exe
you will be prompt to answer the following:
Enter Mode. 0: Interactive. 1: Batch:
enter: 1
Enter PED or LED Mode.
enter PED
Enter 0: To Make New Ref. File. 1: To Read Old Ref. File.:
Enter: 0
Now the data files in /monda/cerenkov/c1/data/ are being anayzed.
To look at the results while the program is running run histo:
>histo &
and connect to the proper process. Then one can look at the out of
the results for the individual channels, the mean and standard deviations.
The process creates a .ref file in /monda/cerenkov/c1/c1_ped_ref/ directory, and a hbook file in /monda/cerenkov/c1/c1_hbk_dat/ direcroy after 60 data files are analyzed. What this implies is that you need to let the monda run long enough to create 60 files, this is about one hour of monda running.
After 60 files are created/analyzed stop the monda for c1_ped.
How to determine the hardware supression from the monda data:
Change the directory to: /monda/cerenkov/c1/src/adc/
Run c1_adc_thr
>c1_adc_thr
you will be prompted for the name of a refrence file, i.e. the .ref file that has just been created. Enter it and return.
the file ped_thr.dat is now created. This is the pedestal supression point data for C1. Now this needs to be put in the e831 data base.
How to load the data base: I have written a C program that enables me to perform complicated queries to the mSQL database engine and retrieve and manipulate data without interactively connecting to the data base. All that needs to be done is to run this program for the data base to be loaded.
Login to da831
run /nfs-home/mount/arahimi/ped/updates/upmsql
This will analyze ped_thr.dat, read in the pedestal data from the data base and update the data base as necessary.