This is just a short summary how to access the ALFA testbeam data on the grid.

This assumes you already have a grid certificate and are ATLAS-VO member.

At first enable DQ2

source /afs/

and initialize the proxy

voms-proxy-init -voms atlas

Now everything should be ready to use. It is possible to access the raw data and processed data. Let's start with the raw data:

  • List all ALFA datasets
dq2-ls 'alfa*'

  • List all raw ALFA files of the 2009 testbeam
dq2-ls -f alfa09_testbeam_cern.000001.alfa_data.RAW.o1 

  • List all raw Eudet files of the 2009 testbeam
dq2-ls -f alfa09_testbeam_cern.000001.eudet_data.RAW.o1 

  • Download the complete dataset
dq2-get alfa09_testbeam_cern.000001.alfa_data.RAW.o1 

  • Download FILENAME from dataset. Multiple files can be downloaded, separated by commas
dq2-get -f FILENAME alfa09_testbeam_cern.000001.alfa_data.RAW.o1

The processed data can be accessed as follows:

  • To list the files
dq2-ls -L DESY-HH_ALFA -f group.det-alfa.eudet4.NTUP.o2

  • The file names are like

  • To download a file
dq2-get -f group.det-alfa.eudet4.NTUP.o2.xxxx-track-histo.root group.det-alfa.eudet4.NTUP.o2
Where xxxx is the EUDET run number.

  • To write files in GRID (it can require some patience)
    • apply for the role "production" for the VO /atlas/det-alfa
    • dq2 should be already installed in your PC
    • type the command "voms-proxy-init --voms atlas:/atlas/det-alfa/Role=production" and enter your GRID password
    • create a directory e.g. path/datadirectory
    • copy your data (e.g. dataname.ext) in path/datadirectory
    • choose a name for your dataset. This is actually pretty important, since the name must be unique and must satisfy certain conditions...ask IT. Let say for the moment that the name of the dataset is
    • rename your data dataname.ext as
    • copy the files in the GRID scratch area DESY-HH_SCRATCHDISK with the command "dq2-put -C -s path/datadirectory -L DESY-HH_SCRATCHDISK"
    • copy from DESY-HH_SCRATCHDISK to DESY-HH_ALFA with the command "dq2-register-subscription DESY-HH_ALFA"
    • freeze your dataset with command "dq2-freeze-dataset"

Once you froze your dataset you cannot add more files to it and I don't know if you can replace files. Please don't ask me why they did so complicated.....

Compiled from talks from Michele & Dennis

-- FelixPfeiffer - 16-Jul-2010

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2010-08-24 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback