#!/bin/bash ################################################################ ## script for running sim&ana for fast sim ## tests were done for h_c hadronic decays! ## 15/04/2014 ## A.Karavdina ################################################################ for pbeam in 5.3119 5.4119 5.5119 5.7119 5.8119 5.9119 do momStr=`echo $pbeam | sed -e '{ s/\./_/g; }'` root -l -b -q simfast.C\("\"hc_rho0pi0_$momStr\"","\"hc_3pi.dec\"",5.6119,100000,"\"h_c\""\) root -l -b -q ana_hc_task.C\("\"hc_rho0pi0_$momStr_fast.root\"",100000\) root -l -b -q simfast.C\("\"dpm_$momStr\"","\"DPM\"",5.6119,10000000\) root -l -b -q ana_hc_task.C\("\"dpm_$momStr_fast.root\"",10000000\) done exit