Re: [ROOT] Where can I find AIDA interface?

From: Exaos Lee (schlie@iris.ciae.ac.cn)
Date: Mon Feb 09 2004 - 20:30:59 MET


Thank you, Julius.
After rename and gunzip, I got the xxx.aida file something like this
------
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE aida SYSTEM "http://aida.freehep.org/schemas/3.2.1/aida.dtd">
<aida version="3.2.1">
   <implementation version="1.1" package="FreeHEP"/>
   <histogram1d name="Drift Chamber 1 # Hits" path="/"
     title="Drift Chamber 1 # Hits">
     <annotation>
       <item key="Title" value="Drift Chamber 1 # Hits"
         sticky="true"/>
     </annotation>
------

Because it is an XML file and there is the dtd file, maybe we can wrtie 
some code that can convert AIDA xml datafile to root format. As we know, 
Xerces-C++ is a validating XML parser written in a portable subset of 
C++. Maybe we can benefit from it.

Julius Hrivnac wrote:
> Hi,
> 
>>> The second question, how to convert an <xxxx.aida> file into a 
>>> <xxxx.root> file?
>>
>> There is nothing like xxxx.aida file. 
> 
> 
> Well, there is. It is an AIDA file. It is in fact a compressed XML file,
> if you uncompress it (gunzip), you will see its content. AIDA files are
> directly readable by all AIDA-aware frameworks.
> 
> I'm not aware about any aida->root converter. There are root->aida
> converters.
> 
>               Julius



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET