Skip to content

Conversation

@aalkin
Copy link
Member

@aalkin aalkin commented Jun 28, 2025

  • Fix binding node hash handling
  • Add tokenizer/parser to handle expressions in string form
  • Features supported
    • column binding, requires full string i.e. o2::aod::track::pt
    • arithmetic operations, all functions supported by normal expressions, conditional expressions, parentheses
    • standard math constants (PI, PIHalf, etc.)

It is now possible to do this:

  Configurable<std::string> filterString{"filter-string", "nabs(o2::aod::track::pt) < 10.f", "Filter string expression"};
  Filter f;

  void init(InitContext&)
  {
    f = (std::string)filterString;
  }

  void process(aod::Collision const&, soa::Filtered<aod::Tracks> const& tracks) {}

@aalkin aalkin requested a review from a team as a code owner June 28, 2025 09:48
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@aalkin aalkin force-pushed the expression-string-parsing-base branch from b532491 to 01afe18 Compare June 30, 2025 08:21
@aalkin aalkin requested a review from ktf June 30, 2025 11:26
@alibuild
Copy link
Collaborator

alibuild commented Jul 6, 2025

Error while checking build/O2/fullCI_slc9 for 84e5eae at 2025-07-15 06:45:

No log files found

Full log here.

@ktf ktf merged commit 59033a5 into AliceO2Group:dev Aug 8, 2025
11 checks passed
@ktf
Copy link
Member

ktf commented Aug 8, 2025

Unused facility. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants