Commit ce49d0ed authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Florian Uhlig
Browse files

Add installation of all parameters files needed for mCBM2021 unpacking

parent c4f3ae64
......@@ -56,7 +56,9 @@ Install(FILES dimuon/.rootrc dimuon/dimuon_transport.C dimuon/invM.C
)
Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/dimuon/data)")
# Installation only
add_subdirectory(beamtime)
#--- Deprecated (not running)
#add_subdirectory(trd)
#add_subdirectory(littrack)
#add_subdirectory(beamtime)
##### Old beamtime tests
##### TODO: check if still running and cleanup if needed
# Put the .rootrc file into the directory from which root is executed.
# Otherwise the rootalias file is not loaded
File(COPY ${CBMROOT_SOURCE_DIR}/macro/include/.rootrc DESTINATION ${CBMROOT_BINARY_DIR}/macro/beamtime/tests)
# Define the number of events to run
Set(NumEvents 2)
If(EXISTS ${CBMROOT_SOURCE_DIR}/input/hodoTop_source_1000ts_20160422.tsa)
# STS Lab Setup => TSA
GENERATE_ROOT_TEST_SCRIPT(${CBMROOT_SOURCE_DIR}/macro/beamtime/tests/FHodoLabSetup.C)
add_test(StsLabSetup ${CBMROOT_BINARY_DIR}/macro/beamtime/tests/FHodoLabSetup.sh)
SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES TIMEOUT "60")
SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES PASS_REGULAR_EXPRESSION "Test Passed;All ok")
EndIf()
#####################
##### COSY 2019 tests
add_subdirectory(cosy2019)
#####################
##### mCBM 2019 tests
add_subdirectory(mcbm2019)
#####################
##### mCBM 2020 tests: only if test TSA files for "typical runs" present
add_subdirectory(mcbm2020)
#####################
### Copy beamtime folder to allow execution of tasks on batch farm after installation
Install(DIRECTORY cern2016 DESTINATION share/cbmroot/macro/beamtime)
#--- Installation only
# mCBM 20201: install parameter files to allow execution of unpacking on Virgo/Lustre
add_subdirectory(mcbm2021)
################################################################################
#--- Deprecated (not running)
###### Old beamtime tests
###### TODO: check if still running and cleanup if needed
## Put the .rootrc file into the directory from which root is executed.
## Otherwise the rootalias file is not loaded
#File(COPY ${CBMROOT_SOURCE_DIR}/macro/include/.rootrc DESTINATION ${CBMROOT_BINARY_DIR}/macro/beamtime/tests)
#
## Define the number of events to run
#Set(NumEvents 2)
#
#If(EXISTS ${CBMROOT_SOURCE_DIR}/input/hodoTop_source_1000ts_20160422.tsa)
## STS Lab Setup => TSA
#GENERATE_ROOT_TEST_SCRIPT(${CBMROOT_SOURCE_DIR}/macro/beamtime/tests/FHodoLabSetup.C)
#add_test(StsLabSetup ${CBMROOT_BINARY_DIR}/macro/beamtime/tests/FHodoLabSetup.sh)
#SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES TIMEOUT "60")
#SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES PASS_REGULAR_EXPRESSION "Test Passed;All ok")
#EndIf()
######################
#
###### COSY 2019 tests
#add_subdirectory(cosy2019)
######################
#
#
###### mCBM 2019 tests
#add_subdirectory(mcbm2019)
######################
#
###### mCBM 2020 tests: only if test TSA files for "typical runs" present
#add_subdirectory(mcbm2020)
#
#### Copy beamtime folder to allow execution of tasks on batch farm after installation
#Install(DIRECTORY cern2016 DESTINATION share/cbmroot/macro/beamtime)
################################################################################
Install(FILES mMuchPar.par mPsdPar.par mRichPar.par mRichPar_70.par mStsPar.par mT0Par.par mTofPar.par mTofCriPar.par
mTofPar2Stack.par mTofPar2.par mTofParMay.par
DESTINATION share/cbmroot/macro/beamtime/mcbm2021/
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment