Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sergei Zharko
cbmroot
Commits
ce49d0ed
Commit
ce49d0ed
authored
Dec 01, 2021
by
Pierre-Alain Loizeau
Committed by
Florian Uhlig
Dec 01, 2021
Browse files
Add installation of all parameters files needed for mCBM2021 unpacking
parent
c4f3ae64
Changes
3
Hide whitespace changes
Inline
Side-by-side
macro/CMakeLists.txt
View file @
ce49d0ed
...
...
@@ -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)
macro/beamtime/CMakeLists.txt
View file @
ce49d0ed
##### 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)
################################################################################
macro/beamtime/mcbm2021/CMakeLists.txt
0 → 100644
View file @
ce49d0ed
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/
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment