Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:11

0001 #!/bin/csh
0002 
0003 setenv num ${1}
0004 echo '===> num.'  ${num} 
0005 echo ' ' 
0006 
0007 setenv WORKDIR ${PWD}
0008 echo '===> Local working dir ' ${WORKDIR}
0009 
0010 setenv name pi50
0011 
0012 setenv MYWORKDIR  ${2}  
0013 cd ${MYWORKDIR}
0014 
0015 echo ' '
0016 echo '===> Remote submission dir ' ${MYWORKDIR}
0017 echo ' '
0018 
0019 eval `scramv1 runtime -csh`
0020 
0021 #------------------
0022 
0023 cd ${WORKDIR} 
0024 
0025 cp ${MYWORKDIR}/${name}_${num}.py  conf.py
0026 
0027 xrdcp /afs/cern.ch/cms/data/CMSSW/Validation/HcalHits/data/620/mc_pi50_eta05.root  mc.root
0028 
0029 cmsRun conf.py > & output.log
0030 
0031 ls -lrt
0032 
0033 xrdcp output.root ${MYWORKDIR}/${name}_${num}.root
0034 xrdcp output.log  ${MYWORKDIR}/${name}_${num}.log