Skip to content

[CTEST] Re-introduce Nightly/Weekly test of overlaps in geo setups

  • Move the check_overlaps macro to macro/geometry
  • Apply it to all existing setups (minus exclusion list) on Nightly and Weekly builds, using output of examine_materials
  • Make macro more flexible by using lists of expected overlaps and dedicated functions instead of chained If/Else blocks
  • Cleanup Expected Overlaps list for main CBM setups
  • Add expected overlaps for -Bmon in TOF- for special case of APR21 setups
  • Add Expected Overlaps list for mCBM (either Bmon+Vacuum, internal to detectors or caused by alignment)
  • Remove outdated/too specialized check_overlaps macros in macro/run and macro/mcbm (+ corresponding CI test)

=> Follow-up/continuation of efforts to improve geometry setups quality started in !1195 (merged) and !1260 (merged) => Should fix (by removing the check) the problem encountered in !1183 (merged) => All overlaps checks shifted to CDASH Nightly/Weekly instead of CI as really expensive in time => Lists of "Expected Overlaps" are not meant to stay but should instead be (re)solved with time, apart from the mCBM Bmon ones!

Probably of interest to @se.gorbunov @f.uhlig @e.clerkin @v.friese as current default setups have overlaps between beampipe (including vacuum) and detectors.


Known overlaps which are NOT ignored (not set in "Expected Overlaps" lists)

  • sis100_hadron
     = Overlap ov00000: Volume conical_beam_pipe: node rich_much_downstream_flange_1 overlapping conus_volume_1 ovlp=0.0473108
  • sis100_muon_lmvm
     = Overlap ov00000: Volume conical_beam_pipe: node rich_much_downstream_flange_1 overlapping conus_volume_1 ovlp=0.0473108
  • sis100_electron
     = Overlap ov00000: cave/pipe_v21i_0/vacuum_conical_beam_pipe_1/vacuum_conus_volume_1 overlapping cave/rich_v21a_0/rich_container_1 ovlp=54.5646
     = Overlap ov00001: cave/pipe_v21i_0/vacuum_psd_tube_1 overlapping cave/psd_v22a_0 ovlp=53.0341
     = Overlap ov00002: cave/pipe_v21i_0/conical_beam_pipe_1/conus_volume_1 overlapping cave/rich_v21a_0/rich_container_1 ovlp=48.5332
     = Overlap ov00003: cave/pipe_v21i_0/psd_tube_1 overlapping cave/psd_v22a_0 ovlp=46.1478
     = Overlap ov00004: cave/magnet_v22a_0/Yoke_screen_part1_4 overlapping cave/rich_v21a_0/rich_container_1 ovlp=7.5
     = Overlap ov00005: cave/magnet_v22a_0/Yoke_screen_part1_3 overlapping cave/rich_v21a_0/rich_container_1 ovlp=7.5
     = Overlap ov00006: cave/pipe_v21i_0/vacuum_conical_beam_pipe_1/vacuum_conus_volume_1 overlapping cave/rich_v21a_0/rich_cyl_pipe_section_1 ovlp=1.5682
     = Overlap ov00007: cave/pipe_v21i_0/conical_beam_pipe_1/conus_volume_1 overlapping cave/rich_v21a_0/rich_cyl_pipe_section_1 ovlp=0.914456
    
     = Overlap ov00000: Volume cave: node pipe_v21i_0/vacuum_psd_tube_1 overlapping psd_v22a_0 ovlp=29.8726
     = Overlap ov00001: Volume cave: node magnet_v22a_0/Yoke_screen_part1_4 overlapping rich_v21a_0/rich_container_1 ovlp=1.96416
     = Overlap ov00002: Volume conical_beam_pipe: node rich_much_downstream_flange_1 overlapping conus_volume_1 ovlp=0.0478828
     = Overlap ov00003: Volume MVDscripted: node station_S0_1/heatsink_S0_1/heatsinkpart_2_2 overlapping top_bottom_plate_2 ovlp=1.86046e-07
  • sis100_electron_DEC21
     = Overlap ov00000: cave/magnet_container_0 overlapping cave/rich_v21a_0/rich_container_1 ovlp=11.5
     = Overlap ov00000: Volume cave: node magnet_container_0 overlapping rich_v21a_0/rich_container_1 ovlp=4.9155
     = Overlap ov00001: Volume MVDscripted: node station_S0_1/heatsink_S0_1/heatsinkpart_2_2 overlapping top_bottom_plate_2 ovlp=1.86046e-07
  • sis100_hadron_APR21
     = Overlap ov00000: Volume MVDscripted: node station_S0_1/heatsink_S0_1/heatsinkpart_2_2 overlapping top_bottom_plate_2 ovlp=1.86046e-07
  • sis100_muon_jpsi_APR21 (!!Broken as overlap between TRD supports and TOF detectors!!)
     = Overlap ov00000: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_58 ovlp=4.75
     = Overlap ov00001: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_60 ovlp=4.75
     = Overlap ov00002: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_56 ovlp=4.75
     = Overlap ov00003: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_48 ovlp=4.75
     = Overlap ov00004: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_50 ovlp=4.75
     = Overlap ov00005: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_46 ovlp=4.2
     = Overlap ov00006: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_13 ovlp=3.85
     = Overlap ov00007: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_11 ovlp=3.85
     = Overlap ov00008: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_1 ovlp=3.85
     = Overlap ov00009: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_3 ovlp=3.85
     = Overlap ov00010: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_5 ovlp=3.85
     = Overlap ov00011: cave/pipe_v20a_1m_0/pipevac7_0 overlapping cave/tof_v20b_1m_0/module_5_0 ovlp=1.31648
     = Overlap ov00012: cave/pipe_v20a_1m_0/pipe7_0 overlapping cave/tof_v20b_1m_0/module_5_0 ovlp=1.24769
     = Overlap ov00000: Volume cave: node trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping tof_v20b_1m_0/module_3_58 ovlp=4.11382
  • sis100_muon_lmvm_APR21 (!!Broken as overlap between TRD supports and TOF detectors!!)
     = Overlap ov00000: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_58 ovlp=4.75
     = Overlap ov00001: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_60 ovlp=4.75
     = Overlap ov00002: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_56 ovlp=4.75
     = Overlap ov00003: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_48 ovlp=4.75
     = Overlap ov00004: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_50 ovlp=4.75
     = Overlap ov00005: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping cave/tof_v20b_1m_0/module_3_46 ovlp=4.2
     = Overlap ov00006: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_13 ovlp=3.85
     = Overlap ov00007: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_11 ovlp=3.85
     = Overlap ov00008: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_1 ovlp=3.85
     = Overlap ov00009: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_3 ovlp=3.85
     = Overlap ov00010: cave/trd_v20b_1m_0/support_trd1_1/trd_I_y10_14 overlapping cave/tof_v20b_1m_0/module_3_5 ovlp=3.85
     = Overlap ov00011: cave/pipe_v20a_1m_0/pipevac7_0 overlapping cave/tof_v20b_1m_0/module_5_0 ovlp=1.31648
     = Overlap ov00012: cave/pipe_v20a_1m_0/pipe7_0 overlapping cave/tof_v20b_1m_0/module_5_0 ovlp=1.24769
     = Overlap ov00000: Volume cave: node trd_v20b_1m_0/support_trd1_1/trd_I_y10_13 overlapping tof_v20b_1m_0/module_3_58 ovlp=4.11382

Unexpected overlaps, see also Refs #2931

Edited by Pierre-Alain Loizeau

Merge request reports