How to make ROOT to work with xroot://... TURLs

  • From the ROOT shell: run
root [] gPluginMgr->AddHandler("TFile", "^xroot:", "TXNetFile", "Netx", "TXNetFile(const char*,Option_t*,const char*,Int_t,Int_t,Bool_t)")
  • Via the file $HOME/.rootrc (or $ROOTSYS/etc/system.rootrc to activate it for all users): add the line
+Plugin.TFile:       ^xroot:   TXNetFile    Netx   "TXNetFile(const char*,Option_t*,const char*,Int_t,Int_t,Bool_t)"

Thanks to Gerri Ganis for providing the recipe.

-- AndreaSciaba - 24-Mar-2010

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2010-03-24 - AndreaSciaba
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG 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