I know that histogram can be scaled by doing:
hist->Scale(factor);
Is there anyway I can apply a different scaling factor to each bin ?
-thanks debdatta.
I know that histogram can be scaled by doing:
hist->Scale(factor);
Is there anyway I can apply a different scaling factor to each bin ?
-thanks debdatta.
Loop on each bin calling
double cont = h->GetBinContent(bin);
h->SetBinContent(cont*scale_factor_bin);
or
h->Multiply(h2)
Rene