vec/del * filecase keep opt zfl dir=/wo field=para read field filecase keep chain -all *do nr=1,1 if ( [field] .eq. 'para') then nrun=43775 endif if ( [field] .eq. 'perp') then nrun=43407 endif if ( [field] .eq. 'para') then nrun=43775 nchain=3 vec/create runlist([nchain]) i 43775 43776 43799 endif if ( [field] .eq. 'perp') then nrun=43407 nchain=6 vec/create runlist([nchain]) i 43227 43230 43285 43324 43395 43396 endif do i=1,[nchain] nrun=runlist([i]) nseg=1 dir=/work/hallc/e93026/rss/pass3 fname=[dir]/ntup/hms[nrun].[nseg].hbook message check [fname] while ($FEXIST([fname])) do message add [fname] to chain chain all [fname] nseg=[nseg]+1 fname=[dir]/ntup/hms[nrun].[nseg].hbook endwhile enddo zone 1 2 txt = [fname] Fit to background title_gl [txt] cut $1 hsp>.01.and.0.8