Fix Lb2Lee model (based on work from Michal Kreps for EvtGen)
Port changes described in https://phab.hepforge.org/D84 to fix RareLb2Lll decay model for Lb2Lee mode for the EvtGen used in Sim09. Additionally includes small changes to speed up the code (such as replacing some pointers by references and including const assignments).
A test based on the nightlies (thanks to Gloria!) worked.
- I simulated the eventtype combinations of Lb2Lee/Lb2Lmm and LQCD/PHSP with ParticleGun
- Determined q2 requiring q2>0.1 (to remove the photon pole for electrons)
- Normalised the histograms
I find that the LQCD Lmm and Lee look the same, as expected, and look very different from PHSP, as expected. As far as I know I think we can now merge this MR @kreps @gcorti
Shown below are Lb2Lmm LQCD (green) and Lb2Lee LQCD (blue), Lb2Lmm PHSP (red) and Lb2Lee PHSP (black).
For completeness, the model without cut on q2 looks like this, also as expected:
Thanks for @kreps for implementing these fixes in EvtGen!
Edited by Mick Mulder