diff --git a/RecoTauTag/RecoTau/test/BuildFile.xml b/RecoTauTag/RecoTau/test/BuildFile.xml index 7b61d3bf3fb24..d77453efb4df5 100644 --- a/RecoTauTag/RecoTau/test/BuildFile.xml +++ b/RecoTauTag/RecoTau/test/BuildFile.xml @@ -16,3 +16,9 @@ + + + + + + diff --git a/RecoTauTag/RecoTau/test/rerunTauRecoOnMiniAOD.py b/RecoTauTag/RecoTau/test/rerunTauRecoOnMiniAOD.py index 60ae566f68889..82bddd6922b68 100644 --- a/RecoTauTag/RecoTau/test/rerunTauRecoOnMiniAOD.py +++ b/RecoTauTag/RecoTau/test/rerunTauRecoOnMiniAOD.py @@ -56,7 +56,9 @@ if runSignal: readFiles.extend( [ # 'file:patMiniAOD_standard.root' - 'root://cms-xrd-global.cern.ch////store/relval/CMSSW_10_1_0/RelValZTT_13/MINIAODSIM/101X_upgrade2018_realistic_v6_resub-v1/10000/AE5162C1-0A38-E811-9FCA-0CC47A4D7634.root', + '/store/relval/CMSSW_10_1_0_pre3/RelValZTT_13UP18/MINIAODSIM/PUpmx25ns_101X_upgrade2018_realistic_v3_cc7-v1/10000/2808A251-DE31-E811-BFBC-0242AC130002.root' + #'/store/relval/CMSSW_10_1_0_pre1/RelValTTbar_13/MINIAODSIM/PU25ns_100X_mcRun2_asymptotic_v2_FastSim-v1/10000/72D398B6-8613-E811-B900-0CC47A4D75EE.root' + #'root://cms-xrd-global.cern.ch////store/relval/CMSSW_10_1_0/RelValZTT_13/MINIAODSIM/101X_upgrade2018_realistic_v6_resub-v1/10000/AE5162C1-0A38-E811-9FCA-0CC47A4D7634.root', #'root://cms-xrd-global.cern.ch///store/relval/CMSSW_10_0_0_pre2/RelValZTT_13/MINIAODSIM/PUpmx25ns_100X_mc2017_realistic_v1-v1/20000/B01F0774-17E1-E711-9826-0CC47A4D7654.root', ] ) else: diff --git a/RecoTauTag/RecoTau/test/runtestRecoTauTagRecoTau.cpp b/RecoTauTag/RecoTau/test/runtestRecoTauTagRecoTau.cpp new file mode 100644 index 0000000000000..b2991bd18ae57 --- /dev/null +++ b/RecoTauTag/RecoTau/test/runtestRecoTauTagRecoTau.cpp @@ -0,0 +1,3 @@ +#include "FWCore/Utilities/interface/TestHelper.h" + +RUNTEST() diff --git a/RecoTauTag/RecoTau/test/runtests.sh b/RecoTauTag/RecoTau/test/runtests.sh new file mode 100755 index 0000000000000..8a0a2d274efe9 --- /dev/null +++ b/RecoTauTag/RecoTau/test/runtests.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +function die { echo $1: status $2 ; exit $2; } + +cmsRun ${LOCAL_TEST_DIR}/rerunTauRecoOnMiniAOD.py || die 'Failure using rerunTauRecoOnMiniAOD.py' $? +