Book and fill histograms on-the-fly

Hi Everybody,

 I am writing an online-analysis program which is capable of reading the event stream from a socket and filling histograms. I would like to add a feature to this program to book and fill new histograms "on-the-fly" via the 

CINT, with no need for recompiling the code or stopping the process.

I hope the question is clear.
Thanks in advance,
Masoud

Hi,

In compile code, you can call gROOT->ProcessLine(…) to execute something in CINT.

Cheers,
Philippe

Hi Philippe,

It worked! 

thanks
Masoud