-- JianqiaoDeng - 2022-07-13

At this place, I take zmumu as example, you should first get the logicpath of zmumu,

such as /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim10-Up08/42112001/XDIGI

then tarnsform it to physics path and download these xidgi files.



lb-dirac dirac-bookkeeping-get-files --BK /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim10-Up08/42112001/XDIGI --Output=zgg_magdown

cat zgg_magdown | awk '{print "LFN:"$1}' > magdown

//this command will produce pool_xml_catalog.xml

lb-dirac dirac-bookkeeping-genXMLCatalog --File=magdown

grep ROOT_All pool_xml_catalog.xml | awk '{print $3}' | sed "s/\"/\ /g" | awk '{print " - \"" $2"\""}'> final_magdown

vi final_magdown

//add download command to every line

%s/ -/lb-dirac dirac-dms-get-file -/g

mv final_magdown final_magdown.sh

sh final_magdown.sh


These xidgi files are very large, you should download them at /eos/home-X/yourname/.


How to get logical path?

click "DIRAC Portal", Applications->Data->Bookkeeping Browser, then set "simulation condition" to "Event type"

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2022-07-16 - JianqiaoDeng
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 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