The Documentation of TObject suggests, that it’s possible to combine Write() options:
In fact it isn’t, is it? One has to call gDirectory->WriteTObject() instead, as TObject::Write() itself does it.
Correct me, if i’m wrong. Kind regards. Johannes Kissel.
Hi,
For TObject::Write you need to combine the option using the binary or (|) operator (or you can use TDirectory::WriteTObject if you prefer the string concatenation style).
Cheers, Philippe
Works fine, thanks. Johannes.