#!/bin/tcsh ############# MULS ON, ELOSS OFF ############### set fname=filelist.h echo "Making $fname ..." echo "// Generated by make_root_filelist" > $fname set nam=with_muls_no_eloss echo "void AddFilesToChain_${nam}(TChain *chain){" >> $fname foreach s (`ls -tr hd_root_${nam}_???????.root`) echo " chain->Add(\042$s\042);" >> $fname end echo "}" >> $fname ############# MULS ON, ELOSS OFF SPOILED ############### echo " " >> $fname echo " " >> $fname set nam=with_muls_no_eloss_spoiled echo "void AddFilesToChain_${nam}(TChain *chain){" >> $fname foreach s (`ls -tr hd_root_${nam}_???????.root`) echo " chain->Add(\042$s\042);" >> $fname end echo "}" >> $fname ############# MULS OFF, ELOSS OFF ############### echo " " >> $fname echo " " >> $fname set nam=no_muls_no_eloss echo "void AddFilesToChain_${nam}(TChain *chain){" >> $fname foreach s (`ls -tr hd_root_${nam}_???????.root`) echo " chain->Add(\042$s\042);" >> $fname end echo "}" >> $fname ############# MULS OFF, ELOSS OFF SPOILED ############### echo " " >> $fname echo " " >> $fname set nam=no_muls_no_eloss_spoiled echo "void AddFilesToChain_${nam}(TChain *chain){" >> $fname foreach s (`ls -tr hd_root_${nam}_???????.root`) echo " chain->Add(\042$s\042);" >> $fname end echo "}" >> $fname