(no subject)

From: Michael Murray (murray@CyclotronMail.tamu.edu)
Date: Mon Jan 29 2001 - 09:53:14 EST

  • Next message: Peter H. L. Christiansen: "Question about BrModuleContainer"

    Dear ROOT experts,
    
    Please help me with merging of *.root files.
    In my ROOT script I do for example:
    
    	TChain chain ("tree");
    	chain.Add ("run001606seq000.root");
    	chain.Add ("run001606seq001.root");
    	chain.Merge ("run001606.root");
    
    to merge two files into one. But this doesn't work
    since ROOT gives an error-message:
    
    	Error in <TChain::Add>: cannot find tree with name tree.
    
    When I'm trying to see the name of the tree by:
    
    	TFile f("run001606seq000.root");
    	f.ls();
    
    ROOT just ignores the last command. Could somebody, please,
    help me with this? The ROOT version is 2.25/03.
    
    Andrei Makeev.
    
    Cyclotron TAMU, (979)845-1411
    



    This archive was generated by hypermail 2b29 : Mon Jan 29 2001 - 09:54:00 EST