Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-23 22:40:27

0001 TMPDIR=test/tmp
0002 RELVALCMD=${CMSSW_BASE}/src/Validation/RecoParticleFlow/test/run_relval.sh
0003 DQM_MC=DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO
0004 
0005 conf:
0006         cd ${TMPDIR} && ${RELVALCMD} conf reco 0
0007 
0008 dumpconf:
0009         cd ${TMPDIR}/conf && python3 -c 'import step3; print(step3.process.dumpPython())' > step3_dump.py
0010         cp ${TMPDIR}/conf/step3.py test/crab/
0011         cp ${TMPDIR}/conf/step3_dump.py test/crab/
0012 
0013 QCD: QCD_reco QCD_dqm
0014 
0015 QCD_reco:
0016         cd ${TMPDIR} && ${RELVALCMD} QCD reco 0
0017 
0018 #Need to expand the CMSSW python3 configuration
0019 QCD_dumpconf:
0020         cd ${TMPDIR}/QCD && python3 -c 'import step3_RAW2DIGI_L1Reco_RECO_RECOSIM_PAT as step3; print(step3.process.dumpPython())' > step3_dump.py
0021         cp ${TMPDIR}/QCD/step3_dump.py crab/
0022 
0023 QCDPU_reco:
0024         cd ${TMPDIR} && ${RELVALCMD} QCDPU reco 0
0025 
0026 ZMMPU_reco:
0027         cd ${TMPDIR} && ${RELVALCMD} ZMMPU reco 0
0028 
0029 ZEEPU_reco:
0030         cd ${TMPDIR} && ${RELVALCMD} ZEEPU reco 0
0031 
0032 TenTauPU_reco:
0033         cd ${TMPDIR} && ${RELVALCMD} TenTauPU reco 0
0034 
0035 NuGunPU_reco:
0036         cd ${TMPDIR} && ${RELVALCMD} NuGunPU reco 0
0037 
0038 #dqm: QCD_dqm QCDPU_dqm ZMM_dqm MinBias_dqm SN_dqm
0039 dqm: QCD_dqm QCDPU_dqm NuGunPU_dqm
0040 
0041 QCD_dqm:
0042         rm -f ${TMPDIR}/QCD/DQM*.root
0043         cd ${TMPDIR} && ${RELVALCMD} QCD dqm 0
0044 
0045 QCDPU_dqm:
0046         rm -f ${TMPDIR}/QCDPU/DQM*.root
0047         cd ${TMPDIR} && ${RELVALCMD} QCDPU dqm 0
0048 
0049 ZMMPU_dqm:
0050         rm -f ${TMPDIR}/ZMMPU/DQM*.root
0051         cd ${TMPDIR} && ${RELVALCMD} ZMMPU dqm 0
0052 
0053 ZEEPU_dqm:
0054         rm -f ${TMPDIR}/ZEEPU/DQM*.root
0055         cd ${TMPDIR} && ${RELVALCMD} ZEEPU dqm 0
0056 
0057 TenTauPU_dqm:
0058         rm -f ${TMPDIR}/TenTauPU/DQM*.root
0059         cd ${TMPDIR} && ${RELVALCMD} TenTauPU dqm 0
0060 
0061 NuGunPU_dqm:
0062         rm -f ${TMPDIR}/NuGunPU/DQM*.root
0063         cd ${TMPDIR} && ${RELVALCMD} NuGunPU dqm 0
0064 
0065 .PHONY: plots # Enable re-running plots
0066 
0067 plots:
0068         rm -Rf plots
0069         python3 test/compare.py \
0070             --sample FlatQCD_noPU:${TMPDIR}/QCD/${DQM_MC}.root:${TMPDIR}/QCD/${DQM_MC}.root \
0071                 --sample FlatQCD_PU25ns:${TMPDIR}/QCDPU/${DQM_MC}.root:${TMPDIR}/QCDPU/${DQM_MC}.root \
0072                 --sample NuGunPU:${TMPDIR}/NuGunPU/${DQM_MC}.root:${TMPDIR}/NuGunPU/${DQM_MC}.root \
0073                 --doResponsePlots --doOffsetPlots --doMETPlots --doPFCandPlots
0074 
0075 QCD_plots:
0076         rm -Rf plots
0077         python3 test/compare.py \
0078             --sample FlatQCD_noPU:${TMPDIR}/QCD/${DQM_MC}.root:${TMPDIR}/QCD/${DQM_MC}.root \
0079                 --doResponsePlots --doOffsetPlots --doMETPlots --doPFCandPlots
0080 
0081 QCDPU_plots:
0082         rm -Rf plots
0083         python3 test/compare.py \
0084                 --sample FlatQCD_PU25ns:${TMPDIR}/QCDPU/${DQM_MC}.root:${TMPDIR}/QCDPU/${DQM_MC}.root \
0085                 --doResponsePlots --doOffsetPlots --doMETPlots --doPFCandPlots
0086 
0087 NuGunPU_plots:
0088         rm -Rf plots
0089         python3 test/compare.py \
0090                 --sample NuGunPU:${TMPDIR}/NuGunPU/${DQM_MC}.root:${TMPDIR}/NuGunPU/${DQM_MC}.root \
0091                 --doResponsePlots --doOffsetPlots --doMETPlots --doPFCandPlots
0092 
0093 plots_with_ref:
0094         rm -Rf plots
0095         python3 test/compare.py \
0096                 --sample FlatQCD_noPU:${TMPDIR}/QCD/${DQM_MC}.root:${TMPDIR}/QCD_ref/${DQM_MC}.root \
0097                 --sample FlatQCD_PU25ns:${TMPDIR}/QCDPU/${DQM_MC}.root:${TMPDIR}/QCDPU_ref/${DQM_MC}.root \
0098                 --sample NuGunPU:${TMPDIR}/NuGunPU/${DQM_MC}.root:${TMPDIR}/NuGunPU_ref/${DQM_MC}.root \
0099                 --doResponsePlots --doOffsetPlots --doMETPlots --doPFCandPlots