Statistical functions

i am new to ROOT.
i need to calculate std deviation of samples and then put the mean + the error on a graph.
i could not find functions calculationg the std deviation.
it’s not a big deal to write a method doing it but i think it must have been written already. there’s GetSum() method in TArrayD and i expected GetVar() as well.

any suggestions?

regards
michal

Hello,

TGraph, and the various histogram classes, TH1, etc. offer such facilities.

Regards,
Gora