GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » AddFriend
Re: AddFriend [message #4726 is a reply to message #4725] Mon, 23 July 2007 09:22 Go to previous messageGo to previous message
Aleksandra Wronska is currently offline  Aleksandra Wronska
Messages: 38
Registered: May 2006
Location: Cracow
continuous participant
From: *if.uj.edu.pl
Hi Stefano,

I think AddFriend is used when you want to merge infos from two different trees, but sort of "paralel": e.g. in tree1 you store energy loss and in tree2 you store momenta for the same collection of events.
If you want to add trees one after the other, you should rather use the chain mechanism, I guess:
TChain t("cbmsim");
t.AddFile("$DATA/panda/kick/bigdata_mega.root");
t.AddFile("$DATA/panda/kick/bigdata_mega_1.root");
etc...


hope that helps,
ola
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon8.gif
Previous Topic: Dashboard oflline
Next Topic: cbmRunAna.cxx AddFile AddFriend
Goto Forum:
  


Current Time: Fri Oct 11 15:48:26 CEST 2024

Total time taken to generate the page: 0.00895 seconds