-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make package work on more general numerical types #91
Comments
(or just don't target ForwardDiff) |
That was more an example of why it might be useful - we certainly want to go to at minimum However, I was having a discussion with @lukasheinrich yesterday and he does have interest in differentiable jet finding, so maybe it could really be useful... |
that's an interesting idea -- I never thought about the differentiability of anti-kT, what are some possible applications? I'm thinking about in terms of what is {y} and {x} in the gradient of d{y}/d{x}? |
Wouldn't it be more like |
I thought about them but then it doesn't make that much sense to me -- dR is probably scanned / optimized for something, I don't see us pushing a different dR through ATLAS as the new "ak4". dp is more weird, I guess technically it's a continuous variable, but -2, -1, -0.5, 0, 1, 2 are somewhat special -- also, if we use anything non-integer and non-0.5, running them in HLT will be super slow.... |
Betraying its R&D origin (😊) our jet types are currently locked down to
Float64
. Time to change this! We should have parameterised typesT where T <: Real
.To be fair, integer types don't make much sense, but, e.g., ForwardDiff states The target function must be written generically enough to accept numbers of type T<:Real as input.
The text was updated successfully, but these errors were encountered: