macro main
exec main#zone
exec main#hist 100 200 paw20.5_3.0.dat
....
exec main#hist 100 200 paw20.5.dat
return
macro main2 FILENAME
for/file 66 [FILENAME]
gra/meta 66 -113
exec main#zone
exec main#hist 100 200 paw20.5_3.0.dat
....
exec main#hist 100 200 paw20.5.dat
close 66
return
macro zone
size 26 18
zone 3 3
return
macro hist ID1 ID2 FILE
ntuple/create [ID1] 'title' 1 '' 10000 name
ntuple/read [ID1] [FILE]
hist/create/1dhist [ID2] 'histtitle' 100 0.0 2.0
ntuple/project [ID2] [ID1].name
option fit
option sta
hist/fit [ID2] g
return
macro eps [ID] FILE
for/file 66 [FILE]
gra/meta 66 -113
hist/fit [ID] g
close 66
return
|