atlaslogo

Steve's Notes

DQ2 Data Location & Retrieval


Athena | VP1 | DQ2

Find some data with DQ2 at CERN

See more detailed instructions at WorkBookDQ2 . The DQ2 Dataset Browser provides a web interface. James Catmore's wiki on finding data: DataPreparationReprocessing .

  1. Set up the environmental variables.
    source /afs/cern.ch/atlas/offline/external/GRID/ddm/DQ2Clients/setup.sh
       
  2. Initialize the ATLAS VO proxy.
    voms-proxy-init -voms atlas
       
  3. Search for some Zmumu data
    dq2-ls mc12.\*Zmumu\*
    dq2-ls mc12.\*Zmumu\*RDO\*
    dq2-ls mc12.\*Zmumu\*AOD\*
    dq2-ls -f mc12.005145.PythiaZmumu.genfast.AOD.v12000702
       
  4. Retrieve some data from the grid to castor
    dq2-get /castor/cern.ch/user/g/goldfarb/Analysis/Zmumu mc12.005145.PythiaZmumu.genfast.AOD.v12000702
       

Using AMI to Get Dataset Information

The AMI browser can provide important information about various physics data sets, including what geometry was used in production.

  1. Find the geometry used for valid1.005145.PythiaZmumu.digit.RDO.e322_s483
    • Open AMI in a browser.
    • Enter valid1.005145.PythiaZmumu.digit.RDO.e322_s483 in the top window.
    • Click on "Search Datasets"
    • Click on "Details"

Some Castor Commands

If data has been retrieved to castor, files can be manipulated with a few simple commands. See WorkBookCastor for a listing. Here are some examples:

  1. List a directory
    rfdir /castor/cern.ch/user/g/goldfarb/Analysis/Zmumu
       
  2. Copy a file to/from/within castor
    rfcp /castor/cern.ch/user/g/goldfarb/Analysis/Zmumu/ZmumuPythiaEndCapOnlySim09950.pool.root ~/TestArea
       
  3. Move a file in within castor
    rfrename rfcp /castor/cern.ch/user/g/goldfarb/Analysis/Zmumu/ZmumuPythiaEndCapOnlySim09950.pool.root /castor/cern.ch/user/g/goldfarb/Analysis/Zmumu/StevesFavoriteFile.pool.root
       
  4. Remove a file from castor
    rfrm /castor/cern.ch/user/g/goldfarb/Analysis/Zmumu/StevesFavoriteFile.pool.root
       


Major updates:
-- StevenGoldfarb - 05 Sep 2006 -- StevenGoldfarb - 29 Jan 2009 (made current)
Edit | Attach | Watch | Print version | History: r8 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2009-02-01 - StevenGoldfarb
 
    • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback