#include #include #include //#include #include #include #include #include #include #include #include #include #include //#include #include #include #include #include #include #include #include #include #include #include #ifndef RANGEN_H #define RANGEN_H using std::vector; class RanGen: public TRandom3{ public: RanGen(Int_t seed=0); ~RanGen(); Double_t Gamma(Int_t n, Double_t theta); vector Dirichlet(Int_t n, vector x); vector Multinomial(Int_t n, vector p); Int_t Binomial(Int_t n, Double_t p); Double_t Beta(const Int_t a, const Int_t b); // private: ClassDef(RanGen, 1); }; #endif