Re: How to register ROOT object read from python pickle

From: Benjamin Bannier <bbannier_at_gmail.com>
Date: Tue, 11 Jan 2011 23:54:55 -0500


Hi Tim,

> Try:
>
> h.SetDirectory(r.gDirectory)

Great, that's what I was looking for.

> Out of curiosity, why do you bother with being able to retrieve things
> using the root gDirectory etc mechanism and don't store things in a
> dictionary?

I am invoking CINT macros beyond my control via gROOT.ProcessLine in python. I need them to know about the unpickled objects.

Thank you for your help,

Benjamin

Received on Wed Jan 12 2011 - 05:55:05 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 12 2011 - 11:50:01 CET