Dear ROOT-experts,

I have a question concering the TFractionFitter. I have MC histograms with weights (efficiency corrections which change the shape of the distributions). As far as I know one has to use the Method TFractionFitter::SetWeight in a case ike this. The method requires a histogram with the wbin by bin weights for the corresponding MC template. Now I wonder if there is a simple way to create the needed histogram from my weighted histogram. The method should work in one (TH1F) and in two dimensions (TH2F). I would be glad if someone could give me an example.

Thank you very much in advance,

margoe