File indexing completed on 2023-10-25 10:00:01
0001
0002
0003
0004 globalTag='auto:mc'
0005
0006 nevents=10
0007
0008 function die(){ echo "$*"; }
0009
0010 [ -f ZEE_7TeV_FEVTDEBUGHLT.root ] || cmsDriver.py ZEE_7TeV.cfi -s GEN,SIM,DIGI,L1,DIGI2RAW,HLT:GRun,RAW2DIGI,L1Reco -n $nevents --geometry DB --conditions $globalTag --relval 9000,100 --datatier GEN-SIM-DIGI-RAW-HLTDEBUG --eventcontent FEVTDEBUGHLT --fileout=ZEE_7TeV_FEVTDEBUGHLT.root || die "Failed to run simulation!"
0011
0012 cmsDriver.py step2 -s RAW2DIGI,L1Reco,RECO -n $nevents --datatier GEN-SIM-RECO --eventcontent RECOSIM --geometry DB --conditions=$globalTag --filein=file:ZEE_7TeV_FEVTDEBUGHLT.root --fileout=ZEE_7TeV_RECOSIM.root --no_exec || die "Failed to produce step2 configuration file"
0013
0014 cat >> step2_RAW2DIGI_L1Reco_RECO.py <<EOF
0015
0016 process.RECOSIMEventContent.outputCommands.extend(cms.untracked.vstring('keep EcalTriggerPrimitiveDigisSorted_simEcalTriggerPrimitiveDigis_*_*'))
0017 process.RECOSIMEventContent.outputCommands.extend(cms.untracked.vstring('keep EcalTriggerPrimitiveDigisSorted_ecalDigis_*_*'))
0018 EOF
0019
0020 cmsRun step2_RAW2DIGI_L1Reco_RECO.py
0021
0022 ln -s ZEE_7TeV_RECOSIM.root in.root