Using variables in SetOptStat

Hi to everyone,

I would like to know if there is anyway to use the variables set in gStyle->SetOptStat(1111111). I would like to use the integral value to make some operations, but I cannot see how the root macro can directly use the value without inputting it.

Does someone have any clue?

Thanks

root.cern.ch/root/html/TH1.html#TH1:Integral

Thanks, this is what I need it!