From 5151d68a7305378d6e387f5fb18751d5d873efd2 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 15 Dec 2023 15:11:28 +0100 Subject: [PATCH] create CTPPS Reco unit test --- RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS.sh | 5 +++++ RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS_cfg.py | 2 +- RecoPPS/Local/test/BuildFile.xml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS.sh diff --git a/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS.sh b/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS.sh new file mode 100755 index 0000000000000..80b93b2230b07 --- /dev/null +++ b/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS.sh @@ -0,0 +1,5 @@ + #!/bin/bash -ex +TEST_DIR=$CMSSW_BASE/src/RecoPPS/Local/test +echo "test dir: $TEST_DIR" + +cmsRun ${TEST_DIR}/2023_lhcinfo_test_recoCTPPS_cfg.py diff --git a/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS_cfg.py b/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS_cfg.py index 831d91d0ecb4d..f15d42b838374 100644 --- a/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS_cfg.py +++ b/RecoPPS/Local/test/2023_lhcinfo_test_recoCTPPS_cfg.py @@ -3,7 +3,7 @@ process = cms.Process('RECODQM', Run3) -process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) +process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(50) ) process.verbosity = cms.untracked.PSet( input = cms.untracked.int32(-1) ) # minimum of logs diff --git a/RecoPPS/Local/test/BuildFile.xml b/RecoPPS/Local/test/BuildFile.xml index 7f53a44b17c3a..eb1c199017400 100644 --- a/RecoPPS/Local/test/BuildFile.xml +++ b/RecoPPS/Local/test/BuildFile.xml @@ -1 +1,2 @@ +