Ok, so I had forgotten to put the appropriate LinkDef.h file with the pragma link line.
It works now (well up to the point that I can compile it and run it, but I can not seem to fill the tree: see next post - Correct way to fill TTree using a variable class)!