Angi,
the TH1::FillN() isn’t going to work with just two arguments, but to show how to pass a list through a double* pointer:[code]from ROOT import *
from array import array
binLowE = [2,4,9,15,20,22]
uniformTau = TH1D(“uniformTau”,"",5,array(‘d’,binLowE))
#uniformTau.FillN(5,10)
uniformTau.Draw()[/code]
I.e. just use an array from module array. The buffer interface does the rest.
HTH,
Wim