Hi. Sorry for annoying you again.
I created a class vertex.h “copying and pasting” the structure of old working classes and I got a Symbol lookup error. We verified this is a “machine independent” problem (different laptops reproduce the same error). I even tried (old forum posts about the same error)
‘’‘gSystem->Load(“vertex”) ‘’’
after compiling the class but I don’t have a vertex.so file (I don’t know why and I never did something like this so maybe this is nonsense ). My class inherits from TObject and uses only iostream, TRandom3, TMath and TString.
The other “custom classes” are automatically treated in the right way from ROOT without my assistance…
We managed to make it work on a laptop. Yes there should be a .x instead of a .L but we also had a problem with TRandom. ROOT didn’t liked things like
“u=Rndm();” in the class implementation. With u=gRandom->Rndm() now it works.
Thanks