Skip to content

ISF_Event : try to rm the last const_cast

ISF_Event : try to rm the last const_cast

@jchapman I was trying to understand the logic of the code here.

The update methods stays as such , i.e when we either do not have a binding or the binding has no GenParticle attached.

I changed the method with the const_cast. if the GenParticle is there we return it, other wise we call the update method.

As far as I could tell this could actually work .... I hope the CI has the relevant test .

ping also @fwinkl

Merge request reports