Hi, I can reproduce this problem. However, it only occurs if one of the NSigTrain/Test NBkgTrain/Test event numbers in the Factory::PrepareTrainingAndTestTree() call is set to zero. It will not occur if all four event numbers are specified.