-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] A branch renaming function? #146
Comments
Ttrees have a SetAlias function that lets it map a convenient alias to a branch expression and I think these are stored in fAliases. I agree this could be nice. Especially a lazy expression evaluator :) like a pt column lazily constructed from px py columns on the fly. |
one thing I want is |
https://root.cern.ch/doc/master/classTTree.html#a7c505db0d8ed56b5581e683375eb78e1 Alias allows formula,
I think the natural translation to Julia would be: setalias!(tree, :tdc1 => ( x-> (x[2]-x[1])/49) => :x1) taking inspiration from https://dataframes.juliadata.org/stable/lib/functions/#DataFrames.combine but too convoluted, don't feel like useful enough LOL |
implemented in #225 with a slightly different interface (rename at creation time) |
Symbol("STDMTruthTausAuxDyn.classifierParticleOrigin")
is crazy branch name and it includes a dot...The text was updated successfully, but these errors were encountered: