[quote]The implementation has to be inside the class ! (before the end of the class “};”)
(Otherwise some “Multiple Definition” error messages appear…) [/quote]A priori this is not required. You could move the implementation to a source file or if you move them outside the class declaration, do not forget to pre-pend the implementation with the keyword inline
[quote]The include/linkdef.h file just contains:…[/quote]Actually you may want to request the ‘new’ I/O by appending a + sign:#ifdef __CINT__
#pragma link C++ class TMyRootEvent+;
#endif
Cheers,
Philippe.