Changing error bars

Can someone tell me the code for manually changing how the error bars are calculated…
I am trying to change them to be calculated for an efficiency ratio histogram.



Hi Matt,

for an histogram just use TH1::SetBinError(bin, error) and loop on all the binis you want to change … etBinError

for a TGraphErrors you can use SetPointError( ipoint, ex, ey) … PointError