The only thing it was different to your example is that I am using CINT to compile. That shouldn’t make a big difference, right?
Maybe all my ordeal is because I try so many things at once before i got to the working version. The solution came to me after I looked at the following post:
Cheers,