Re: Getting a primitive from a sub pad

From: OKUMURA, Akira <oxon_at_astro.isas.jaxa.jp>
Date: Sun, 10 Jul 2011 23:32:16 -0700


Hello Olivier,

Thank you for your advice. But as I wrote,

> But I have thousands of ROOT files, I do not want to draw each TCanvas.

there are so many files already created. So if possible, I would like to access the sub pad in batch mode or similar way. Is this impossible?

Regards,

--
OKUMURA, Akira oxon@{astro.isas.jaxa.jp,stanford.edu}
Institute of Space and Astronautical Science (ISAS/JAXA)
Now at KIPAC/SLAC/Stanford
Varian Physics #306, 382 Via Pueblo Mall, MC 4060
Stanford, CA 94305-4060
TEL 650-736-0971/FAX 650-724-5065
Skype : okumura.akira

On 2011/07/10, at 21:14, Olivier Couet wrote:


> If you do
>
> can->Draw();
>
> Just after
>
> TCanvas* can = (TCanvas*)f.Get("can")
>
>
> Then it works.....
>
> On 7/11/11 2:36 AM, "OKUMURA, Akira" <oxon_at_astro.isas.jaxa.jp> wrote:
>
>> TCanvas* can = (TCanvas*)f.Get("can")
>
Received on Mon Jul 11 2011 - 08:32:32 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 11 2011 - 11:50:01 CEST