StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rootlogon.C
1 {
2  gSystem->Load("libStarClassLibrary");
3  gSystem->Load("libGeom");
4  gSystem->Load("libTable");
5  gSystem->Load("libPhysics");
6  gSystem->Load("libEG");
7  gSystem->Load("libStarRoot");
8 
9  if (gSystem->GetLibraries("*libTable*"))
10  {
11  gInterpreter->ProcessLine("typedef TCL StCL;");
12  gInterpreter->ProcessLine("typedef TDataSet St_DataSet ;");
13  gInterpreter->ProcessLine("typedef TDataSetIter St_DataSetIter;");
14  gInterpreter->ProcessLine("typedef TFileSet St_FileSet;");
15  gInterpreter->ProcessLine("typedef TVolume St_Node;");
16  gInterpreter->ProcessLine("typedef TVolumePosition St_NodePosition;");
17  gInterpreter->ProcessLine("typedef TVolumeView St_NodeView;");
18  gInterpreter->ProcessLine("typedef TVolumeViewIter St_NodeViewIter;");
19  gInterpreter->ProcessLine("typedef TObjectSet St_ObjectSet;");
20  gInterpreter->ProcessLine("typedef TPoints3D St_Points3D;");
21  gInterpreter->ProcessLine("typedef TPointsArray3D St_PointsArray3D;");
22  gInterpreter->ProcessLine("typedef TPolyLineShape St_PolyLineShape;");
23  gInterpreter->ProcessLine("typedef TTable St_Table;");
24  gInterpreter->ProcessLine("typedef TTable3Points St_Table3Points;");
25  gInterpreter->ProcessLine("typedef TTableIter St_TableIter;");
26  gInterpreter->ProcessLine("typedef TTablePoints St_TablePoints;");
27  gInterpreter->ProcessLine("typedef TTableSorter St_TableSorter;");
28  gInterpreter->ProcessLine("typedef TTableDescriptor St_tableDescriptor;");
29  }
30 
31  std::cout << " *** Start at Date : " << TDatime().AsString() << std::endl;
32 
33  gInterpreter->AddIncludePath(".");
34  gInterpreter->AddIncludePath("./.$STAR_HOST_SYS/include");
35  gInterpreter->AddIncludePath("./StRoot");
36  gInterpreter->AddIncludePath("$STAR/.$STAR_HOST_SYS/include");
37  gInterpreter->AddIncludePath("$STAR/StRoot");
38  gInterpreter->AddIncludePath("/usr/include/mysql");
39 }