Problem with std::vector<> of custom objects and CMake

Hola, I am more confused now. It seems tat you are mixing compilation problems ( ATHoughSpace’ has no member named ‘GetXCenter’), with linking problems (additional libraries that you need to use), with runtime problems (the actual data file may not contain what you think it contains).
Can you make your input file ( output.root !) available some where such that we can have a look of what it actually contains.