This is an old revision of the document!
in Ganga when the job has completed do:
jobs(jobnumber).subjobs(subjobnumber).backend.getOutputData()
that gives you a logical filename (LFN):
['/lhcb/user/myInitial/myUsername/diracSlice/DiracJobID/filename.root']
The data will end up in the SE closest to the location where your job did run.
To find out on which SE your file actually is, execute the following commands on lxplus:
SetupProject Dirac dirac-dms-lfn-replicas /lhcb/user/myInitial/myUsername/diracSlice/DiracJobID/filename.root
there you get back for instance the following:
2009-07-29 12:10:41 UTC dirac-dms-lfn-replicas.py/DiracAPI INFO: Replica Lookup Time: 96.89 seconds {'Failed': {}, 'Successful': {'/lhcb/user/a/abuechle/4125/4125675/bsKK_23July09.root': {'RAL-USER': 'srm://srm-lhcb.gridpp.rl.ac.uk/castor/ads.rl.ac.uk/prod/lhcb/user/a/abuechle/4125/4125675/bsKK_23July09.root'}}}
so the file is on RAL at at the srm address: 'srm:srm-lhcb.gridpp.rl.ac.uk/castor/ads.rl.ac.uk/prod/lhcb/user/a/abuechle/4125/4125675/bsKK_23July09.root'.