Skip to content

Added functionality to align VP ladders to framework

Ben Couturier requested to merge bcouturi_vp_ladders into master

The ConditionHelper added the functionality to match a DetElement with a unique name to a condition in a specific file, with a name equals to the name on the DetElement.

This MR extends this functionality, and allows mapping the condition using the DetElement path, and tu use the regex matches to name the condition in the file, as per:

<alignment_pattern path_regex=".*Module(\d\d)/ladder_(\d)" path="Alignment/Ladders.yml" name="ladder_{1}_${2}"/>

A test ( test_vp_ladder_position) was added to check that the conditions do apply to the ladders. It is the quivalent of running:

geoPluginRun -input ${PROJECT_SOURCE_DIR}/compact/trunk/LHCb.xml -plugin  LHCb_TEST_VPLadders_conditions -conditions file:${PROJECT_SOURCE_DIR}/tests/ConditionsIOV/)
Edited by Ben Couturier

Merge request reports