slow macro processing

From: Paul M. Eugenio (eugenio@ernest.phys.cmu.edu)
Date: Thu Feb 11 1999 - 20:27:15 MET


Hi,

In a macro I open ROOT file containing a TTree of TOjects, and then I plot some histograms for about 20k events. One of my branch objects contains a pointer to a TClonesArray and when I add code to iterate through the array I find that the processing time increases from seconds to minuets.  I created the TBranches with split=1 which (I believe) will create sub branches. Is there a way to speed up the macro by setting some branch address to the TClonesArray? 

Thanks for any pointers...


-- 
Paul M. Eugenio
Dept. of Physics
Carnegie Mellon University
(412) 268 6949
eugenio@ernest.phys.cmu.edu



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET