Skip to content
Snippets Groups Projects

Fixes for the new ODIN class

Merged Marco Clemencic requested to merge marcocle/odin-v7 into master
2 unresolved threads

Changes to compile (and pass the tests) with LHCb!3088 (merged).

This is backward compatible and should be merged before LHCb!3088 (merged).

Note this includes !2540 (merged)

Edited by Marco Clemencic

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
53 53 gaudi_install(PYTHON)
54 54 gaudi_generate_confuserdb()
55 55
56 # this is to be able to write Python code compatible with old ODIN
57 if(LHCb_VERSION VERSION_LESS "53.2")
58 file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/python_helper/LumiAlgs/_legacy_odin_compat.py" "# generated file, do not edit
59 ODIN_LUMI_TRIGGER = 'LHCb.ODIN.LumiTrigger'
60 ")
61 else()
62 file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/python_helper/LumiAlgs/_legacy_odin_compat.py" "# generated file, do not edit
63 ODIN_LUMI_TRIGGER = 'LHCb.ODIN.TriggerTypes.LumiTrigger'
64 ")
65 endif()
66 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/python_helper/LumiAlgs/_legacy_odin_compat.py" DESTINATION "${GAUDI_INSTALL_PYTHONDIR}/LumiAlgs")
67 _gaudi_runtime_prepend(pythonpath ${CMAKE_CURRENT_BINARY_DIR}/python_helper)
68
  • Rosen Matev
  • 138 140 seqMembers = []
    139 141 seqMembers.append(
    140 142 ODINFilter(
    141 'Filter' + i,
    143 f'Filter{i}',
    142 144 Code=
    143 ' ( ODIN_TRGTYP == LHCb.ODIN.LumiTrigger ) & ( ODIN_BXTYP == LHCb.ODIN.'
    144 + i + ' ) '))
    145 f' ( ODIN_TRGTYP == {ODIN_LUMI_TRIGGER} ) & ( ODIN_BXTYP == LHCb.ODIN.BXTypes.{i} ) '
  • Rosen Matev mentioned in merge request Lbcom!562 (merged)

    mentioned in merge request Lbcom!562 (merged)

  • mentioned in issue Moore#324 (closed)

  • Edited by Software for LHCb
  • Miroslav Saur assigned to @ascarabo and unassigned @msaur

    assigned to @ascarabo and unassigned @msaur

  • Software for LHCb added 26 commits

    added 26 commits

    Compare with previous version

  • Rebased, fixed and updated the reference files

  • Marco Clemencic added 8 commits

    added 8 commits

    Compare with previous version

  • Marco Clemencic added 12 commits

    added 12 commits

    Compare with previous version

  • Christopher Rob Jones resolved all threads

    resolved all threads

  • Christopher Rob Jones resolved all threads

    resolved all threads

  • mentioned in commit a13a95ab

  • mentioned in issue Moore#344 (closed)

  • Please register or sign in to reply
    Loading