Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:41:12

0001 #!/bin/csh
0002 echo ${1} ${2} ${3}
0003 setenv MYWORKDIR `pwd`
0004 ### Definitions
0005 #setenv SRC /afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript/CMSSW_5_3_21/src/RecoHcal/HcalPromptAnalysis/test
0006 #setenv SCRIPTDIR ${SRC}/SHIFTER_VALIDATION/ 
0007 setenv SRC ${3}
0008 setenv SCRIPTDIR ${3}
0009 ##setenv SCRAM_ARCH slc6_amd64_gcc472
0010 ##setenv SCRAM_ARCH slc6_amd64_gcc491
0011 #setenv SCRAM_ARCH slc6_amd64_gcc530
0012 setenv SCRAM_ARCH slc6_amd64_gcc630 
0013 
0014 ### Environment
0015 cd ${SRC}
0016 cmsenv
0017 
0018 ### Go back to WN
0019 cd ${MYWORKDIR}
0020 cp ${SRC}/PYTHON_${1}/Reco_${2}_cfg.py .
0021 ### Run CMSSW
0022 cmsRun Reco_${2}_cfg.py > &log_${2}
0023 ls -l * >> &log_${2}
0024 
0025 ### Copy output files to EOS
0026  
0027 cmsStage -f log_${2} /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}.h
0029 ##cp log_${2} /afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript/CMSSW_7_4_5_STABLE/src/RecoHcal/HcalPromptAnalysis/test/SHIFTER_VALIDATION
0030 cmsStage -f Global.root /store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/Global_${2}.root
0031 
0032 ## rm all unnesecery
0033 #rm log_${2} 
0034 rm Global.root
0035