Create list of data files for ND280 runs

From LHEP Wiki
Jump to navigation Jump to search

To create list of oaAnalysis files for ND280 runs, use the following commands:

voms-proxy-init --voms t2k.org
export LFC_HOST=lfc.gridpp.rl.ac.uk
lfc-ls /grid/t2k.org/nd280/production005/F/mcp/neut/2010-02-water/magnet/beama/anal | sed -e "s_^_/production005/F/mcp/neut/2010-02-water/magnet/beama/anal/_" > list_run1
lfc-ls /grid/t2k.org/nd280/production005/F/mcp/neut/2010-11-water/magnet/beamb/anal | sed -e "s_^_/production005/F/mcp/neut/2010-11-water/magnet/beamb/anal/_" > list_run2a
lfc-ls /grid/t2k.org/nd280/production005/F/mcp/neut/2010-11-air/magnet/beamb/anal | sed -e "s_^_/production005/F/mcp/neut/2010-11-air/magnet/beamb/anal/_" > list_run2b
lfc-ls /grid/t2k.org/nd280/production005/F/mcp/neut/2010-11-air/magnet/beamc/anal | sed -e "s_^_/production005/F/mcp/neut/2010-11-air/magnet/beamc/anal/_" > list_run3
lfc-ls /grid/t2k.org/nd280/production005/F/mcp/neut/2010-11-water/magnet/beamc/anal | sed -e "s_^_/production005/F/mcp/neut/2010-11-water/magnet/beamc/anal/_" > list_run4

The directories on the grid for each run can be found on the t2k.org webpage: [1]

Please note that the files replicated to our SE are not enlisted in the LFC file catalogue, so they cannot be found using lfc-lr. By convention, the files are mirrored into the following directory: "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/t2k.org". Just append the file names as in the list file to this directory name. You can also list files on our SE using lcg-ls, but this command has its limitations.