Add EvtD0ToKspipi DP model, courtesy of Camille Normand (LHCb).
Details
Details
- Reviewers
abudinen kreps tlatham - Commits
- rEVTGEN4df81c6b805b: Add EvtD0ToKspipi DP model.
Decay model reviewed by LHCb in https://gitlab.cern.ch/lhcb/Gauss/-/merge_requests/1051
Diff Detail
Diff Detail
- Repository
- rEVTGEN evtgen
- Branch
- R02-02-00-patches
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 313 Build 313: arc lint + arc unit
Event Timeline
Comment Actions
In the context of the thread-safety work, Fernando has been able to make EvtDalitzReso::evaluate a const function. If we were to cherry-pick those changes here we could avoid the copy of each of the EvtDalitzReso instances in EvtD0ToKspipi::calcTotAmp. What do you think?
src/EvtGenModels/EvtD0ToKspipi.cpp | ||
---|---|---|
155–161 | This makes it a bit more readable I think. If we do include the changes to EvtDalitzReso to make the evaluate function const, the auto can become auto& to avoid the copy. |
Comment Actions
Yes, adding the const functions would be good, then we can simplify retrieving the resonances for the total amplitude as suggested. What is the specific git commit I should use?