File indexing completed on 2024-04-06 12:27:33
0001
0002 set -e
0003 set -x
0004
0005
0006
0007
0008
0009 SAMPLE=$1
0010 SEED=$2
0011 N=$3
0012
0013
0014
0015
0016
0017
0018 PILEUP=Run3_Flat55To75_PoissonOOTPU
0019
0020
0021
0022
0023 PILEUP_INPUT=dbs:/MinBias_TuneCP5_13TeV-pythia8/RunIIFall18GS-102X_upgrade2018_realistic_v9-v1/GEN-SIM
0024
0025
0026
0027
0028 cmsDriver.py $SAMPLE \
0029 --conditions auto:phase1_2022_realistic \
0030 -n $N \
0031 --era Run3 \
0032 --eventcontent FEVTDEBUGHLT \
0033 -s GEN,SIM,DIGI,L1,DIGI2RAW,HLT \
0034 --datatier GEN-SIM \
0035 --geometry DB:Extended \
0036 --pileup $PILEUP \
0037 --pileup_input $PILEUP_INPUT \
0038 --no_exec \
0039 --fileout step2_phase1_new.root \
0040 --customise Validation/RecoParticleFlow/customize_pfanalysis.customize_step2 \
0041 --python_filename=step2_phase1_new.py
0042
0043
0044 cmsDriver.py step3 \
0045 --conditions auto:phase1_2022_realistic \
0046 --era Run3 \
0047 -n -1 \
0048 --eventcontent FEVTDEBUGHLT \
0049 --runUnscheduled \
0050 -s RAW2DIGI,L1Reco,RECO,RECOSIM \
0051 --datatier GEN-SIM-RECO \
0052 --geometry DB:Extended \
0053 --no_exec \
0054 --filein file:step2_phase1_new.root \
0055 --fileout step3_phase1_new.root \
0056 --customise Validation/RecoParticleFlow/customize_pfanalysis.customize_step3 \
0057 --python_filename=step3_phase1_new.py
0058
0059 pwd
0060 ls -lrt
0061
0062 echo "process.RandomNumberGeneratorService.generator.initialSeed = $SEED" >> step2_phase1_new.py
0063 cmsRun step2_phase1_new.py
0064 cmsRun step3_phase1_new.py
0065 cmsRun $CMSSW_BASE/src/Validation/RecoParticleFlow/test/pfanalysis_ntuple.py
0066
0067 mv pfntuple.root pfntuple_${SEED}.root