TTree and ClassDef to write to TFile

Please provide the following information:


ROOT Version (e.g. 6.10/06):
Platform, compiler (Ubuntu gcc5.4):


If understood correctly, one should be able to fill a TTree’s branch with objects that do no specify a ClassDef. But can we then write the TTree to disk ? Is there anything to pay attention to for this to work ?

Hi Steve,

correct, the only requirement for classes instances to be written is to have dictionaries for the classes.

Cheers,
Danilo

Thanks for the confirmation