diff --git a/Calibration/PPSAlCaRecoProducer/test/README.md b/Calibration/PPSAlCaRecoProducer/test/README.md new file mode 100644 index 0000000000000..186b82d16c614 --- /dev/null +++ b/Calibration/PPSAlCaRecoProducer/test/README.md @@ -0,0 +1,26 @@ +# Running tests on lxplus + + +## Using scram + +To be able to run tests locally enable re-director used internally by `cmsbuild`: + +``` +CMS_PATH="/cvmfs/cms-ib.cern.ch" SITECONFIG_PATH="/cvmfs/cms-ib.cern.ch/SITECONF/local" scram b runtests +``` + +## Manually (to inspect test output files) + +To run the tests in this directory (`Calibration/PPSAlCaRecoProducer/test/`) type: + +``` +CMS_PATH="/cvmfs/cms-ib.cern.ch" SITECONFIG_PATH="/cvmfs/cms-ib.cern.ch/SITECONF/local" ./test_express_AlCaRecoProducer.sh +``` + +and + +``` +SCRAM_TEST_PATH=. ./test_express_PPSAlCaReco_output.sh +``` + +The same can be done for prompt tests diff --git a/Calibration/PPSAlCaRecoProducer/test/test_express_AlCaRecoProducer.sh b/Calibration/PPSAlCaRecoProducer/test/test_express_AlCaRecoProducer.sh index a9a722891d12c..d71d54a405101 100755 --- a/Calibration/PPSAlCaRecoProducer/test/test_express_AlCaRecoProducer.sh +++ b/Calibration/PPSAlCaRecoProducer/test/test_express_AlCaRecoProducer.sh @@ -5,7 +5,7 @@ function die { echo $1: status $2; exit $2; } COMMON_CUSTOM="process.ALCARECOPPSCalMaxTracksFilter.TriggerResultsTag = cms.InputTag(\"TriggerResults\",\"\",\"HLTX\")" # test on 2022 data -INPUTFILE_355207="/store/user/cmsbuild/store/data/Run2022B/AlCaPPS/RAW/v1/000/355/207/00000/c23440f4-49c0-44aa-b8f6-f40598fb4705.root" +INPUTFILE_355207="/store/data/Run2022B/AlCaPPS/RAW/v1/000/355/207/00000/c23440f4-49c0-44aa-b8f6-f40598fb4705.root" # new test on generated data, with same structure as data expected in 2024 INPUTFILE_367104="/store/group/alca_global/pps_alcareco_producer_tests/outputALCAPPSExpress.root" diff --git a/Calibration/PPSAlCaRecoProducer/test/test_prompt_AlCaRecoProducer.sh b/Calibration/PPSAlCaRecoProducer/test/test_prompt_AlCaRecoProducer.sh index bd0fad6b73538..9b56b1c2ba9fb 100755 --- a/Calibration/PPSAlCaRecoProducer/test/test_prompt_AlCaRecoProducer.sh +++ b/Calibration/PPSAlCaRecoProducer/test/test_prompt_AlCaRecoProducer.sh @@ -5,7 +5,7 @@ function die { echo $1: status $2; exit $2; } COMMON_CUSTOM="process.ALCARECOPPSCalMaxTracksFilter.TriggerResultsTag = cms.InputTag(\"TriggerResults\",\"\",\"HLTX\")" # test on 2022 data -INPUTFILE_355207="/store/user/cmsbuild/store/data/Run2022B/AlCaPPS/RAW/v1/000/355/207/00000/c23440f4-49c0-44aa-b8f6-f40598fb4705.root" +INPUTFILE_355207="/store/data/Run2022B/AlCaPPS/RAW/v1/000/355/207/00000/c23440f4-49c0-44aa-b8f6-f40598fb4705.root" # new test on generated data, with same structure as data expected in 2024 INPUTFILE_367104="/store/group/alca_global/pps_alcareco_producer_tests/outputALCAPPSPrompt.root" diff --git a/Configuration/PyReleaseValidation/python/relval_steps.py b/Configuration/PyReleaseValidation/python/relval_steps.py index 7dce8d60adb46..6058083de70a9 100644 --- a/Configuration/PyReleaseValidation/python/relval_steps.py +++ b/Configuration/PyReleaseValidation/python/relval_steps.py @@ -2424,6 +2424,7 @@ def lhegensim2018ml(fragment,howMuch): '--data': '', '--datatier':'ALCARECO', '--eventcontent':'ALCARECO', + '--customise_commands':'"process.ctppsRawToDigiTaskAlCaRecoProducer = cms.Task(process.ctppsDiamondRawToDigiAlCaRecoProducer, process.totemTimingRawToDigiAlCaRecoProducer, process.ctppsPixelDigisAlCaRecoProducer)"' # disable gtStage2DigisAlCaRecoProducer as 2022 data used in this workflow doesn't have necessary products } steps['TIER0EXPPPSCALALIG']={'-s':'RAW2DIGI,L1Reco,ALCAPRODUCER:PPSCalTrackBasedSel,ENDJOB',