Retrieving MC output

Outputs from Monte Carlo simulation are stored on disk at RAL and CERN. This page explains how to access this data.


MC production data is transferred to CERN CASTOR via

and accessible locally on
lxplus> nsls /castor/

Other replicas

To find replicas for a given file, consult this table. Each expanded row will show the following information:


To find other replicas, use the commands

export LFC_HOST=""
lcg-lr LFN
where LFN is something that look like this lfn:/grid/ (see above).

ALERT! Please note that LFC will soon be deprecated and this might not work for long.

Retrieving a file from a remote SE

If you have the LFN or the SRM of a file, the you can use lcg-cp to copy it to your local machine, e.g.

lcg-cp -v srm:// ./pluto_v13_r27584.root
lcg-cp -v lfn:/grid/ pluto_v14_r27792.root

Please remember that in order to use the above grid commands, you must have a valid proxy. To create one, do

voms-proxy-init  -voms
assuming you have a valid grid certificate (i.e. files usercert.pem and userkey.pem in ~/.globus/).

If you see the error message

VOMS server for VO is not known! Check your vomses configuration.
then you need to add the NA62 VO to your vomses configuration:
lxplus> ls ~/.glite/vomses

lxplus> cat ~/.glite/vomses/*
"" "" "15501" "/C=UK/O=eScience/OU=Oxford/L=OeSC/" ""
"" "" "15501" "/C=UK/O=eScience/OU=Imperial/L=Physics/" ""
"" "" "15501" "/C=UK/O=eScience/OU=Manchester/L=HEP/" ""

With this setup, voms-proxy-init  -voms should work. If not, please contact the grid admin.


Abbreviations used above:

  • VO - virtual organisation, e.g. the NA62 VO is called
  • SE - storage element: disk space at a given Grid site
  • LFC - Logical File Catalogue
  • LFN - logical file name: the name of the file in a given LFC
  • VOMS - Virtual Organization Membership Service
  • SRM - Storage Resource Management
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng file.png r1 manage 56.5 K 2016-03-15 - 10:31 DanProtopopescu A row in the 'files' table
Topic revision: r2 - 2016-03-15 - DanProtopopescu
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback