MoAly98 / Pythium

ROOT Killa'
2 stars 5 forks source link

How do we process an expression made from mix of jagged and non-jagged branches #10

Closed MoAly98 closed 3 years ago

MoAly98 commented 3 years ago

Say we want to compute branch = scale_factor*jet_pt -- how does user specify the index_by argument in Branch constructor?

MoAly98 commented 3 years ago

One option is to provide it as an expression exactly like the expression itself (e.g. event*jet) and this can be handled in the backend when breaking down the expression in get_branches_from_expr() call inn Sample: get_branch_filter()

MoAly98 commented 3 years ago

The above suggestion is implemented.