]>
Commit | Line | Data |
---|---|---|
1 | void mkhtml (char *macro=0, Int_t force=0) { | |
2 | // to run this macro, you must have the correct .rootrc file | |
3 | // in your galice directory. | |
4 | // The gAlice classes summary documentation go to directory html | |
5 | // The gAlice classes source documentation go to directory html/src | |
6 | // The example macros documentation go to directory html/examples | |
7 | ||
8 | // gROOT->LoadMacro("loadlibs.C"); | |
9 | // loadlibs(); | |
10 | THtml html; | |
11 | TStopwatch timer; | |
12 | timer.Start(); | |
13 | if(macro) { | |
14 | gROOT->LoadMacro(macro); | |
15 | html.Convert(macro,"Example Macro"); | |
16 | } else { | |
17 | gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRALICE"); | |
18 | html.MakeAll(force); | |
19 | } | |
20 | timer.Stop(); | |
21 | timer.Print(); | |
22 | } |