#ifndef _test_class_h #define _test_class_h #include #include "TNamed.h" class test_class { public: Int_t track_length=0; Float_t *v1 = nullptr; //[track_length] Float_t *v2 = nullptr; //[track_length] test_class() { cout << "default constr" << endl; } test_class(Float_t *x, Float_t *y, Int_t tl) { v1 = x; v2 = y; track_length = tl; }; void Set(Float_t *x, Float_t *y, Int_t tl) { v1 = x; v2 = y; track_length = tl; }; }; #endif