]> git.uio.no Git - u/mrichter/AliRoot.git/blame - macros/mkhtml.C
Initialize decayer before generation. Important if run inside cocktail.
[u/mrichter/AliRoot.git] / macros / mkhtml.C
CommitLineData
fe4da5cc 1void 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;
0198c392 11 TStopwatch timer;
12 timer.Start();
fe4da5cc 13 if(macro) {
14 gROOT->LoadMacro(macro);
15 html.Convert(macro,"Example Macro");
16 } else {
4d18ed58 17 gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRALICE");
fe4da5cc 18 html.MakeAll(force);
19 }
0198c392 20 timer.Stop();
21 timer.Print();
fe4da5cc 22}