#ifndef MYTF1 #define MYTF1 #include "TF1.h" //____________________________________________________________________ class MyTF1 : public TF1 { public: MyTF1() {}; MyTF1(const char *name, const char *formula, Double_t from, Double_t to, const char *option) : TF1(name, formula, from, to, option) {}; using TF1::TF1; using TF1::GetRandom; Double_t GetRandom(); }; //_________________________________________________________________ #endif