Fitting histograms with ROOT and PROOFlite

Hello All

I am trying to fit about 50,000 1D histograms with a gaussian on my 8-core desktop. I see no significant speed increase when I use proof-lite or not. My code is a compiled one.

g++ root-config --cflags --glibs -lProof fithistograms.C -o fithistograms

Here is a small portion of my code:

#include <TProof.h> int main (int argc, char *argv[]){ ... TProof::Open("workers=4"); ... for(a=0;a<48000;a++) THist[a]->Fit("gaus","Q") ... }

With PROOF, my running time is 1 min 40 seconds on a small data set and it is the same time without proof.

Any ideas on how I speed this up? Many thanks.

Karthik.