GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » cbmRunAna.cxx AddFile AddFriend
Re: cbmRunAna.cxx AddFile AddFriend [message #7371 is a reply to message #7368] Wed, 01 October 2008 13:33 Go to previous messageGo to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Dear Florian,
thank you very much for your advice
now it seems work properly, anyway i have found some document attached by Mojhammad
http://www.gsi.de/documents/DOC-2004-Nov-122-1.ppt


I have also tried to do the same by using a macro
by doing Tchain with several files and then add also friend to them.

And also works but one has to do the following

Tchain * mychain =new TChain("cbmsim");
mychain->Add("file.root")
mychain->Add("file_2.root")
mychain->Add("file_3.root")

Tchain * myfriend =new TChain("cbmsim");
myfriend->Add("filefriend.root")

mychain->AddFriend(myfriend)

best regrads
ALicia.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AddFriend
Next Topic: CbmGeo and points from SImulation
Goto Forum:
  


Current Time: Fri Apr 19 23:43:37 CEST 2024

Total time taken to generate the page: 0.01129 seconds