Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!623Add installation of all parameters files needed for mCBM2021 unpacking
Pipeline #14548 passed
...@@ -56,7 +56,9 @@ Install(FILES dimuon/.rootrc dimuon/dimuon_transport.C dimuon/invM.C ...@@ -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)") Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/dimuon/data)")
# Installation only
add_subdirectory(beamtime)
#--- Deprecated (not running) #--- Deprecated (not running)
#add_subdirectory(trd) #add_subdirectory(trd)
#add_subdirectory(littrack) #add_subdirectory(littrack)
#add_subdirectory(beamtime)
#--- Installation only
##### Old beamtime tests # mCBM 20201: install parameter files to allow execution of unpacking on Virgo/Lustre
##### TODO: check if still running and cleanup if needed add_subdirectory(mcbm2021)
# 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) #--- Deprecated (not running)
###### Old beamtime tests
# Define the number of events to run ###### TODO: check if still running and cleanup if needed
Set(NumEvents 2) ## Put the .rootrc file into the directory from which root is executed.
## Otherwise the rootalias file is not loaded
If(EXISTS ${CBMROOT_SOURCE_DIR}/input/hodoTop_source_1000ts_20160422.tsa) #File(COPY ${CBMROOT_SOURCE_DIR}/macro/include/.rootrc DESTINATION ${CBMROOT_BINARY_DIR}/macro/beamtime/tests)
# STS Lab Setup => TSA #
GENERATE_ROOT_TEST_SCRIPT(${CBMROOT_SOURCE_DIR}/macro/beamtime/tests/FHodoLabSetup.C) ## Define the number of events to run
add_test(StsLabSetup ${CBMROOT_BINARY_DIR}/macro/beamtime/tests/FHodoLabSetup.sh) #Set(NumEvents 2)
SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES TIMEOUT "60") #
SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES PASS_REGULAR_EXPRESSION "Test Passed;All ok") #If(EXISTS ${CBMROOT_SOURCE_DIR}/input/hodoTop_source_1000ts_20160422.tsa)
EndIf() ## 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)
##### COSY 2019 tests #SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES TIMEOUT "60")
add_subdirectory(cosy2019) #SET_TESTS_PROPERTIES(StsLabSetup PROPERTIES PASS_REGULAR_EXPRESSION "Test Passed;All ok")
##################### #EndIf()
######################
#
##### mCBM 2019 tests ###### COSY 2019 tests
add_subdirectory(mcbm2019) #add_subdirectory(cosy2019)
##################### ######################
#
##### mCBM 2020 tests: only if test TSA files for "typical runs" present #
add_subdirectory(mcbm2020) ###### mCBM 2019 tests
##################### #add_subdirectory(mcbm2019)
######################
### Copy beamtime folder to allow execution of tasks on batch farm after installation #
Install(DIRECTORY cern2016 DESTINATION share/cbmroot/macro/beamtime) ###### 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/
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment