Re: [ROOT] Problems with TSelector

From: Christian Vogel (vogel@skunk.physik.uni-erlangen.de)
Date: Thu Dec 18 2003 - 21:46:22 MET


Hi,

On Thu, Dec 18, 2003 at 06:39:39PM +0100, Rene Brun wrote:
> see : http://root.cern.ch/root/roottalk/RoottalkRules.html

I also tried to create a small minimal test-file, so please see
the attachments of this email. I also found out that I only read out the
first file of the chain:

I generate 3 files with a tree "t1" in it. The Tree is just one Branch,
a integer, starting at a base of 100 (200,300) and only 4 events are
stored in each tree:

emil:tselector_bug$ ./tselector_bug 
Writing file tree1.root, base is 100
Writing file tree2.root, base is 200
Writing file tree3.root, base is 300
new BugSelector!
Begin->Init(0xbffff8f4)
Notify()
Notify()   <----------- 2nd Notify?
ProcessFill(0) -> 100
ProcessFill(1) -> 101
ProcessFill(2) -> 102
ProcessFill(3) -> 103
Notify()
Notify()   <---------- 2nd Notify?
ProcessFill(0) -> 100  <---- Still reading tree1.root
Notify()
Notify()   <----- two notifies per Event?
ProcessFill(1) -> 101
Notify()
Notify()
ProcessFill(2) -> 102
Notify()
Notify()
ProcessFill(3) -> 103
Notify()
Notify()
ProcessFill(0) -> 100
Notify()
Notify()
ProcessFill(1) -> 101
Notify()
Notify()
ProcessFill(2) -> 102
Notify()
Notify()
ProcessFill(3) -> 103
bye BugSelector!


	Chris

-- 
Rather than a beep
Or a rude error message,
These words: "File not found."
-- Len Dvorkin






This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET