[ROOT] lost histos??

From: Ahmet Sedat Ayan (ayan@cms.physics.uiowa.edu)
Date: Tue Jan 15 2002 - 17:16:55 MET


Hi All,
my question is the following:

I read an ntuple (root) file and create many histograms 
e.g.
........
  OBJ: TH1F     h0  L> 3.5 : 0
  OBJ: TH1F     h1  L> 4. : 0
  OBJ: TH1F     h2  L> 5. : 0
etc..
 ......

I would like to write two of these historgrams in different files (one
histogram in one file). But when I create a file, say f1.root, to write h1
, I can not access the other histos anymore. I understand that when I
create the f1.root , current directory becomes this file but i do not know
how to go back to the directory in which I couls list and see all other
histograms, objects etc as shown above...

I would appreciate any comments and helps...

Thanks,
Ahmet

ROOT versions: 3.01/06 on SunSparc

***************

Ahmet Sedat Ayan		

Physics & Astronomy Dept.
Van Allen Hall    
University of Iowa
Iowa City, IA, 52242
  
Voice      : (++ 1 319) 335-1941 (W) (GMT-6)      
Occupation : Ph.D Candidate (But still dreamer!)	
e-mail     : ayan@cms.physics.uiowa.edu
web        : http://jazz.physics.uiowa.edu/~ayan



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET