#include "TObject.h" #include namespace TestInfo { class TestClass : public TObject { public: TestClass(float i = 0); TestClass(const TestClass &in); TestClass& operator=(const TestClass &in); ~TestClass() {} const int &i() {return this->index;} private: int index; public: ClassDef(TestClass,1); // My TestClass in my TestInfo namespace }; std::vector Func(float num, int N); };