TFractionFitter

Hello everyone,

I am using the root class TFractionFitter and would like to hand over the weights of my MC histograms to the fitter with

fitter->SetWeight(0,histogram);

but no matter what I try, I obtain a segmentation fault. Documentation tells me the second argument should be a TH1* pointer.
Does any one have experience with this?

Thanks in advance,
Laurent

Is your argument histogram a TH1* ?

Rene

I have tried TH1F* and TH1D*. Neither works but this post shows that it should be the right type…

root.cern.ch/phpBB2/viewtopic.ph … a9b0854507