Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:55

0001 #! /bin/csh
0002 
0003 
0004 set scriptDir = `pwd`
0005 set script = testRPCTriggerEff.py
0006 #set dsets = "/RelValSingleMuPt10/CMSSW_3_1_0_pre7_IDEAL_31X_v1/GEN-SIM-RECO \
0007 #             /RelValSingleMuPt100/CMSSW_3_1_0_pre7_IDEAL_31X_v1/GEN-SIM-RECO \
0008 #             /RelValSingleMuPt1000/CMSSW_3_1_0_pre7_IDEAL_31X_v1/GEN-SIM-RECO" 
0009 
0010 set dsets = "/RelValSingleMuPt10/CMSSW_2_2_9_IDEAL_V12_v1/GEN-SIM-RECO \
0011              /RelValSingleMuPt100/CMSSW_2_2_9_IDEAL_V12_v1/GEN-SIM-RECO \
0012              /RelValSingleMuPt1000/CMSSW_2_2_9_IDEAL_V12_v1/GEN-SIM-RECO "
0013 
0014 mkdir out
0015 rm -rf out/*
0016 
0017 @ i = 0
0018 foreach d ($dsets) 
0019   if ($d != "") then
0020       echo $d :
0021       set loc = 'https://cmsweb.cern.ch/dbs_discovery/getLFNsForSite?dbsInst=cms_dbs_prod_global&site=cmssrm.fnal.gov&datasetPath='"$d"'&what=txt&userMode=expert&run='
0022       set files = `wget -o /dev/null --no-check-certificate -O - "$loc"`
0023       foreach file ($files)
0024         echo "   $file"
0025         bsub runsingle.csh $i $scriptDir $script $file
0026         @ i += 1
0027       end
0028 
0029  endif
0030 end
0031 exit
0032 
0033