Hi Gail, I forgot that the CINT redirection does not work well on windows :(. For now, you have to use either of the following: extend the buffer size of the terminal windows (see Valeri's mail) use the TBrowser to see a graphical output use a custom loop of f->GetListOfKeys() and such Cheers, Philippe. -----Original Message----- From: Gail Ruby [mailto:rubyg@utdallas.edu] Sent: Tuesday, August 19, 2003 11:00 AM To: Philippe Canal Cc: roottalk@pcroot.cern.ch Subject: RE: [ROOT] cannot scroll list: f.ls() Dear Philippe, I am using version 3.02/07 with Windows 98. This is what appears on the screen: root [1] TFile f("datagamma1c.root") root [2] f.ls(); > f_ls.log KEY: TH1F hdDst03;1 D0*D*0 Double Tag Mass KEY: TH1F hdDst04;1 D0*D*0 Double Tag Mass KEY: TH1F hdDstc1;1 D*+D*- Double Tag Mass KEY: TH1F hdDstc2;1 D*+D*- Double Tag Mass KEY: TH1F hdDstc3;1 D*+D*- Double Tag Mass KEY: TH1F hdDstc4;1 D*+D*- Double Tag Mass KEY: TH2F hDD01;1 Mass D01 vs D02 KEY: TH2F hDD02;1 Mass D01 vs D02 KEY: TH2F hD0Dst01;1 Mass D0 vs D*0 KEY: TH2F hD0Dst02;1 Mass D0 vs D*0 KEY: TH2F hDDp1;1 Mass D1 vs D2 KEY: TH2F hDDp2;1 Mass D1 vs D2 KEY: TH2F hDpDstc1;1 Mass Dp vs D*+ KEY: TH2F hDpDstc2;1 Mass Dp vs D*+ KEY: TH2F h2Dstc1;1 Mass D*+ vs D*- KEY: TH2F h2Dst01;1 Mass D*0 vs D*0 KEY: TH2F hKoKss;1 Kos1 v Kss1 diagnostic KEY: TH2F hDD1mom;2 DD vs momDT KEY: TH2F hDD1mom;1 DD vs momDT KEY: TH2F hDD2mom;1 DD vs momDT KEY: TH2F hDD3mom;1 DD vs momDT KEY: TH2F hDD4mom;1 DD vs momDT KEY: TH2F hDD5mom;1 DD vs momDT KEY: TH2F hDD6mom;1 DD vs momDT root [3] .! tail f_ls.log Bad command or file name root [4] Gail On Tue, 19 Aug 2003, Philippe Canal wrote: > Hi Gail, > > This is odd. In root 3.05/07 I did: > > root [0] TFile *f = TFile::Open("Event.new.split9.root"); > Warning in <TClass::TClass>: no dictionary for class Event is available > Warning in <TClass::TClass>: no dictionary for class EventHeader is available > Warning in <TClass::TClass>: no dictionary for class Track is available > root [1] f->ls(); > f_ls.log > root [2] .! cat f_ls.log > TFile** Event.new.split9.root TTree benchmark ROOT file > TFile* Event.new.split9.root TTree benchmark ROOT file > KEY: TProcessID ProcessID0;1 005b3ee8-3ada-1f42-bfc0-08e8e183beef > KEY: TH1F htime;1 Real-Time to write versus time > KEY: TTree T;1 An example of a ROOT tree > KEY: TH1F hstat;1 Event Histogram > > Could you send me your entire output. By doing: > > root [] TFile f("filename.root") > root [] f.ls(); > f_ls.log > root [] .! tail f_ls.log > send me the result so far. > and then > root [] f.ls(); > send me whatever you can still see in the window. > > Cheers, > Philippe. > > -----Original Message----- > From: Gail Ruby [mailto:rubyg@utdallas.edu] > Sent: Tuesday, August 19, 2003 9:54 AM > To: Philippe Canal > Cc: roottalk@pcroot.cern.ch > Subject: RE: [ROOT] cannot scroll list: f.ls() > > > Dear Philippe, > > I tried the log file and the file f_ls.log > was created but it was empty. > > Gail > > On Mon, 18 Aug 2003, Philippe Canal wrote: > > > Hi, > > > > You can save the result in a file; > > > > root [] f.ls(); > f_ls.log > > > > Cheers, > > Philippe > > > > -----Original Message----- > > From: owner-roottalk@pcroot.cern.ch > > [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Gail Ruby > > Sent: Monday, August 18, 2003 4:20 PM > > To: roottalk@pcroot.cern.ch > > Subject: [ROOT] cannot scroll list: f.ls() > > > > > > Dear ROOT, > > > > I am using ROOT for Windows version 3.02/07. > > > > I want to look at the histograms in my root > > so I use: > > > > TFile f("filename.root") > > > > then > > f.ls() > > > > and the list of files flys past so fast > > I can't read them. > > > > I try to scroll through the list but can only > > go back a few items. > > > > How do I scroll through the list or list only > > a few files at a time? > > > > Thanks, > > Gail > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET