TH1::Scale()

Hi,

In the root documentation for TH1::Scale() at:
root.cern.ch/root/html/TH1.html#TH1:Scale

it gives the declaration as:
void Scale(Double_t c1 = 1, Option_t* option = “”)

and says: If option contains “width” the bin contents and errors are divided
by the bin width.

However, in ROOT 5.18.00a:
/afs/cern.ch/sw/lcg/external/root/5.18.00a/slc4_ia32_gcc34/root

I see only:
void Scale(Double_t c1 = 1)

Was the second argument removed at some point? It would be very useful.

Thanks,
Eric

You are looking at the documentation of the current version. The “width” option was introduced only in version 5.20. see doc of 5.18 at
root.cern.ch/root/html518/TH1.html#TH1:Scale

Rene

I see, thanks for the clarification.

Eric