Root in c++

Hi all,
I would like if there exist a method for setting the graphic option available in a macro but using a c++ program.

For istance, I have a TH1F.
When in my program I save it in a root file, automatically the statistical information are displayed. Is it possible to use also in my program some thing like setOptStat?
Moreover how could I set and draw the polimarker in the istogram. Because the problem is that to do this you need the function Draw(), that has not effect my program. The same proble I have if I would like to overlap tow histogram in the same frame.

Please, could anybody propose a solution for my problems?

Thank you in advance
Cheers

Raffaello Trentadue

Hi,

I assume that you created your own main routine. You most likely forgot to create a TApplication object. (pp.rhul.ac.uk/~cowan/stat/ro … ootTest.cc)

Cheers,
Philippe