Skip to content

Commit

Permalink
Fix to keep DetElement reference in the conditions dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Oct 2, 2020
1 parent 7940a17 commit f4343fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion examples/AlignDet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ dd4hep_add_test_reg( AlignDet_Telescope_readback_xml
EXEC_ARGS geoPluginRun -volmgr -destroy -plugin DD4hep_AlignmentExample_read_xml
-input file:${AlignDet_INSTALL}/compact/Telescope.xml
-deltas file:./new_cond.xml
REGEX_PASS "52 conditions in slice. \\(T:33,S:33,L:0,C:0,M:0\\) Alignments accessed: 20 \\(A:19,M:0\\) for IOV:run\\(1\\)"
REGEX_PASS "40 conditions in slice. \\(T:21,S:21,L:0,C:0,M:0\\) Alignments accessed: 20 \\(A:19,M:0\\) for IOV:run\\(1\\)"
REGEX_FAIL " ERROR ;EXCEPTION;Exception"
)
#
Expand Down
3 changes: 0 additions & 3 deletions examples/Conditions/src/ConditionExampleObjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ int ConditionsDependencyCreator::operator()(DetElement de, int) const {
DependencyBuilder build_1(de, target1.item_key(), call1);
DependencyBuilder build_2(de, target2.item_key(), call2);
DependencyBuilder build_3(de, target3.item_key(), call3);
//DependencyBuilder build_1(de, "derived_data/derived_1", call1);
//DependencyBuilder build_2(de, "derived_data/derived_2", call2);
//DependencyBuilder build_3(de, "derived_data/derived_3", call3);

// Compute the derived stuff
sbuild_1.add(key);
Expand Down

0 comments on commit f4343fc

Please sign in to comment.