slow macro processing

Paul M. Eugenio (eugenio@ernest.phys.cmu.edu)
Thu, 11 Feb 1999 14:27:15 -0500 (EST)


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