File indexing completed on 2024-10-22 05:03:03
0001
0002
0003
0004
0005
0006 release=$1
0007 conditions=$2
0008 era=$3
0009
0010
0011
0012 echo '> Running RAW2DIGI,L1Reco,RECO,RECOSIM + PAT steps reading input generated in ' $release
0013
0014
0015 if [[ $release == CMSSW_12_4_*_HLT ]]; then
0016 echo "Release matches CMSSW_12_4_*_HLT, adding customisation for fixReading_12_4_X_Files"
0017 customise_flag="IOPool/Input/fixReading_12_4_X_Files.fixReading_12_4_X_Files, Configuration/DataProcessing/Utils.addMonitoring"
0018 else
0019 customise_flag="Configuration/DataProcessing/Utils.addMonitoring"
0020 fi
0021
0022 cmsDriver.py --python_filename reco.py --eventcontent AODSIM \
0023 --customise $customise_flag \
0024 --datatier AODSIM --fileout file:step4.root \
0025 --conditions $conditions --step RAW2DIGI,L1Reco,RECO,RECOSIM \
0026 --geometry DB:Extended --filein file:step3.root --era $era \
0027 --mc -n -1 --no_exec
0028
0029 if [ $? -ne 0 ]; then
0030 echo " !!!! Error in building the config for RECO with cmsDriver !!!!! "
0031 exit 1;
0032 fi
0033
0034 cmsRun reco.py
0035
0036 if [ $? -ne 0 ]; then
0037 echo " !!!! Error in running the config for RECO !!!!! "
0038 exit 1;
0039 fi
0040
0041
0042 cmsDriver.py --python_filename pat.py --eventcontent MINIAODSIM \
0043 --customise Configuration/DataProcessing/Utils.addMonitoring \
0044 --datatier MINIAODSIM --fileout file:step5.root \
0045 --conditions $conditions --step PAT \
0046 --geometry DB:Extended --filein file:step4.root --era $era \
0047 --mc -n -1 --no_exec
0048
0049 if [ $? -ne 0 ]; then
0050 echo " !!!! Error in building the config for PAT with cmsDriver !!!!! "
0051 exit 1;
0052 fi
0053
0054 cmsRun pat.py
0055
0056 if [ $? -ne 0 ]; then
0057 echo " !!!! Error in running the config for PAT !!!!! "
0058 exit 1;
0059 fi
0060
0061
0062