root icon indicating copy to clipboard operation
root copied to clipboard

Usage of ROOT::Math::LorentzVector in TGenPhaseSpace

Open mhemmer-cern opened this issue 3 years ago • 0 comments

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.

mhemmer-cern avatar Sep 01 '22 10:09 mhemmer-cern