Hi,
I’m trying to use the TFoam class of PyROOT, and for this I need to extend the TFoamIntegrand abstract class:
class Dist(TFoamIntegrand):
def Density(self,nDim,args):
return 0.
But of course I get:
TypeError: TFoamIntegrand is abstract and can not be instantiated (which is called during init(self)).
Is there a simple or more complicated way to extend this TFoamIntegrand class?
Cheers,
Maxime