root
root copied to clipboard
Usage of ROOT::Math::LorentzVector in TGenPhaseSpace
Explain what you would like to see improved
Since TLorentzVector is stated as legacy class it would be nice to have TGenPhaseSpace use the newer ROOT::Math::LorentzVector.
Optional: what do you think how this could be done
Either by overloading the SetDecay and adding a private array of ROOT::Math::LorentzVector, or by having a 2nd version of TGenPhaseSpace with ROOT::Math::LorentzVector instead of TLorentzVector.