How to convert the data files
For normal use there is no need of converting the data files as you can find them already on castor. Just follow the instruction given at
WhereTofindthem.
Do it yourself: get the program and the scripts
In case you really need to convert yourself, for example to select a specific number or range of events, then:
- Create a data/ directory where you want to do the conversion
- For ALFA data: create a data/rz directory in the same location (or a rz/ subdirectory in data/)
- For LUCID data: create a data/rz/lucid/ directory in the same location (or a rz/lucid/ subdirectory in data/)
- be sure to download the conversion program (binary): convscifi.run
AND
- be sure to download the lumiconvert script (ALFA data): lumiconvert
- be sure to download the get_run_alfa script (ALFA data): get_run_alfa
OR
- be sure to download the lucidconvert script (LUCID data): lucidconvert
- be sure to download the get_run_alfa script (ALFA data): get_run_lucid
Do it yourself: run the scripts
If you trust Beniamino's scripts:
- for ALFA data - just run the get_run_alfa script with the run number as argument
|my prompt> get_run_alfa XYZ
This script will fetch automatically for you the run_XYZ.dat file from castor and convert it to run_XYZ.rz file. The file will be in the data/rz/ directory
- for LUCID data - just run the get_run_lucid script with the run number as argument
|my prompt> get_run_lucid ZYX
This script will fetch automatically for you the run_ZYX.dat file from castor and convert it to run_ZYX.rz file. The file will be in the data/rz/ directory
If you instead have a different need you need to use the
convscifi.run program directly.
This program can be used in this way:
usage: ./convscifi.run [-n<events> -h --test] [--rp|--lucid] -i<Data File> -o<Histogram File>
for example:
|myprompt> ./convscifi.run -n 1000 --lucid -irun_ZYX.dat -orun_ZYX.rz
will do the job. However you need to have the .dat file fetched by yourself from CASTOR (see
WhereTofindthem). The .rz file will be created in data/rz/. Please notice that while the get_run_xyz script removes the .dat file automatically, if you run manually you will have to do it yourself.
--
BeniaminoDiGirolamo - 05 Dec 2005