Hello! I am new at ROOT
I have a problem with PyRoot
I am trying to f1 = ROOT.TF1("f2","[0]*sin([1]*x)x",0.,10.)
but I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'ROOT' has no attribute 'TF1'
do you know why and what is the solution?
by the way import ROOT
is successfully working