I was trying to find a way to Fill tuple in the python script. I’m actually not sure
what object I have to pass to tuple fill ? I have variable length tuples so I want to use the
Here is what I tried and the error message says that double object can not be assigned a value.
from ROOT import TNtuple,TFile,Double
hFile = TFile(‘ntsimple.root’,‘RECREATE’)
hNtuple = TNtuple(‘T’,‘Simple Ntuple’,‘px:py:pz:pid’)
pars = Double(4)
for i in range(0,1000):
pars = 1.4
Any Help is appreciated !