I have found the new module TFoam in ROOT 5.13 which works just fine for me. The only problem I have is that the name of the histogram for the weight in TFoam is fixed, and it gets re-crated if one is trying to use two substances of TFoam in one script, which causes inconvinience.
Does anyone know how to deal with this ?
Any suggestion will be greatly appriciated…