Re: [ROOT] MakeClass for all objects

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Dec 06 2002 - 08:19:15 MET


Hi Volodja,

Yes, see TFile::MakeProject

For example:
  TFile f("myfile.root");
  f.MakeProject("subdir","*","recreate++");

will open the file myfile.root, create a subdirectory
of your current directory called "subdir", generate a .h file
for each class in the file , generate a shared library with all these
classes and dynamically link this library.

Rene Brun

On Fri, 6 Dec 2002 babintsev@mx.ihep.su wrote:

> 
>  Hello,
>  there is the possibility to make a class structure from  a tree:
>    T->MakeClass("my")
>  is there something like this for all objects in any root-file
>  or chain ? (the case: I do not know what the f.root file contains..)
> 
> 
>                                    Volodja Babintsev
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:22 MET