#!/bin/tcsh ############# ALT1 ############### set fname=filelist_ALT1.h echo "Making $fname ..." echo "// Generated by make_root_filelist" > $fname echo "void AddFilesToChain(TChain *chain){" >> $fname foreach s (`ls -tr ALT1_*.root`) echo " chain->Add(\042$s\042);" >> $fname end echo "}" >> $fname echo " " >> $fname echo " " >> $fname