Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:26

0001 #!/bin/csh
0002 echo ${1} ${2} ${3} ${4}
0003 ###exit
0004 setenv MYWORKDIR `pwd`/TMP_`date '+%Y-%m-%d_%H_%M_%S'`
0005 mkdir `pwd`/TMP_`date '+%Y-%m-%d_%H_%M_%S'`
0006 
0007 ### Definitions
0008 setenv SRC ${4}
0009 setenv SCRIPTDIR ${4}
0010 ##setenv SCRAM_ARCH slc6_amd64_gcc491
0011 setenv SCRAM_ARCH slc6_amd64_gcc700
0012 
0013 ### Environment
0014 cd ${SRC}
0015 cmsenv
0016 
0017 ### Go back to WN
0018 cd ${MYWORKDIR}
0019 cp ${SRC}/PYTHON_${1}/Reco_${2}_${3}_cfg.py .
0020 ##exit
0021 
0022 ### Run CMSSW
0023 cmsRun Reco_${2}_${3}_cfg.py > &log_${2}_${3}
0024 ls -l * >> &log_${2}_${3}
0025 
0026 ### Copy output files to EOS
0027 #cmsStage -f log_${2}_${3} /store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/Logs/
0028 #cmsStage -f LogEleMapdb.h /store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/MAP/LogEleMapdb_${2}_${3}.h
0029 #cmsStage -f Global.root /store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/Global_${2}_${3}.root
0030 
0031 ### Copy output files to 
0032 cp Global_${2}_${3}.root /afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript/CMSSW_10_4_0/src/RecoHcal/HcalPromptAnalysis/test/SHIFTER_VALIDATION/Global_${2}_${3}.root
0033 ## rm all unnesecery
0034 #rm log_${2} 
0035 ##rm Global.root
0036 rm Global_${2}_${3}.root
0037 
0038