1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 // Script to document the FMD code
19 /** @ingroup simple_script
24 gEnv->SetValue("Root.Html.SourceDir", "$(ALICE)/FMD");
25 gEnv->SetValue("Root.Html.OutputDir", "$(ALICE)/FMD/html");
27 gSystem->MakeDirectory("$(ALICE)/FMD/html");
29 THtml* html = new THtml;
30 html->MakeAll(kFALSE, "AliFMD*");
31 html->Convert("$(ALICE)/FMD/Digitize.C", "Digitize",
33 html->Convert("$(ALICE)/FMD/Reconstruct.C", "Reconstruct",
35 html->Convert("$(ALICE)/FMD/Simulate.C", "Simulate",
37 html->Convert("$(ALICE)/FMD/DrawFMD.C", "DrawFMD",
39 html->Convert("$(ALICE)/FMD/ViewFMD.C", "ViewFMD",
41 html->MakeIndex("AliFMD*");
43 std::ofstream index("FMD/html/index.html");
44 html->WriteHtmlHeader(index, "ALICE FMD Code - Index page");
46 index << "<h1>ALICE FMD Code</h1>\n"
48 << "<li><a href=\"USER_Index.html\">Classes</a></li>\n"
49 << "<li><a href=\"src/Digitize.C.html\">Digitize script</a></li>\n"
50 << "<li><a href=\"src/Reconstruct.C.html\">Reconstruct script</a></li>\n"
51 << "<li><a href=\"src/Simulate.C.html\">Simulate script</a></li>\n"
52 << "<li><a href=\"src/DrawFMD.C.html\">DrawFMD script</a></li>\n"
53 << "<li><a href=\"src/ViewFMD.C.html\">ViewFMD script</a></li>\n"
56 html->WriteHtmlFooter(index, "", "", "", "");