Error in <TFractionFitter::CheckConsistency>: Empty MC histo

Hi I’ve problem with this macro after the first iteration it returns me
Error in TFractionFitter::CheckConsistency: Empty MC histogram #1

Waiting for news
Cheers,Mirko
myplots.root (25.4 KB)
fraction.C (2.83 KB)