Re: [ROOT] Two questions

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Apr 26 2004 - 19:53:16 MEST


Peter,

On Mon, 26 Apr 2004, Peter H Fisher wrote:

> Hi Rooters,
> 
> I have two probably obvious questions:
> 
> 1. Sometimes if I load a shared library in a macro, i.e.,
> 
> void test()
> {
> 	gROOT->LoadMacro("mystuff.c++");
> }
> it does not work properly.  I am not clear just what happens in the
> loading process.  Can someone tell me where this is documented?

Could you elaborate on what does not work?
Anyhow, we recommend to use
      gROOT->ProcessLine(".L mystuff.c++");

> 
> 2. I am using THtml to make documentation pages for a shared library I
> have (attached), but the doc. for the methods does not show up.  I use
> 
> THtml html;
> html.MakeClass("Rnu");
> html.MakeIndex("Rnu");
> 
> I've tried using ExtractClassDocumentation, but to no avail.  Does anyone
> have a good example?

You should instrument your class with a ClassDef statement (see ROOT 
classes)

Rene Brun

> 
> Bst,
> 
> Peter
> 
> Peter Fisher                                   Office 617-253-8561
> Professor of Physics                           Fax    617-253-4100
> 44-118 MIT	                               email  fisherp@mit.edu
> Cambridge, MA, 02139



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