Ntuple Production At TTU
First login to
lxplus
and
setup you dream GRID account then login to
antaeus
gsissh hugin.hpcc.ttu.edu -p 49922
move to the directory where the myDaq2Ntu program resides
cd /lustre/hep/osg/dream/Ntuple_gen/DreamDaq/decode
Note date is generally sorted by year, for example
/lustre/hep/osg/dream/2014/storage/
so check the directory needed for the current or applicable year.
source the setup scripts and set your input and output folders
source setup4myDaq2Ntu_running.sh
source setuproot.sh 5.30.01
export DATADIR=/home/GRIDUSERS/dreamdaq/dream/working_bak
export NTUPLEDIR=/home/GRIDUSERS/dreamdaq/dream/Ntuple_gen/ntuples/test
you can use the
gen_ntuple.py
script, e.g.
gen_ntuple.py 5399
create the ntuple for run 5399
gen_ntuple.py 5399 - 5500
create ntuples for all runs between 5399 and 5500
gen_ntuple.py 5399 5400 5899
create ntuples for all the listed runs
Note for runs between 4700 and 5284
Runs between 4909 and 5055 were taken with a faulty DRS setting and are useless (as far as the DRS is concerned).
Runs taken in July before the 5284 suffer from a DRS misalignment problem. The issued has been solved offline and the corresponding files can be found in
/home/GRIDUSERS/dreamdaq/working_bak/corrected
. To use this folder you can, for instance, do the following
export DATADIR=/home/GRIDUSERS/dreamdaq/dream/working_bak/corrected
Compiling myDaq2Ntu
If you have made any modifications to myDaq2Ntu.c you'll need to recompile it. First setup the include directories
source setup4myDaq2Ntu_running.sh
then compile it with
make
--
MicheleCascella - 09-Sep-2011
Setting up input and output directories
How to use setup_input_output.sh script (This script helps you set the input and output directories)
source setup_input_out.sh
: This script will set the default paths for the input and output directories.
source setup_input_out.sh /input/path /output/path
: If you specify two arguments, the first argument will be the input path and the second will be the output path.
--
SehwookLee - 09-Sep-2011