Do I really have to use the ClassImp
macro to benefit the automatic dictionary and streamer generation in ROOT? Some online tutorials and examples mention it but I noticed that simply adding the ClassDef(MyClass, <ver>)
macro to MyClass.h
and processing it with rootcint/rootcling
already generates most of such code.
I did look at Rtypes.h
where these macros are defined but to follow preprocessor macros calling each other is not easy and so, it would be nice if experts could confirm the role of ClassImp
. I am specifically interested in recent versions of ROOT >= 5.34