Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-02 05:09:29

0001 #!/bin/bash
0002 
0003 ############################################################################################################
0004 ### RECO + PAT
0005 
0006 release=$1 
0007 conditions=$2
0008 era=$3
0009 
0010 #export SCRAM_ARCH=$scram_arch
0011 
0012 echo '> Running RAW2DIGI,L1Reco,RECO,RECOSIM + PAT steps in ' $release
0013 
0014 cmsDriver.py  --python_filename reco.py --eventcontent AODSIM \
0015 --customise Configuration/DataProcessing/Utils.addMonitoring \
0016 --datatier AODSIM --fileout file:step4.root \
0017 --conditions $conditions --step RAW2DIGI,L1Reco,RECO,RECOSIM \
0018 --geometry DB:Extended --filein file:step3.root --era $era \
0019 --mc -n -1 --no_exec
0020 
0021 if [ $? -ne 0 ]; then
0022     echo " !!!! Error in building the config for RECO with cmsDriver !!!!! "
0023     exit 1;
0024 fi
0025 
0026 cmsRun reco.py
0027 
0028 if [ $? -ne 0 ]; then
0029     echo " !!!! Error in running the config for RECO !!!!! "
0030     exit 1;
0031 fi
0032 
0033 
0034 cmsDriver.py  --python_filename pat.py --eventcontent MINIAODSIM \
0035 --customise Configuration/DataProcessing/Utils.addMonitoring \
0036 --datatier MINIAODSIM --fileout file:step5.root \
0037 --conditions $conditions --step PAT \
0038 --geometry DB:Extended --filein file:step4.root --era $era \
0039 --mc -n -1 --no_exec
0040 
0041 if [ $? -ne 0 ]; then
0042     echo " !!!! Error in building the config for PAT with cmsDriver !!!!! "
0043     exit 1;
0044 fi
0045 
0046 cmsRun pat.py
0047 
0048 if [ $? -ne 0 ]; then
0049     echo " !!!! Error in running the config for PAT !!!!! "
0050     exit 1;
0051 fi
0052 
0053 
0054 ############################################################################################################