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 do test the FMD digitization class.
22 gEnv->SetValue("Root.Html.SourceDir", "$(ALICE)/FMD");
23 gEnv->SetValue("Root.Html.OutputDir", "$(ALICE)/FMD/html");
25 gSystem->MakeDirectory("$(ALICE)/FMD/html");
27 THtml* html = new THtml;
28 html->MakeAll(kFALSE, "AliFMD*");
29 html->Convert("$(ALICE)/FMD/Digitize.C", "Digitize",
31 html->Convert("$(ALICE)/FMD/Reconstruct.C", "Reconstruct",
33 html->Convert("$(ALICE)/FMD/Simulate.C", "Simulate",
35 html->Convert("$(ALICE)/FMD/DrawFMD.C", "DrawFMD",
37 html->Convert("$(ALICE)/FMD/ViewFMD.C", "ViewFMD",
39 html->MakeIndex("AliFMD*");
41 std::ofstream index("FMD/html/index.html");
42 html->WriteHtmlHeader(index, "ALICE FMD Code - Index page");
44 index << "<h1>ALICE FMD Code</h1>\n"
46 << "<li><a href=\"USER_Index.html\">Classes</a></li>\n"
47 << "<li><a href=\"src/Digitize.C.html\">Digitize script</a></li>\n"
48 << "<li><a href=\"src/Reconstruct.C.html\">Reconstruct script</a></li>\n"
49 << "<li><a href=\"src/Simulate.C.html\">Simulate script</a></li>\n"
50 << "<li><a href=\"src/DrawFMD.C.html\">DrawFMD script</a></li>\n"
51 << "<li><a href=\"src/ViewFMD.C.html\">ViewFMD script</a></li>\n"
54 html->WriteHtmlFooter(index, "", "", "", "");