#ifndef ROOT_TGenPhaseSpace
#define ROOT_TGenPhaseSpace
#include "TLorentzVector.h"
class TGenPhaseSpace : public TObject {
private:
Int_t fNt;
Double_t fMass[18];
Double_t fBeta[3];
Double_t fTeCmTm;
Double_t fWtMax;
TLorentzVector fDecPro[18];
Double_t PDK(Double_t a, Double_t b, Double_t c);
public:
TGenPhaseSpace(): fNt(0), fMass(), fBeta(), fTeCmTm(0.), fWtMax(0.) {}
TGenPhaseSpace(const TGenPhaseSpace &gen);
virtual ~TGenPhaseSpace() {}
TGenPhaseSpace& operator=(const TGenPhaseSpace &gen);
Bool_t SetDecay(TLorentzVector &P, Int_t nt, const Double_t *mass, Option_t *opt="");
Double_t Generate();
TLorentzVector *GetDecay(Int_t n);
Int_t GetNt() const { return fNt;}
Double_t GetWtMax() const { return fWtMax;}
ClassDef(TGenPhaseSpace,1)
};
#endif