Skip to content
Snippets Groups Projects

Add aligment compatibility to overlap check macro + missing expected overlaps for mcbm 2019_03

Merged Pierre-Alain Loizeau requested to merge p.-a.loizeau/cbmroot:geo_over_tune into master
3 files
+ 223
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -62,6 +62,22 @@ foreach(setup IN LISTS setup_files)
endforeach(setup IN LISTS setup_files)
# ============================================================================
# Example of usage to check overlaps in aligned setup
if(${CBM_TEST_MODEL} MATCHES Nightly OR ${CBM_TEST_MODEL} MATCHES Weekly)
set(setup mcbm_beam_2022_05_23_nickel)
set(align_file ${CBMROOT_SOURCE_DIR}/parameters/mcbm/AlignmentMatrices_mcbm_beam_2022_05_23_nickel.root)
set(testname geo_setup_overlaps_align_${setup})
add_test(${testname} ${MACRO_DIR}/check_overlaps.sh \"data/examine_${setup}\" \"${align_file}\")
set_tests_properties(${testname} PROPERTIES
TIMEOUT 600
FAIL_REGULAR_EXPRESSION "segmentation violation"
PASS_REGULAR_EXPRESSION "Test Passed;All ok"
FIXTURES_REQUIRED fixt_check_overlaps_${setup}
FIXTURES_SETUP fixt_check_overlaps_align_${setup}
)
endIf()
# ============================================================================
Install(FILES .rootrc examine_materials.C check_overlaps.C
DESTINATION share/cbmroot/macro/geometry
)
Loading