Re: [ROOT] Loop over a tree/ntuple with threads

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Sep 17 2001 - 18:43:37 MEST


Hi Arno,

 as Marc Hemberger already mentioned, this is something you will be
able to do with PROOF in the near future. Using threads for this is
not possible due to ROOT not being thread safe for this kind of 
operations and because this solution is also not very scalable.

Cheers, Fons.



Arno Heister wrote:
> 
> Hi !
> I'm doing an analysis with a modified object which I made by using the
> MakeClass() command.
> 
> Now I want to speed up the processing of my ROOT-files by implementing a
> special Loop() routine which is able to run as a thread. Each thread has
> 
> to process only a part of the events and at the end all events in my
> ROOT-file are processed and are filled into the same array/histogram of
> another file.
> 
> The different threads should  run on different computers (or
> processors). I'm using the 3.01/06 version on a RedHat 6.1 platform.
> 
> Hardisks can be mounted via NFS ...
> 
> Is this implementation of a thread possible with f.e. the TThread-class
> ?
> 
> Cheers, Arno Heister.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET