Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-19 23:59:14

0001 #!/bin/csh
0002 
0003 set RELEASE=${CMSSW_VERSION}
0004 ### Get list of done from RDM webpage ###
0005 set TYPE=${1}
0006 echo ${TYPE}
0007 if( ${TYPE} != "LED" && ${TYPE} != "LASER" && ${TYPE} != "PEDESTAL" ) then
0008 echo "Please check type " ${TYPE} "should be LED or LASER or PEDESTAL"
0009 exit
0010 endif
0011 
0012 set WD="/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript"
0013 set SCRIPT=`pwd`
0014 set PYTHON=${CMSSW_BASE}/src/DPGAnalysis/HcalTools/python
0015 echo ${WD}
0016 
0017 set jold=194165
0018 foreach i (`cat tmp.list.${TYPE}`)
0019 echo "Run" ${i}
0020 set iold=`echo ${i} | awk -F _ '{print $1}'`
0021 set date=`echo ${i} | awk -F _ '{print $2}'`
0022 set time=`echo ${i} | awk -F _ '{print $3}'`
0023 set year=`echo ${date} | awk -F - '{print $1}'`
0024 set nevent=`echo ${i} | awk -F _ '{print $4}'`
0025 echo ${iold} ${jold} ${year} ${nevent}
0026 
0027 echo "Make a job"
0028 ${SCRIPT}/HcalRemoteMonitoringNewNewRoot.csh ${TYPE} ${iold} ${iold} ${nevent} ${RELEASE}
0029 echo  "End job "
0030 sleep 1
0031 end