Skip to content
Snippets Groups Projects

Resolve "TQMultiObservable should lazily evaluate subObservables"

All threads resolved!

Release notes

Lazy evaluation of components in TQMultiObservable: if using Root >6.06 (i.e. Rel21+) TQMultiObservable now only evaluates subobservables when really needed. This allows, e.g., for easier handling of quantities that are only defined under certain conditions like DYjj requiring at least two jets in the event. For example the expression '[nJets]>1 ? [DYjj] : -999.' will only evaluate the DYjj observable if the value of the nJets observable is >1 for the respective event.

Details

see issue closed by this MR. Also note again that this only affects things when compiling against ROOT 6.06+ as the TFormula constructor needed to make this work was only introduced in 6.06!

Closes #162 (closed)

Edited by Ralf Gugel

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
  • Ralf Gugel added 49 commits

    added 49 commits

    Compare with previous version

  • Ralf Gugel unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Ralf Gugel resolved all discussions

    resolved all discussions

  • Ralf Gugel mentioned in issue #171

    mentioned in issue #171

  • merged

  • Ralf Gugel mentioned in commit 91d3adaf

    mentioned in commit 91d3adaf

  • Ralf Gugel changed the description

    changed the description

  • Please register or sign in to reply
    Loading