RE: TopDrawer files in ROOT?

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Thu, 16 Jun 2005 17:15:42 +0200


Hi David,

.tp files are not included in ROOT. But as you said they seem to be very simple ASCII files. I don't think you even need a class to translate a .tp file in a list of TGraph(s). You can write a simple macro file (.C) which reads the .tp file and creates the corresponding TGraph(s). Later on, depending on users requests and the completeness of your prototype, we may consider to include it in the ROOT distribution.

Cheers, Olivier

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of David Palao
Sent: Thursday, June 16, 2005 4:51 PM
To: roottalk_at_pcroot.cern.ch
Subject: Re: [ROOT] TopDrawer files in ROOT?

Hi, thank you, Olivier,  for the reply.
TopDrawer (or just top) is an old application that makes graphs. The .tp files are just plain text. This text includes the description of a graph and the data itself. The attached file is one example, which contains 2 plots.
The format is simple, I figure out that one could write a class for getting that information and translate into ROOT format, but as I'm begining with this technology, I don't know if .tp format is already included in ROOT...
Regards

David


El Jueves, 16 de Junio de 2005 13:55, escribió:

> Hi,
>
> What are exactly these .pt files ? image files ? histogram files ?
> can you tell more about it ?
>
> Thanks, O.Couet
>
> ---------------------------------------
> Hi everybody!
> I'm newbie with ROOT (BTW, it's been a nice surprise to discover it!).
>
> The problem I got is about TopDrawer files (.tp). I've tried, but I
> couldn't make ROOT reading them...
> anyone can help me, please?
>
> Thank's in advance!
>
> Regards
Received on Thu Jun 16 2005 - 17:15:49 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET