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

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Tue Feb 10 2004 - 17:28:17 MET


Hi Exaos,
I'm not a user of AIDA. I woud like to ask you as AIDA user:
 - which features of AIDA are missing in ROOT? or how
    ROOT can be improved in comparison with AIDA (ideas, interface etc.)?
- what is advantage/idea of using IAnalysisFactory?
- I see you are using paw files. I think it's quite easy to add to ROOT
  "embedded" support of PAW files. How critical to you is
   keeping data in PAW files?

Regards. Valeriy

++
concerned AIDA developers. I'd like to look at AIDA code
 http://aida.freehep.org/servlet/aidacvs/list/aida
Seems the sources are missing there.


> Hi Exaos,
> 
> If you use ROOT directly, you do not need any histogram factory.
> You can call directly the ROOT histograming package.
> See examples in tutorials hsimple.C, hsum.C, etc
> 
> 
> >The second question, how to convert an <xxxx.aida> file into a 
> ><xxxx.root> file?
> 
> There is nothing like xxxx.aida file. If the aida backend is hbook,
> aida produces a hbook file. If the aida backend is ROOT, aida produces
> a ROOT file directly.
> You can convert a hbook file to ROOT via h2root
>   h2root file.hbook file.root
> 
> Rene Brun
> 
> Exaos Lee wrote:
> > 
> > Dear ROOTer,
> > I want to change some codes based on AIDA to root as the following
> > ----
> > ...
> > // Creating the analysis factory
> > AIDA::IAnalysisFactory* af = AIDA_createAnalysisFactory();
> > 
> > // Creating the tree factory
> > AIDA::ITreeFactory* tf = af->createTreeFactory();
> > 
> > ...
> > AIDA::ITree* tree = tf->create("testaa.paw", "hbook", readOnly=false,
> > createNew = true);
> > 
> > // Creating a historam factory
> > AIDA::IHistogramFactory* hf = af->createHistogramFactory(*tree);
> > ...
> > -----
> > What are the corresponding classes in ROOT to AIDA::IAnalysisFactory,
> > AIDA::ITreeFactory and AIDA::IHistogramFactory?
> > 
> > The second question, how to convert an <xxxx.aida> file into a
> > <xxxx.root> file?
> > 
> > Regards.
> > 
> > Exaos
> 
> 



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